java.lang.ClassNotFoundException: Class org.apache.oozie.service.Coordinator

解决刚安装oozie是,启动报java.lang.ClassNotFoundException: Class org.apache.oozie.service.Coordinator

网上找了半天答案, 也没能解决. 最后从配置文件着手解决了.

先贴一下我的配置文件oozie-site.xml

<configuration>
    <property>
		<name>oozie.services</name> 
		<value>
			org.apache.oozie.service.JobsConcurrencyService,
			org.apache.oozie.service.SchedulerService,
			org.apache.oozie.service.InstrumentationService,
			org.apache.oozie.service.MemoryLocksService,
			org.apache.oozie.service.CallableQueueService,
			org.apache.oozie.service.UUIDService,
			org.apache.oozie.service.ELService,
			org.apache.oozie.service.AuthorizationService,
			org.apache.oozie.service.UserGroupInformationService,
			org.apache.oozie.service.HadoopAccessorService,
			org.apache.oozie.service.URIHandlerService,
			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.ShareLibService,
			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,
			org.apache.oozie.service.GroupsService,
			org.apache.oozie.service.ProxyUserService,
			org.apache.oozie.service.XLogStreamingService,
			org.apache.oozie.service.JvmPauseMonitorService
		</value>
	</property>
	<property>
		<name>oozie.service.HadoopAccessorService.hadoop.configurations</name>
		<value>*=/opt/app/hadoop/etc/hadoop</value>
	</property>
	<property>
		<name>oozie.service.JPAService.create.db.schema</name>
		<value>true</value>
	</property>
	<property>
		<name>oozie.service.JPAService.jdbc.driver</name>
		<value>com.mysql.jdbc.Driver</value>
	</property>
	<property>
		<name>oozie.service.JPAService.jdbc.url</name>
		<value>jdbc:mysql://hadoop-cdh:3306/oozie?createDatabaseIfNotExist=true</value>
	</property>
	<property>
		<name>oozie.service.JPAService.jdbc.username</name>
		<value>oozie</value>
	</property>
	<property>
		<name>oozie.service.JPAService.jdbc.password</name>
		<value>oozie</value>
	</property>
	<property>
		<name>oozie.processing.timezone</name>
		<value>GMT+0800</value>
	</property>
</configuration>

如果你的配置文件中有

这一块的property,

<property>
        <name>oozie.services</name> 
        <value>.....</value>

</property>

将其删除后重启即可.

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值