Home | 簡體中文 | 繁體中文 | 雜文 | 打賞(Donations) | Github | OSChina 博客 | 雲社區 | 雲棲社區 | Facebook | Linkedin | 知乎專欄 | 視頻教程 | About

16.6. FAQ

16.6.1. HBaseConfTool : Unsupported major.minor version 51.0

錯誤提示

Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/hadoop/hbase/util/HBaseConfTool : Unsupported major.minor version 51.0			
			

解決方案,Hbase 不支持 OpenJDK 更換 Oracle Server JRE 後可以解決。

16.6.2. ignoring option PermSize=128m; support was removed in 8.0

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"