Uploaded image for project: 'Hama'
  1. Hama
  2. HAMA-393

Add environment variable called 'HAMA_HEAPSIZE' to hama-env.sh

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.2.0
    • 0.3.0
    • None
    • None

    Description

      'bin/hama' script uses 'HAMA_HEAPSIZE' but, it missed in hama-env.sh file.

      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
      

      Attachments

        Activity

          People

            udanax Edward J. Yoon
            udanax Edward J. Yoon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: