我已经在三机群集中安装了Cloudera Manager。当我将CDH5服务(包括Hive,Spark,Yarn ......)添加到集群时,它失败了“ArithmeticException:/ by zero”。
version: Cloudera Enterprise Data Hub Edition trail 5.4.5 (#5 built by jenkins on 20150728-0320 git: ...)
org.drools.runtime.rule.ConsequenceException:Exception executing consequence for rule "Compute hiveserver2_spark_executor_cores" in com.cloudera.cmf.rules: org.drools.RuntimeDroolsException: java.lang.ArithmeticException: / by zero
at DefaultConsequenceExceptionHandler.java line 39
in org.drools.runtime.rule.impl.DefaultConsequenceExceptionHandler handleException()
最后造成的是:
Caused by: java.lang.ArithmeticException:/ by zero
at ComputationFunctions.java line 278
in com.cloudera.cmf.rules.ComputationFunctions calculateHiveSparkExecutorMemoryTotal()
1. ComputationFunctions.java line 278
in com.cloudera.cmf.rules.ComputationFunctions calculateHiveSparkExecutorMemoryTotal()
2. Rule_Compute_HiveServer2_executor_and_driver_memory_and_overehead_25364fb53f7d4bf08ec8a11bca01bcf8.java line 16
in com.cloudera.cmf.rules.Rule_Compute_HiveServer2_executor_and_driver_memory_and_overehead_25364fb53f7d4bf08ec8a11bca01bcf8 accumulateExpression1()
3. Rule_Compute_HiveServer2_executor_and_driver_memory_and_overehead_25364fb53f7d4bf08ec8a11bca01bcf8AccumulateExpression1Invoker.java line 31
in com.cloudera.cmf.rules.Rule_Compute_HiveServer2_executor_and_driver_memory_and_overehead_25364fb53f7d4bf08ec8a11bca01bcf8AccumulateExpression1Invoker evaluate()
4. JavaAccumulatorFunctionExecutor.java line 107
in org.drools.base.accumulators.JavaAccumulatorFunctionExecutor accumulate()
5. Accumulate.java line 173
in org.drools.rule.Accumulate accumulate()
......
有人帮忙吗?或者告诉我这些编译类的位置,例如“Rule_Compute_HiveServer2_executor_and_driver_memory_and_overehead_25364fb53f7d4bf08ec8a11bca01bcf8.java”。我试图用更多的调试消息替换这个类。
非常感谢,