Reputation: 21
I encoutered this problem while trying to launch sqoop. I got an error:
gurung@ubuntu:~$ sqoop;
Error: /usr/local/sqoop/bin/../../hadoop-mapreduce does not exist!
Please set $HADOOP_MAPRED_HOME to the root of your Hadoop MapReduce installation.
gurung@ubuntu:~$ export $HADOOP_MAPRED_HOME=/usr/local/hadoop
bash: export: `=/usr/local/hadoop': not a valid identifier
Any advice and help would be appreciated!!
bj
Upvotes: 1
Views: 6621
Reputation: 7108
There is a typo. You don't have to add the $
before the variable name when you use export
.
export HADOOP_MAPRED_HOME=/usr/local/hadoop
Upvotes: 3