I try to copy one file from my local system to hdfs (single node cluster) using this command:
hadoop fs -copyFromLocal /home/hduser/TestEmp.txt /test
It gives me message like:
WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable copyFromLocal: file /test/TestEmp.txt.COPYING on client 127.0.0.1.
But when I checked in /test, I didn't find anything there.
Why?
hdfs dfs -ls /and send the result. - Sandeep Singhhdfs namenode -formatthen try to copy data again. If still facing issue,share screen shot. We want to see how you are doing. - Sandeep Singh