Which classes are used by the hive to read and write hdfs files?



Which classes are used by the hive to read and write hdfs files?..

Answer / Hanish Kumar Arora

Hive uses classes like org.apache.hadoop.fs.FileSystem, org.apache.hadoop.mapred.JobConf, and org.apache.hadoop.hive.ql.exec.FileSinkOperator to read and write HDFS files.n

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache HDFS Hadoop Distributed File System Interview Questions

Define data integrity? How does hdfs ensure data integrity of data blocks stored in hdfs?

1 Answers  


Differentiate HDFS & HBase?

1 Answers  


Data node block size in HDFS, why 64MB?

1 Answers  


Define HDFS and talk about their respective components?

1 Answers  


Write command to copy a file from HDFS to linux(local).

1 Answers  


What is the difference between MapReduce engine and HDFS cluster?

1 Answers  


What is hdfs block size?

1 Answers  


What is active and passive NameNode in HDFS?

1 Answers  


Define hadoop archives? What is the command for archiving a group of files in hdfs.

1 Answers  


What is the difference between an input split and hdfs block?

1 Answers  


Explain how indexing is done in hdfs?

1 Answers  


Does HDFS allow a client to read a file which is already opened for writing in hadoop?

1 Answers  


Categories