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

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.

Related questions

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