【问题标题】:Spring-xd hdfs sink- Error Creating beanSpring-xd hdfs sink- 创建 bean 时出错
【发布时间】:2015-04-16 06:13:50
【问题描述】:

spring-xd 中将hdfs 作为接收器部署流时出现以下异常。 创建名称为 'hadoopConf iguration': Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/apache/hadoop/mapred/JobConf 的 bean 时出错

我的 spring-xd 应用程序在 yarn 上成功运行。感谢您的帮助。

【问题讨论】:

    标签: hdfs hadoop-yarn spring-xd


    【解决方案1】:

    问题在于servers.yml 中siteMapreduceAppClassPath 中的配置。类路径应包含 hadoop-core jar 的路径,因为该 jar 不包含它提供 NoClassDefFoundError 的应用程序。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-06-24
      • 2013-10-06
      • 2017-02-03
      • 1970-01-01
      • 2015-05-28
      • 1970-01-01
      • 2020-02-23
      • 2016-03-18
      相关资源
      最近更新 更多