【问题】OpenJDK 64-Bit Server VM warning: If the number of processors is expected to increase from one,
·
首先服务器使用的是openjdk,虚拟机CPU核心数只有1。具体报错内容:OpenJDK 64-Bit Server VM warning: If the number of processors is expected to increase from one, then you should configure the number of parallel GC threads appropriately using -XX:ParallelGCThreads=N
解决方式一
设置虚拟机CPU核心数,从1改为2
解决方式二
修改启动脚本,对应的启动参数设置为1。-XX:ParallelGCThreads=1。
不同的组件修改的位置不一样。例如:kafka在kafka-server-start.sh。hbase在hbase-env.sh中
更多推荐




所有评论(0)