hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ravi Prakash (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13773) wrong HADOOP_CLIENT_OPTS in hadoop-env on branch-2
Date Tue, 01 Nov 2016 22:28:58 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-13773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15626888#comment-15626888
] 

Ravi Prakash commented on HADOOP-13773:
---------------------------------------

Awesome! Sounds good Andrew! Thanks. I'll take care in the future. 

> wrong HADOOP_CLIENT_OPTS in hadoop-env  on branch-2
> ---------------------------------------------------
>
>                 Key: HADOOP-13773
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13773
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>    Affects Versions: 2.6.1, 2.7.3
>            Reporter: Fei Hui
>            Assignee: Fei Hui
>             Fix For: 2.8.0
>
>         Attachments: HADOOP-13773.patch
>
>
> in conf/hadoop-env.sh,
> export HADOOP_CLIENT_OPTS="-Xmx512m $HADOOP_CLIENT_OPTS"
> when i set HADOOP_HEAPSIZE ,and run 'hadoop jar ...', jvm args is not work.
> i see, in bin/hadoop,
> exec "$JAVA" $JAVA_HEAP_MAX $HADOOP_OPTS $CLASS "$@"
> HADOOP_OPTS is behind JAVA_HEAP_MAX, so HADOOP_HEAPSIZE is not work.
> for example i run 'HADOOP_HEAPSIZE=1024 hadoop jar ...' , the java process is 'java -Xmx1024m
... -Xmx512m...', then Xmx512m is valid´╝î and Xmx1024m is invalid



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message