80346/typing-command-getting-could-caused-classnotfoundexception
Hi,
I think fs command comes under Hadoop, not HDFS. So instead of using hdfs fs command, you can use hadoop fs. You need to change your command as shown below.
You can either run
$ hdfs dfs -mkdir or $ hadoop fs -mkdir
@Premkumar,
What happens if you execute: hadoop version ?
There may be two possibilities:
It's safe to ignore this warning.
Make sure you have these two lines in your .bashrc file:
export HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_HOME/lib/native export HADOOP_OPTS="-Djava.library.path=$HADOOP_HOME/lib
Hi, @premkumar,
ideally, you should be using hdfs dfs instead, You can use this
Usage:
hdfs dfs -mkdir [hdfs location]
Hey, @premkumar,
Could you mention the steps you followed to install Hadoop?
Hi@Premkumar,
Can you please paste your core-site.xml file entry?