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/06/01 15:40:18 UTC

[jira] [Updated] (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:all-tabpanel ]

Brahma Reddy Battula updated HADOOP-11538:
------------------------------------------
    Attachment: HADOOP-11538-002.patch

> [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-002.patch, 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)