1
回答
warning: ignoring option PermSize=128m; support was removed in 8.0
【腾讯云】校园拼团福利,1核2G服务器10元/月!>>>   

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128m; support was removed in 8.0

<无标签>
举报
Baclk5
发帖于1年前 1回/1K+阅

如果是启动HBase遇到的问题你就这样做:

由于JDK使用的是jdk1.8.0_65

注释掉以下:

# 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"

注释的文件路径是:hbase/conf/hbase-env.sh

顶部