I have around 1 million small files that i wanted to transfer from local to hdfs. I am getting the below error.
Command: hadoop fs -put path/* hdfspath/
/usr/bin/hadoop: Argument list too long
Options tried
1. Increased GCOverheadLimit
2. increased ulimit -s to 102 mb.
None of the options were successful. Can anyone please assist me?