JavaHotSpot(TM)64-BitServerVMwarning:ignorin

开启hbase报错:
[root@hadoop 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

创新互联建站于2013年成立,是专业互联网技术服务公司,拥有项目网站制作、成都做网站网站策划,项目实施与项目整合能力。我们以让每一个梦想脱颖而出为使命,1280元东乌珠穆沁做网站,已为上家服务,为东乌珠穆沁各地企业和个人服务,联系电话:18980820575

[root@hadoop 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"

注释这两行

本文标题:JavaHotSpot(TM)64-BitServerVMwarning:ignorin
本文路径:http://ybzwz.com/article/jeoehd.html