错误提示
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/hadoop/hbase/util/HBaseConfTool : Unsupported major.minor version 51.0
解决方案,Hbase 不支持 OpenJDK 更换 Oracle Server JRE 后可以解决。
jvm 1.8 之后不再支持PermSize和MaxPermSize选项
[neo@netkiller hbase]$ bin/start-hbase.sh starting master, logging to /srv/hbase/bin/../logs/hbase-root-master-localhost.localdomain.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
解决方案:"-server -Xms2048m -Xmx4096m"
原文出处:Netkiller 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。