in Big Data | Hadoop by
Q:
How will you recursively access sub-directories in Hive?

▼ Show 1 Answer

0 votes
by

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.

Learn More with Madanswer

Related questions

0 votes
asked Jan 12, 2020 in Big Data | Hadoop by sharadyadav1986
...