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

Ryan Thiessen updated HBASE-4884:
---------------------------------

    Status: Patch Available  (was: Open)
    
> Allow environment overrides for various HBase processes
> -------------------------------------------------------
>
>                 Key: HBASE-4884
>                 URL: https://issues.apache.org/jira/browse/HBASE-4884
>             Project: HBase
>          Issue Type: Improvement
>          Components: shell
>            Reporter: Ryan Thiessen
>            Priority: Minor
>         Attachments: hbase-4884.txt
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> The current shell scripts have no mechanism for granting different 
> environments to various HBase subcomponents.  Sometimes we want to customize 
> these, for example to run the thrift command with a lower HBASE_HEAPSIZE than 
> what we grant the regionservers.
> Checking for the presence of an override file and then sourcing it if present 
> allows me to override this heapsize or any other variable.
> Test process:
> * tested with file missing. no problem, used default conf/hbase-env.sh 
> settings.
> * tested with conf/hbase-env-thrift.sh file with heap size of 1234. ps axww 
> showed -Xmx1234m
> * started regionserver using bin/hadoop-daemon.sh
> * started hbase shell
> * ran some jruby scripts via bin/hbase org.jruby.Main
> * running in production for approx 2 weeks.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to