how to perform hdfs string search recursively in hdfs code example
Example 1: how to perform hdfs string search recursively in hdfs
# How to perform hdfs string search recursively in hdfs
hadoop fs -cat /hive-data/* | grep -i pattern
Example 2: how to perform hdfs string search recursively in hdfs
# How to recursively find a file in the Hadoop Distributed file system hdfs:
hdfs dfs -ls -R / | grep [search_term]