具体报错内容如下:

Command failed to run because service Hive has invalid configuration. Review and correct its configuration. First error: When Hive is configured with Spark on YARN, Hive must also be configured with YARN.

CDH安装报错:When Hive is configured with Spark on YARN, Hive must also be configured with YARN.


    


主要原因是我在安装的时候同时选择了组件mapreduce和yarn,而yarn其实是mapreduce2,如果同时安装两者的话会有冲突。

CDH安装报错:When Hive is configured with Spark on YARN, Hive must also be configured with YARN.    


上面是CDH添加自定义组件时显示的,对于新安装的集群,建议还是用yarn吧。

    
针对以上问题,解决的方法:
          删除mapreduce组件,不过删除的时候CM会提醒你删除相关的依赖组件,按照提示去做就行了。记得删除前保存相关信息。(仅限测试环境参考)

相关文章:

  • 2021-12-23
  • 2022-12-23
  • 2021-05-10
  • 2021-09-28
  • 2022-12-23
  • 2022-12-23
  • 2021-05-25
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-04
  • 2022-12-23
  • 2021-10-03
  • 2021-07-29
  • 2021-09-19
相关资源
相似解决方案