Categories

Jan 12 in Big Data | Hadoop

Q: How will you recursively access sub-directories in Hive?

1 Answer

Jan 12

We can use following commands in Hive to recursively access sub- directories:

hive> Set

mapred.input.dir.recursive=true;

hive> Set

hive.mapred.supports.subdirectories=true

Once above options are set to true,

 

Hive will recursively access sub- directories of a directory in MapReduce.

Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

Madanswer
Jan 12 in Big Data | Hadoop
Oct 7 in jQuery
Jan 11 in Big Data | Hadoop
...