hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brahma Reddy Battula <brahmareddy.batt...@huawei.com>
Subject RE: Hadoop 2.6.0 Error
Date Wed, 25 Mar 2015 06:52:48 GMT
Instead of exporting the JAVA_HOME, Please set JAVA_HOME in system level ( like putting in

For more details please check the following jira.


Thanks & Regards

 Brahma Reddy Battula

From: Anand Murali [anand_vihar@yahoo.com]
Sent: Wednesday, March 25, 2015 11:23 AM
To: User Hadoop
Subject: Hadoop 2.6.0 Error

Dear All:

Request help/advise as I am unable to start Hadoop. Performed follow steps in Ubuntu 14.10

1. ssh localhost
2. Did following exports in user defined hadoop.sh and ran it succesfully
    1. EXPORT JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
    2. EXPORT HADOOP_INSTALL=/home/anand_vihar/hadoop-2.6.0
3. Tested hadoop version succesfully
4. Ran $hadoop namenode -format successfully
5. Modified core-site.xml, hdfs-site.xml and mapred-site.xml to pseudo-distributed mode in
/home/anand_vihar/conf directory
6. Ran $start-dfs.sh --config /home/anand_vihar/conf

Got error JAVA_HOME not set and slaves not found in /conf. If I echo $JAVA_HOME it is pointing
to /usr/lib/jvm/java-7-openjdk-amd6, correctly as set. Help appreciated.



Anand Murali
11/7, 'Anand Vihar', Kandasamy St, Mylapore
Chennai - 600 004, India
Ph: (044)- 28474593/ 43526162 (voicemail)

View raw message