Java HotSpot(TM) 64-Bit Server VM warning: ignorin
阿新 • • 發佈:2019-05-10
ava jdk8 hadoop pts size mas ado mov bin 開啟hbase報錯:
[[email protected] bin]# ./start-hbase.sh
starting master, logging to /opt/hbase1.2.6/logs/hbase-root-master-hadoop.master.out
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128m; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0
[[email protected] bin]# ./start-hbase.sh
starting master, logging to /opt/hbase1.2.6/logs/hbase-root-master-hadoop.master.out
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128m; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0
[[email protected] bin]# vim /opt/hbase1.2.6/conf/hbase-env.sh
Configure PermSize. Only needed in JDK7. You can safely remove it for JDK8+
#export HBASE_MASTER_OPTS="$HBASE_MASTER_OPTS -XX:PermSize=128m -XX:MaxPermSize=128m"
#export HBASE_REGIONSERVER_OPTS="$HBASE_REGIONSERVER_OPTS -XX:PermSize=128m -XX:MaxPermSize=128m"
註釋這兩行
Java HotSpot(TM) 64-Bit Server VM warning: ignorin