2016-06-27 14 views
0

JVMオプションを設定する方法はありますか?-XX:HeapDumpPath=./java_pid<pid>.hprofのようにHBaseHBase JVMオプションを設定する場所

Ambariを使用していますが、Ambariを使用してグローバルに設定する方法はありますか? "HBaseのDefinitive Guideの" で

答えて

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.† 
関連する問題