in Big Data | Hadoop by (31.7k points)
How will you recursively access sub-directories in Hive?

1 Answer

0 votes
by (23.9k points)

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.

Related questions

0 votes
asked Jan 12, 2020 in Big Data | Hadoop by sharadyadav1986 (31.7k points)
0 votes
asked Apr 1, 2020 in Big Data | Hadoop by AdilsonLima (6.3k points)
0 votes
asked Apr 24, 2020 in Big Data | Hadoop by Hodge (2.6k points)
...