Hadoop: installation problems -
i have installed hadoop, have set java_home, still getting error, why?
/opt/hadoop/2.5.1/sbin: $java_home -bash: /opt/java/6.0: directory /opt/hadoop/2.5.1/sbin: ./start-dfs.sh starting namenodes on [localhost] localhost: error: java_home not set , not found. localhost: error: java_home not set , not found. starting secondary namenodes [0.0.0.0] 0.0.0.0: error: java_home not set , not found. /opt/hadoop/2.5.1/sbin:
if try:
sh start-dfs.sh start-dfs.sh: 82: /opt/hadoop/2.5.1/sbin/../libexec/hadoop-config.sh: syntax error: word unexpected (expecting ")")
use bash , not sh invoke scripts. solved problem.
Comments
Post a Comment