Can we run unix shell commands from the hive? Give example?



Can we run unix shell commands from the hive? Give example?..

Answer / Laxmi Dixit

Yes, you can run Unix shell commands from Apache Hive using the ! operator. For example: SELECT !ls /tmp; This command will list all files in the /tmp directory.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Hive Interview Questions

Can we say cogroup is a group of more than 1 data set?

1 Answers  


What is skew data in hive?

1 Answers  


How Hive organize the data?

1 Answers  


What is the functionality of Query Processor in Apached Hive ?

1 Answers  


What are the advantages and Disadvantages in archieving partition in Hive?

1 Answers  


What will be the result when you do cast(‘abc’ as int)?

1 Answers  


What is CTE Table in Hive?

1 Answers  


Can you give us some examples, how Hadoop is used in real time environment?

1 Answers  


What are the components of a Hive query processor?

1 Answers  


Differentiate between PigLatin and Hive?

1 Answers  


What is the difference between sort by and order by in hive?

1 Answers  


What is a Hive variable? What for we use it?

0 Answers  


Categories