How to transfer data from Hive to HDFS?
Answer / Subhash Chandra Verma
To transfer data from Hive to HDFS, you can use the Hive command 'INSERT OVERWRITE hdfs' followed by the file path in HDFS. Here is an example:
```sql
INSERT OVERWRITE DIRECTORY '/user/hive/default/output/'
SELECT * FROM your_hive_table;
```
| Is This Answer Correct ? | 0 Yes | 0 No |
How does hdfs provides good throughput?
How one can format Hadoop HDFS?
What is the difference between input split and hdfs block?
Data node block size in HDFS, why 64MB?
In HDFS, how Name node determines which data node to write on?
Why does hive not store metadata information in hdfs?
If data is present in HDFS and RF is defined, then how can we change Replication Factor?
Which classes are used by the hive to read and write hdfs files?
What are problems with small files and hdfs?
How do you do a file system check in hdfs?
What do you mean by metadata in HDFS?
File permissions in HDFS?
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)