Hadoop Oozie学习笔记 使用OOZIE,通过命令行运行exa(2)

从Oozie的FAQ找到了解决办法:https://github.com/yahoo/oozie/wiki/FAQ,需要将oozie-default.xml中的 oozie.services属性拷贝到oozie-site.xml中,也就是以下属性:

     <property>          <name>oozie.services</name>           <value>               org.apache.oozie.service.SchedulerService,                org.apache.oozie.service.InstrumentationService,                org.apache.oozie.service.CallableQueueService,                org.apache.oozie.service.UUIDService,                org.apache.oozie.service.ELService,                org.apache.oozie.service.AuthorizationService,                org.apache.oozie.service.KerberosHadoopAccessorService,                org.apache.oozie.service.MemoryLocksService,                org.apache.oozie.service.DagXLogInfoService,                org.apache.oozie.service.SchemaService,                org.apache.oozie.service.LiteWorkflowAppService,                org.apache.oozie.service.JPAService,                org.apache.oozie.service.StoreService,                org.apache.oozie.service.CoordinatorStoreService,                org.apache.oozie.service.SLAStoreService,                org.apache.oozie.service.DBLiteWorkflowStoreService,                org.apache.oozie.service.CallbackService,                org.apache.oozie.service.ActionService,                org.apache.oozie.service.ActionCheckerService,                org.apache.oozie.service.RecoveryService,                org.apache.oozie.service.PurgeService,                org.apache.oozie.service.CoordinatorEngineService,                org.apache.oozie.service.BundleEngineService,                org.apache.oozie.service.DagEngineService,                org.apache.oozie.service.CoordMaterializeTriggerService,                org.apache.oozie.service.StatusTransitService,                org.apache.oozie.service.PauseTransitService            </value>           <description>               All services to be created and managed by Oozie Services singleton.                Class names must be separated by commas.            </description>       </property>

拷贝完成后重启OOZIE,继续跑map-reduce例子,控制台上却又报一样的错误:

Error: E0902 : E0902: Exception occured: [java.net.ConnectException: Call to localhost/127.0.0.1:8020 failed on connection exception: java.net.ConnectException: Connection refused]

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/4cf99258734e2f1355ad4ed2c9801c91.html