码迷,mamicode.com
首页 > 编程语言 > 详细

Java HotSpot(TM) 64-Bit Server VM warning: ignorin

时间:2019-05-10 13:17:12      阅读:184      评论:0      收藏:0      [点我收藏+]

标签:only   export   conf   hba   figure   jdk   support   rem   config   

开启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

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

注释这两行

Java HotSpot(TM) 64-Bit Server VM warning: ignorin

标签:only   export   conf   hba   figure   jdk   support   rem   config   

原文地址:https://blog.51cto.com/14074978/2392201

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!