2016-06-27 2 views
0

JVM 옵션을 설정할 방법이 있습니까? HBase-XX:HeapDumpPath=./java_pid<pid>.hprof과 같은 옵션이 있습니까?HBase JVM 옵션을 설정하는 곳

그리고 Ambari을 사용하고 있는데, Ambari을 사용하여 전역으로 설정할 수있는 방법이 있습니까? "HBase를 확실한 가이드"에서

답변

2

라스의 조지

$HABASE_HOME/conf/hbase-env.sh 

hbase-env.sh 
You set HBase environment variables in this file. Examples include options to pass to 
the JVM when an HBase daemon starts, such as Java heap size and garbage collector 
configurations. You also set options for HBase configuration, log directories, niceness, 
SSH options, where to locate process pid files, and so on. Open the file at conf/hbaseenv. 
sh and peruse its content. Each option is fairly well documented. Add your own 
environment variables here if you want them read when an HBase daemon is started. 
Changes here will require a cluster restart for HBase to notice the change.† 
관련 문제