Can we run unix shell commands from hive? Give example?
Answer / Sachin Gupta
Yes, you can run Unix shell commands from Hive using the ! operator. Here's an example:nn!ls /path/to/your/directory;nThis command lists all files and directories in the specified path.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to add the partition in existing table without the partition table?
Why is Hive not suitable for OLTP systems?
What is Hive ?
What is a Hive Metastore?
Explain Data Type Conversion in Hive?
What will be the result when you do cast(‘abc’ as int)?
List the various options available with the Hive command?
What is SerDe in Apache Hive ?
What is Hive Present Version ?
How to load data into table created in hive ?
In case of embedded Hive, can the same metastore be used by multiple users?
What is CTE Table in Hive?
Apache Hadoop (394)
MapReduce (354)
Apache Hive (345)
Apache Pig (225)
Apache Spark (991)
Apache HBase (164)
Apache Flume (95)
Apache Impala (72)
Apache Cassandra (392)
Apache Mahout (35)
Apache Sqoop (82)
Apache ZooKeeper (65)
Apache Ambari (93)
Apache HCatalog (34)
Apache HDFS Hadoop Distributed File System (214)
Apache Kafka (189)
Apache Avro (26)
Apache Presto (15)
Apache Tajo (26)
Hadoop General (407)