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 "Eli Collins (JIRA)" <ji...@apache.org> on 2011/07/29 22:54:10 UTC
[jira] [Created] (HADOOP-7491) hadoop command doesn't use
HADOOP_*_OPTS when given a class name
hadoop command doesn't use HADOOP_*_OPTS when given a class name
-----------------------------------------------------------------
Key: HADOOP-7491
URL: https://issues.apache.org/jira/browse/HADOOP-7491
Project: Hadoop Common
Issue Type: Improvement
Components: scripts
Reporter: Eli Collins
Fix For: 0.23.0
When using the hadoop command HADOOP_OPTS and HADOOP_CLIENT_OPTS options are not passeed through.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (HADOOP-7491) hadoop command doesn't use
HADOOP_*_OPTS when given a class name
Posted by "Aaron T. Myers (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aaron T. Myers reassigned HADOOP-7491:
--------------------------------------
Assignee: Eli Collins
> hadoop command doesn't use HADOOP_*_OPTS when given a class name
> -----------------------------------------------------------------
>
> Key: HADOOP-7491
> URL: https://issues.apache.org/jira/browse/HADOOP-7491
> Project: Hadoop Common
> Issue Type: Improvement
> Components: scripts
> Affects Versions: 0.23.0
> Reporter: Eli Collins
> Assignee: Eli Collins
> Fix For: 0.23.0
>
> Attachments: hadoop-7491-1.patch
>
>
> When using the hadoop command HADOOP_OPTS and HADOOP_CLIENT_OPTS options are not passeed through.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-7491) hadoop command doesn't use
HADOOP_*_OPTS when given a class name
Posted by "Aaron T. Myers (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aaron T. Myers updated HADOOP-7491:
-----------------------------------
Affects Version/s: 0.23.0
Status: Patch Available (was: Open)
> hadoop command doesn't use HADOOP_*_OPTS when given a class name
> -----------------------------------------------------------------
>
> Key: HADOOP-7491
> URL: https://issues.apache.org/jira/browse/HADOOP-7491
> Project: Hadoop Common
> Issue Type: Improvement
> Components: scripts
> Affects Versions: 0.23.0
> Reporter: Eli Collins
> Assignee: Eli Collins
> Fix For: 0.23.0
>
> Attachments: hadoop-7491-1.patch
>
>
> When using the hadoop command HADOOP_OPTS and HADOOP_CLIENT_OPTS options are not passeed through.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7491) hadoop command doesn't use
HADOOP_*_OPTS when given a class name
Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13073045#comment-13073045 ]
Eli Collins commented on HADOOP-7491:
-------------------------------------
Thanks atm. I concur. Btw verified by hand that HADOOP_OPTS is now respected since Hudson won't pick up on this.
{noformat}
common $ export HADOOP_OPTS="-INVALID"
common $ ./bin/hadoop org.apache.hadoop.hdfs.tools.HDFSConcat
Unrecognized option: -INVALID
Could not create the Java virtual machine.
{noformat}
> hadoop command doesn't use HADOOP_*_OPTS when given a class name
> -----------------------------------------------------------------
>
> Key: HADOOP-7491
> URL: https://issues.apache.org/jira/browse/HADOOP-7491
> Project: Hadoop Common
> Issue Type: Improvement
> Components: scripts
> Affects Versions: 0.23.0
> Reporter: Eli Collins
> Assignee: Eli Collins
> Fix For: 0.23.0
>
> Attachments: hadoop-7491-1.patch
>
>
> When using the hadoop command HADOOP_OPTS and HADOOP_CLIENT_OPTS options are not passeed through.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-7491) hadoop command doesn't use
HADOOP_*_OPTS when given a class name
Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eli Collins updated HADOOP-7491:
--------------------------------
Attachment: hadoop-7491-1.patch
Patch attached.
Anyone know why we didn't do this from the start? I can't think of a reason why you wouldn't want to respect HADOOP_OPTS and HADOOP_CLIENT_OPTS when using bin/hadoop to run a class.
> hadoop command doesn't use HADOOP_*_OPTS when given a class name
> -----------------------------------------------------------------
>
> Key: HADOOP-7491
> URL: https://issues.apache.org/jira/browse/HADOOP-7491
> Project: Hadoop Common
> Issue Type: Improvement
> Components: scripts
> Reporter: Eli Collins
> Fix For: 0.23.0
>
> Attachments: hadoop-7491-1.patch
>
>
> When using the hadoop command HADOOP_OPTS and HADOOP_CLIENT_OPTS options are not passeed through.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-7491) hadoop command should respect
HADOOP_OPTS when given a class name
Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eli Collins updated HADOOP-7491:
--------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
I've committed this. Thanks atm.
> hadoop command should respect HADOOP_OPTS when given a class name
> ------------------------------------------------------------------
>
> Key: HADOOP-7491
> URL: https://issues.apache.org/jira/browse/HADOOP-7491
> Project: Hadoop Common
> Issue Type: Improvement
> Components: scripts
> Affects Versions: 0.23.0
> Reporter: Eli Collins
> Assignee: Eli Collins
> Fix For: 0.23.0
>
> Attachments: hadoop-7491-1.patch
>
>
> When using the hadoop command HADOOP_OPTS and HADOOP_CLIENT_OPTS options are not passeed through.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-7491) hadoop command should respect
HADOOP_OPTS when given a class name
Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eli Collins updated HADOOP-7491:
--------------------------------
Hadoop Flags: [Reviewed]
Summary: hadoop command should respect HADOOP_OPTS when given a class name (was: hadoop command doesn't use HADOOP_*_OPTS when given a class name )
> hadoop command should respect HADOOP_OPTS when given a class name
> ------------------------------------------------------------------
>
> Key: HADOOP-7491
> URL: https://issues.apache.org/jira/browse/HADOOP-7491
> Project: Hadoop Common
> Issue Type: Improvement
> Components: scripts
> Affects Versions: 0.23.0
> Reporter: Eli Collins
> Assignee: Eli Collins
> Fix For: 0.23.0
>
> Attachments: hadoop-7491-1.patch
>
>
> When using the hadoop command HADOOP_OPTS and HADOOP_CLIENT_OPTS options are not passeed through.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HADOOP-7491) hadoop command doesn't use
HADOOP_*_OPTS when given a class name
Posted by "Aaron T. Myers (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13073032#comment-13073032 ]
Aaron T. Myers commented on HADOOP-7491:
----------------------------------------
+1, patch looks good to me.
No idea why we didn't do this in the first place. Probably just an oversight.
> hadoop command doesn't use HADOOP_*_OPTS when given a class name
> -----------------------------------------------------------------
>
> Key: HADOOP-7491
> URL: https://issues.apache.org/jira/browse/HADOOP-7491
> Project: Hadoop Common
> Issue Type: Improvement
> Components: scripts
> Affects Versions: 0.23.0
> Reporter: Eli Collins
> Assignee: Eli Collins
> Fix For: 0.23.0
>
> Attachments: hadoop-7491-1.patch
>
>
> When using the hadoop command HADOOP_OPTS and HADOOP_CLIENT_OPTS options are not passeed through.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira