Reputation: 183
I have installed Hadoop on single node. While executing hadoop fs -ls
i'm getting below:
WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Upvotes: 0
Views: 239
Reputation: 3374
As @franklinsijo said, it is just a warning, it won't affect your activities.
Coming to your hadoop fs -ls It says '.' is not a directory
If you execute hadoop fs -ls
, it means hadoop fs -ls /user/your_user_id
. It will show files from your home dir. So If you put any files in your home, then only it will list the files.
So try by giving the path like hadoop fs -ls /
or hadoop fs -ls /user/
Upvotes: 1
Reputation: 509
Can you try to list the directory. You can try with "hadoop fs - ls /"
Or try creating one hadoop fs -mkdir /test
Upvotes: 0