[ https://issues.apache.org/jira/browse/HADOOP-11538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14304543#comment-14304543 ]
Brahma Reddy Battula commented on HADOOP-11538: ----------------------------------------------- As you told #1 will not give solution to this problem since cluster might be having homegeneous(I mean, JAVA_HOME variable here)... Yes, we can document in following. http://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-common/SingleCluster.html > [Startup script ]Start-dfs.sh and start-yarn.sh does not work when we export > JAVA_HOME Manually > ----------------------------------------------------------------------------------------------- > > Key: HADOOP-11538 > URL: https://issues.apache.org/jira/browse/HADOOP-11538 > Project: Hadoop Common > Issue Type: Bug > Reporter: Jagadesh Kiran N > Assignee: Brahma Reddy Battula > > Scenario: > ======= > Followed the document for installation of standalone cluster.. > http://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-common/SingleCluster.html > export JAVA_HOME=/path/to/Java > When we execute start-dfs.sh , it will execute slaves.sh where it is list of > hostnamess are mentioned. > As slaves.sh will do ssh to machine and start the server, where JAVA_HOME > will not present. > *Actual:* > We will get error like JAVA_HOME is not present > *Expected:* > JAVA_HOME should to passed to slaves.sh as a argument. > -- This message was sent by Atlassian JIRA (v6.3.4#6332)