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
$ hadoop fs -mkdir
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:
ideally, you should be using hdfs dfs instead, You can use this
hdfs dfs -mkdir [hdfs location]
Could you mention the steps you followed to install Hadoop?
Can you please paste your core-site.xml file entry?
First, change your core-site.xml property as shown below.
And regarding your warning part, It will not affect your Hadoop configuration. But you can remove this part also. You need to add the HADOOP_OPTS value in the .bashrc file.
export HADOOP_OPTS="$HADOOP_OPTS -Djava.library.path=$HADOOP_HOME/lib/native"
The error seems like the problem is ...READ MORE
It looks like a path issue, ...READ MORE
You have to add HADOOP_CLASSPATH environment parameter:
expor ...READ MORE
This seems like a path issue.
Add the ...READ MORE
Firstly you need to understand the concept ...READ MORE
org.apache.hadoop.mapred is the Old API
org.apache.hadoop.mapreduce is the ...READ MORE
You can create one directory in HDFS ...READ MORE
In your case there is no difference ...READ MORE
According to your configuration, you didn't set ...READ MORE
Hadoop builds on top of Java. So ...READ MORE
Already have an account? Sign in.