You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hama.apache.org by "Edward J. Yoon (JIRA)" <ji...@apache.org> on 2011/05/18 08:13:47 UTC

[jira] [Resolved] (HAMA-393) Add environment variable called 'HAMA_HEAPSIZE' to hama-env.sh

     [ https://issues.apache.org/jira/browse/HAMA-393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edward J. Yoon resolved HAMA-393.
---------------------------------

    Resolution: Fixed

I just committed this.

> Add environment variable called 'HAMA_HEAPSIZE' to hama-env.sh
> --------------------------------------------------------------
>
>                 Key: HAMA-393
>                 URL: https://issues.apache.org/jira/browse/HAMA-393
>             Project: Hama
>          Issue Type: Improvement
>          Components: scripts 
>    Affects Versions: 0.2.0
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>            Priority: Minor
>             Fix For: 0.3.0
>
>
> 'bin/hama' script uses 'HAMA_HEAPSIZE' but, it missed in hama-env.sh file.
> {code}
> JAVA_HEAP_MAX=-Xmx1000m 
> # check envvars which might override default args
> if [ "$HAMA_HEAPSIZE" != "" ]; then
>   #echo "run with heapsize $HAMA_HEAPSIZE"
>   JAVA_HEAP_MAX="-Xmx""$HAMA_HEAPSIZE""m"
>   #echo $JAVA_HEAP_MAX
> fi
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira