incubator-hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward J. Yoon (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HAMA-393) Add environment variable called 'HAMA_HEAPSIZE' to hama-env.sh
Date Wed, 18 May 2011 06:03:47 GMT
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

Mime
View raw message