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 "Ganeshan Iyer (JIRA)" <ji...@apache.org> on 2012/11/19 09:06:57 UTC

[jira] [Created] (HADOOP-9062) hadoop-env.cmd overwrites the value of *_OPTS set before install

Ganeshan Iyer created HADOOP-9062:
-------------------------------------

             Summary: hadoop-env.cmd overwrites the value of *_OPTS set before install
                 Key: HADOOP-9062
                 URL: https://issues.apache.org/jira/browse/HADOOP-9062
             Project: Hadoop Common
          Issue Type: Bug
    Affects Versions: 1-win
         Environment: Windows
            Reporter: Ganeshan Iyer
             Fix For: 1-win


The values of the following environment variables are overwritten in the hadoop-env.cmd file. 
HADOOP_NAMENODE_OPTS
HADOOP_SECONDARYNAMENODE_OPTS
HADOOP_DATANODE_OPTS
HADOOP_BALANCER_OPTS
HADOOP_JOBTRACKER_OPTS
HADOOP_TASKTRACKER_OPTS

This blocks us from using these variables for setting other properties. 



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (HADOOP-9062) hadoop-env.cmd overwrites the value of *_OPTS set before install

Posted by "Bikas Saha (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-9062?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13500835#comment-13500835 ] 

Bikas Saha commented on HADOOP-9062:
------------------------------------

+1 lgtm.
                
> hadoop-env.cmd overwrites the value of *_OPTS set before install
> ----------------------------------------------------------------
>
>                 Key: HADOOP-9062
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9062
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 1-win
>         Environment: Windows
>            Reporter: Ganeshan Iyer
>             Fix For: 1-win
>
>         Attachments: HADOOP-9062.1-win.001.patch
>
>
> The values of the following environment variables are overwritten in the hadoop-env.cmd file. 
> HADOOP_NAMENODE_OPTS
> HADOOP_SECONDARYNAMENODE_OPTS
> HADOOP_DATANODE_OPTS
> HADOOP_BALANCER_OPTS
> HADOOP_JOBTRACKER_OPTS
> HADOOP_TASKTRACKER_OPTS
> This blocks us from using these variables for setting other properties. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (HADOOP-9062) hadoop-env.cmd overwrites the value of *_OPTS set before install

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-9062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suresh Srinivas updated HADOOP-9062:
------------------------------------

      Resolution: Fixed
    Hadoop Flags: Reviewed
          Status: Resolved  (was: Patch Available)

+1 for the patch. Committed it to branch-1-win.

Thank you Ganeshan!
                
> hadoop-env.cmd overwrites the value of *_OPTS set before install
> ----------------------------------------------------------------
>
>                 Key: HADOOP-9062
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9062
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 1-win
>         Environment: Windows
>            Reporter: Ganeshan Iyer
>             Fix For: 1-win
>
>         Attachments: HADOOP-9062.1-win.001.patch
>
>
> The values of the following environment variables are overwritten in the hadoop-env.cmd file. 
> HADOOP_NAMENODE_OPTS
> HADOOP_SECONDARYNAMENODE_OPTS
> HADOOP_DATANODE_OPTS
> HADOOP_BALANCER_OPTS
> HADOOP_JOBTRACKER_OPTS
> HADOOP_TASKTRACKER_OPTS
> This blocks us from using these variables for setting other properties. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (HADOOP-9062) hadoop-env.cmd overwrites the value of *_OPTS set before install

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-9062?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13500106#comment-13500106 ] 

Hadoop QA commented on HADOOP-9062:
-----------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12554137/HADOOP-9062.1-win.001.patch
  against trunk revision .

    {color:red}-1 patch{color}.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1769//console

This message is automatically generated.
                
> hadoop-env.cmd overwrites the value of *_OPTS set before install
> ----------------------------------------------------------------
>
>                 Key: HADOOP-9062
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9062
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 1-win
>         Environment: Windows
>            Reporter: Ganeshan Iyer
>             Fix For: 1-win
>
>         Attachments: HADOOP-9062.1-win.001.patch
>
>
> The values of the following environment variables are overwritten in the hadoop-env.cmd file. 
> HADOOP_NAMENODE_OPTS
> HADOOP_SECONDARYNAMENODE_OPTS
> HADOOP_DATANODE_OPTS
> HADOOP_BALANCER_OPTS
> HADOOP_JOBTRACKER_OPTS
> HADOOP_TASKTRACKER_OPTS
> This blocks us from using these variables for setting other properties. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (HADOOP-9062) hadoop-env.cmd overwrites the value of *_OPTS set before install

Posted by "Ganeshan Iyer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-9062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ganeshan Iyer updated HADOOP-9062:
----------------------------------

    Target Version/s: 1-win
              Status: Patch Available  (was: Open)
    
> hadoop-env.cmd overwrites the value of *_OPTS set before install
> ----------------------------------------------------------------
>
>                 Key: HADOOP-9062
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9062
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 1-win
>         Environment: Windows
>            Reporter: Ganeshan Iyer
>             Fix For: 1-win
>
>         Attachments: HADOOP-9062.1-win.001.patch
>
>
> The values of the following environment variables are overwritten in the hadoop-env.cmd file. 
> HADOOP_NAMENODE_OPTS
> HADOOP_SECONDARYNAMENODE_OPTS
> HADOOP_DATANODE_OPTS
> HADOOP_BALANCER_OPTS
> HADOOP_JOBTRACKER_OPTS
> HADOOP_TASKTRACKER_OPTS
> This blocks us from using these variables for setting other properties. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (HADOOP-9062) hadoop-env.cmd overwrites the value of *_OPTS set before install

Posted by "Ganeshan Iyer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-9062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ganeshan Iyer updated HADOOP-9062:
----------------------------------

    Attachment: HADOOP-9062.1-win.001.patch

Attaching patch that appends the values instead of overwriting.
                
> hadoop-env.cmd overwrites the value of *_OPTS set before install
> ----------------------------------------------------------------
>
>                 Key: HADOOP-9062
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9062
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 1-win
>         Environment: Windows
>            Reporter: Ganeshan Iyer
>             Fix For: 1-win
>
>         Attachments: HADOOP-9062.1-win.001.patch
>
>
> The values of the following environment variables are overwritten in the hadoop-env.cmd file. 
> HADOOP_NAMENODE_OPTS
> HADOOP_SECONDARYNAMENODE_OPTS
> HADOOP_DATANODE_OPTS
> HADOOP_BALANCER_OPTS
> HADOOP_JOBTRACKER_OPTS
> HADOOP_TASKTRACKER_OPTS
> This blocks us from using these variables for setting other properties. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira