You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Brahma Reddy Battula (JIRA)" <ji...@apache.org> on 2015/05/27 16:09:18 UTC
[jira] [Commented] (HADOOP-11538) [Startup script ]Start-dfs.sh and
start-yarn.sh does not work when we export JAVA_HOME Manually
[ https://issues.apache.org/jira/browse/HADOOP-11538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14561033#comment-14561033 ]
Brahma Reddy Battula commented on HADOOP-11538:
-----------------------------------------------
[~aw] Attached initail patch..Kindly Review..
> [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
> Attachments: HADOOP-11538.patch
>
>
> 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)