不多说,直接上干货!

问题详情

  查看你的$OOZIE_HOME/logs

  我的是/home/hadoop/app/oozie-4.1.0-cdh5.5.4/logs/oozie.log文件

[hadoop@bigdatamaster logs]$ cat oozie.log

-- ::,  INFO HadoopAccessorService: - SERVER[bigdatamaster] JOB_TRACKER_WHITELIST :[*], Total entries :
-- ::, INFO HadoopAccessorService: - SERVER[bigdatamaster] NAME_NODE_WHITELIST :[*], Total entries :
-- ::, INFO HadoopAccessorService: - SERVER[bigdatamaster] Oozie Kerberos Authentication [disabled]
-- ::, WARN NativeCodeLoader: - SERVER[bigdatamaster] Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
-- ::, INFO URIHandlerService: - SERVER[bigdatamaster] Loaded urihandlers [org.apache.oozie.dependency.FSURIHandler]
-- ::, INFO URIHandlerService: - SERVER[bigdatamaster] Loaded default urihandler org.apache.oozie.dependency.FSURIHandler
-- ::, FATAL Services: - SERVER[bigdatamaster] Runtime Exception during Services Load. Check your list of 'oozie.services' or 'oozie.services.ext'
-- ::, FATAL Services: - SERVER[bigdatamaster] E0103: Could not load service classes, Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
org.apache.oozie.service.ServiceException: E0103: Could not load service classes, Cannot load JDBC driver class 'com.mysql.jdbc.Driver'

at org.apache.oozie.service.Services.loadServices(Services.java:)
at org.apache.oozie.service.Services.init(Services.java:)
at org.apache.oozie.servlet.ServicesLoader.contextInitialized(ServicesLoader.java:)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:)
at java.lang.reflect.Method.invoke(Method.java:)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:)
Caused by: <openjpa-2.2.2-r422266:1468616 fatal general error> org.apache.openjpa.persistence.PersistenceException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
at org.apache.openjpa.jdbc.sql.DBDictionaryFactory.newDBDictionary(DBDictionaryFactory.java:)
at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getDBDictionaryInstance(JDBCConfigurationImpl.java:)
at org.apache.openjpa.jdbc.meta.MappingRepository.endConfiguration(MappingRepository.java:)
at org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:)
at org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:)
at org.apache.openjpa.lib.conf.PluginValue.instantiate(PluginValue.java:)
at org.apache.openjpa.conf.MetaDataRepositoryValue.instantiate(MetaDataRepositoryValue.java:)
at org.apache.openjpa.lib.conf.ObjectValue.instantiate(ObjectValue.java:)
at org.apache.openjpa.conf.OpenJPAConfigurationImpl.newMetaDataRepositoryInstance(OpenJPAConfigurationImpl.java:)
at org.apache.openjpa.conf.OpenJPAConfigurationImpl.getMetaDataRepositoryInstance(OpenJPAConfigurationImpl.java:)
at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:)
at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:)
at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:)
at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:)
at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:)
at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:)
at org.apache.oozie.service.JPAService.getEntityManager(JPAService.java:)
at org.apache.oozie.service.JPAService.init(JPAService.java:)
at org.apache.oozie.service.Services.setServiceInternal(Services.java:)
at org.apache.oozie.service.Services.setService(Services.java:)
at org.apache.oozie.service.Services.loadServices(Services.java:) ... more
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
at org.apache.commons.dbcp.BasicDataSource.createConnectionFactory(BasicDataSource.java:)
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:)
at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:)
at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:)
at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:)
at org.apache.openjpa.jdbc.sql.DBDictionaryFactory.newDBDictionary(DBDictionaryFactory.java:)
... more
Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:)
at org.apache.commons.dbcp.BasicDataSource.createConnectionFactory(BasicDataSource.java:)
... more
[hadoop@bigdatamaster logs]$

  解决办法

  很多人刚开始安装oozie时,这个错误经常碰到,网上很多博客都没有提及到这点如何去解决。

[hadoop@bigdatamaster libext]$ pwd
/home/hadoop/app/oozie-4.1.-cdh5.5.4/libext
[hadoop@bigdatamaster libext]$ ls
activation-1.1.jar commons-logging-1.1.jar hadoop-mapreduce-client-shuffle-2.6.-cdh5.5.4.jar leveldbjni-all-1.8.jar
apacheds-i18n-2.0.-M15.jar commons-math3-3.1..jar hadoop-yarn-api-2.6.-cdh5.5.4.jar log4j-1.2..jar
apacheds-kerberos-codec-2.0.-M15.jar commons-net-3.1.jar hadoop-yarn-client-2.6.-cdh5.5.4.jar mysql-connector-java-5.1..jar
api-asn1-api-1.0.-M20.jar curator-client-2.7..jar hadoop-yarn-common-2.6.-cdh5.5.4.jar netty-3.6..Final.jar
api-util-1.0.-M20.jar curator-framework-2.7..jar hadoop-yarn-server-common-2.6.-cdh5.5.4.jar netty-all-4.0..Final.jar
avro-1.7.-cdh5.5.4.jar curator-recipes-2.7..jar htrace-core4-4.0.-incubating.jar paranamer-2.3.jar
aws-java-sdk-core-1.10..jar ext-2.2 httpclient-4.2..jar protobuf-java-2.5..jar
aws-java-sdk-kms-1.10..jar ext-2.2.zip httpcore-4.2..jar servlet-api-2.5.jar
aws-java-sdk-s3-1.10..jar gson-2.2..jar jackson-annotations-2.2..jar slf4j-api-1.7..jar
commons-beanutils-1.7..jar guava-11.0..jar jackson-core-2.2..jar slf4j-log4j12-1.7..jar
commons-beanutils-core-1.8..jar hadoop-annotations-2.6.-cdh5.5.4.jar jackson-core-asl-1.8..jar snappy-java-1.0.4.1.jar
commons-cli-1.2.jar hadoop-auth-2.6.-cdh5.5.4.jar jackson-databind-2.2..jar stax-api-1.0-.jar
commons-codec-1.4.jar hadoop-aws-2.6.-cdh5.5.4.jar jackson-jaxrs-1.8..jar xercesImpl-2.10..jar
commons-collections-3.2..jar hadoop-client-2.6.-cdh5.5.4.jar jackson-mapper-asl-1.8..jar xml-apis-1.4..jar
commons-compress-1.4..jar hadoop-common-2.6.-cdh5.5.4.jar jackson-xc-1.8..jar xmlenc-0.52.jar
commons-configuration-1.6.jar hadoop-hdfs-2.6.-cdh5.5.4.jar jaxb-api-2.2..jar xz-1.0.jar
commons-digester-1.8.jar hadoop-mapreduce-client-app-2.6.-cdh5.5.4.jar jersey-client-1.9.jar zookeeper-3.4.-cdh5.5.4.jar
commons-httpclient-3.1.jar hadoop-mapreduce-client-common-2.6.-cdh5.5.4.jar jersey-core-1.9.jar
commons-io-2.4.jar hadoop-mapreduce-client-core-2.6.-cdh5.5.4.jar jetty-util-6.1..cloudera..jar
commons-lang-2.4.jar hadoop-mapreduce-client-jobclient-2.6.-cdh5.5.4.jar jsr305-3.0..jar
[hadoop@bigdatamaster libext]$

  只是单纯的认为,只需将 mysql-connector-java-5.1.21.jar放在$OOZIE_HOME/libext下即可。

  其实啊,这还没操作完呢,还需放一份到$OOZIE_HOME/lib下

[hadoop@bigdatamaster lib]$ pwd
/home/hadoop/app/oozie-4.1.-cdh5.5.4/lib
[hadoop@bigdatamaster lib]$ ls
activemq-client-5.10..jar commons-codec-1.4.jar guava-11.0..jar jackson-mapper-asl-1.8..jar slf4j-simple-1.7..jar
apacheds-i18n-2.0.-M15.jar commons-logging-1.1.jar hadoop-auth-2.6.-cdh5.5.4.jar jline-2.11.jar xercesImpl-2.10..jar
apacheds-kerberos-codec-2.0.-M15.jar curator-client-2.7..jar hawtbuf-1.10.jar json-simple-1.1.jar xml-apis-1.4..jar
api-asn1-api-1.0.-M20.jar curator-framework-2.7..jar httpclient-4.2..jar jsr305-1.3..jar zookeeper-3.4.-cdh5.5.4.jar
api-util-1.0.-M20.jar geronimo-j2ee-management_1.1_spec-1.0..jar httpcore-4.2..jar oozie-client-4.1.-cdh5.5.4.jar
commons-cli-1.2.jar geronimo-jms_1.1_spec-1.1..jar jackson-core-asl-1.8..jar slf4j-api-1.7..jar
[hadoop@bigdatamaster lib]$ rz [hadoop@bigdatamaster lib]$ ls
activemq-client-5.10..jar commons-codec-1.4.jar guava-11.0..jar jackson-mapper-asl-1.8..jar slf4j-api-1.7..jar
apacheds-i18n-2.0.-M15.jar commons-logging-1.1.jar hadoop-auth-2.6.-cdh5.5.4.jar jline-2.11.jar slf4j-simple-1.7..jar
apacheds-kerberos-codec-2.0.-M15.jar curator-client-2.7..jar hawtbuf-1.10.jar json-simple-1.1.jar xercesImpl-2.10..jar
api-asn1-api-1.0.-M20.jar curator-framework-2.7..jar httpclient-4.2..jar jsr305-1.3..jar xml-apis-1.4..jar
api-util-1.0.-M20.jar geronimo-j2ee-management_1.1_spec-1.0..jar httpcore-4.2..jar mysql-connector-java-5.1..jar zookeeper-3.4.-cdh5.5.4.jar
commons-cli-1.2.jar geronimo-jms_1.1_spec-1.1..jar jackson-core-asl-1.8..jar oozie-client-4.1.-cdh5.5.4.jar
[hadoop@bigdatamaster lib]$
[hadoop@bigdatamaster lib]$ chmod  mysql-connector-java-5.1..jar
[hadoop@bigdatamaster lib]$ ll
total
-rwxr-xr-x hadoop hadoop Apr activemq-client-5.10..jar
-rwxr-xr-x hadoop hadoop Apr apacheds-i18n-2.0.-M15.jar
-rwxr-xr-x hadoop hadoop Apr apacheds-kerberos-codec-2.0.-M15.jar
-rwxr-xr-x hadoop hadoop Apr api-asn1-api-1.0.-M20.jar
-rwxr-xr-x hadoop hadoop Apr api-util-1.0.-M20.jar
-rwxr-xr-x hadoop hadoop Apr commons-cli-1.2.jar
-rwxr-xr-x hadoop hadoop Apr commons-codec-1.4.jar
-rwxr-xr-x hadoop hadoop Apr commons-logging-1.1.jar
-rwxr-xr-x hadoop hadoop Apr curator-client-2.7..jar
-rwxr-xr-x hadoop hadoop Apr curator-framework-2.7..jar
-rwxr-xr-x hadoop hadoop Apr geronimo-j2ee-management_1.1_spec-1.0..jar
-rwxr-xr-x hadoop hadoop Apr geronimo-jms_1.1_spec-1.1..jar
-rwxr-xr-x hadoop hadoop Apr guava-11.0..jar
-rwxr-xr-x hadoop hadoop Apr hadoop-auth-2.6.-cdh5.5.4.jar
-rwxr-xr-x hadoop hadoop Apr hawtbuf-1.10.jar
-rwxr-xr-x hadoop hadoop Apr httpclient-4.2..jar
-rwxr-xr-x hadoop hadoop Apr httpcore-4.2..jar
-rwxr-xr-x hadoop hadoop Apr jackson-core-asl-1.8..jar
-rwxr-xr-x hadoop hadoop Apr jackson-mapper-asl-1.8..jar
-rwxr-xr-x hadoop hadoop Apr jline-2.11.jar
-rwxr-xr-x hadoop hadoop Apr json-simple-1.1.jar
-rwxr-xr-x hadoop hadoop Apr jsr305-1.3..jar
-rwxr-xr-x hadoop hadoop Nov mysql-connector-java-5.1..jar
-rwxr-xr-x hadoop hadoop Apr oozie-client-4.1.-cdh5.5.4.jar
-rwxr-xr-x hadoop hadoop Apr slf4j-api-1.7..jar
-rwxr-xr-x hadoop hadoop Apr slf4j-simple-1.7..jar
-rwxr-xr-x hadoop hadoop Apr xercesImpl-2.10..jar
-rwxr-xr-x hadoop hadoop Apr xml-apis-1.4..jar
-rwxr-xr-x hadoop hadoop Apr zookeeper-3.4.-cdh5.5.4.jar
[hadoop@bigdatamaster lib]$

  同事啊,这个报错很常见,原以为把mysql-connector-java-*-bin.jar丢到oozie的lib即可,但是发现依然宝盖错误。后来在网上找到需要将这个包放到这个路径下就通过了(名字需要修改下)

/usr/share/java/mysql-connector-java.jar

[hadoop@bigdatamaster java]$ pwd
/usr/share/java
[hadoop@bigdatamaster java]$ su root
Password:
[root@bigdatamaster java]# ls
ant dom3-xerces-j2-2.7..jar java_cup-runtime-.10k.jar js-1.7.jar rhino.jar xml-commons-apis.jar
ant-1.7..jar dom3-xerces-j2.jar java_cup-runtime.jar js.jar sinjdoc.jar xml-commons-jaxp-1.3-apis.jar
ant-bootstrap-1.7..jar dom3-xml-commons-apis-1.3..jar jaxp13.jar libgcj-4.4..jar xerces-j2-2.7..jar xml-commons-resolver-1.1.jar
ant-bootstrap.jar dom3-xml-commons-apis.jar jaxp.jar libgcj-4.4..jar xerces-j2.jar xml-commons-resolver.jar
ant.jar gcj-endorsed jaxp_parser_impl.jar rhino-1.7.jar xml-commons-apis-1.3..jar
ant-launcher-1.7..jar java_cup-.10k.jar jline-0.9..jar rhino-examples-1.7.jar xml-commons-apis-ext-1.3..jar
ant-launcher.jar java_cup.jar jline.jar rhino-examples.jar xml-commons-apis-ext.jar
[root@bigdatamaster java]# rz [root@bigdatamaster java]# ls
ant dom3-xerces-j2-2.7..jar java_cup-runtime-.10k.jar js-1.7.jar rhino-examples.jar xml-commons-apis-ext.jar
ant-1.7..jar dom3-xerces-j2.jar java_cup-runtime.jar js.jar rhino.jar xml-commons-apis.jar
ant-bootstrap-1.7..jar dom3-xml-commons-apis-1.3..jar jaxp13.jar libgcj-4.4..jar sinjdoc.jar xml-commons-jaxp-1.3-apis.jar
ant-bootstrap.jar dom3-xml-commons-apis.jar jaxp.jar libgcj-4.4..jar xerces-j2-2.7..jar xml-commons-resolver-1.1.jar
ant.jar gcj-endorsed jaxp_parser_impl.jar mysql-connector-java-5.1..jar xerces-j2.jar xml-commons-resolver.jar
ant-launcher-1.7..jar java_cup-.10k.jar jline-0.9..jar rhino-1.7.jar xml-commons-apis-1.3..jar
ant-launcher.jar java_cup.jar jline.jar rhino-examples-1.7.jar xml-commons-apis-ext-1.3..jar
[root@bigdatamaster java]# ln -s mysql-connector-java-5.1..jar mysql-connector-java.jar
[root@bigdatamaster java]# ll
total
drwxr-xr-x root root May ant
-rw-r--r-- root root May ant-1.7..jar
-rw-r--r-- root root May ant-bootstrap-1.7..jar
lrwxrwxrwx root root May : ant-bootstrap.jar -> ant-bootstrap-1.7..jar
lrwxrwxrwx root root May : ant.jar -> ant-1.7..jar
-rw-r--r-- root root May ant-launcher-1.7..jar
lrwxrwxrwx root root May : ant-launcher.jar -> ant-launcher-1.7..jar
lrwxrwxrwx root root May : dom3-xerces-j2-2.7..jar -> xerces-j2-2.7..jar
lrwxrwxrwx root root May : dom3-xerces-j2.jar -> dom3-xerces-j2-2.7..jar
lrwxrwxrwx root root May : dom3-xml-commons-apis-1.3..jar -> xml-commons-apis-1.3..jar
lrwxrwxrwx root root May : dom3-xml-commons-apis.jar -> dom3-xml-commons-apis-1.3..jar
drwxr-xr-x root root Mar : gcj-endorsed
-rw-r--r-- root root Aug java_cup-.10k.jar
lrwxrwxrwx root root May : java_cup.jar -> java_cup-.10k.jar
-rw-r--r-- root root Aug java_cup-runtime-.10k.jar
lrwxrwxrwx root root May : java_cup-runtime.jar -> java_cup-runtime-.10k.jar
lrwxrwxrwx root root May : jaxp13.jar -> xml-commons-apis.jar
lrwxrwxrwx root root May : jaxp.jar -> xml-commons-apis.jar
lrwxrwxrwx root root May : jaxp_parser_impl.jar -> /etc/alternatives/jaxp_parser_impl
-rw-r--r--. root root Aug jline-0.9..jar
lrwxrwxrwx. root root May : jline.jar -> jline-0.9..jar
lrwxrwxrwx. root root May : js-1.7.jar -> rhino-1.7.jar
lrwxrwxrwx. root root May : js.jar -> js-1.7.jar
-rw-r--r-- root root Mar : libgcj-4.4..jar
lrwxrwxrwx root root May : libgcj-4.4..jar -> libgcj-4.4..jar
-rw-r--r-- root root Nov mysql-connector-java-5.1..jar
lrwxrwxrwx root root May : mysql-connector-java.jar -> mysql-connector-java-5.1..jar
-rw-r--r--. root root Aug rhino-1.7.jar
-rw-r--r--. root root Aug rhino-examples-1.7.jar
lrwxrwxrwx. root root May : rhino-examples.jar -> rhino-examples-1.7.jar
lrwxrwxrwx. root root May : rhino.jar -> rhino-1.7.jar
-rw-r--r-- root root Aug sinjdoc.jar
-rw-r--r-- root root Sep xerces-j2-2.7..jar
lrwxrwxrwx root root May : xerces-j2.jar -> xerces-j2-2.7..jar
-rw-r--r-- root root Aug xml-commons-apis-1.3..jar
-rw-r--r-- root root Aug xml-commons-apis-ext-1.3..jar
lrwxrwxrwx root root May : xml-commons-apis-ext.jar -> xml-commons-apis-ext-1.3..jar
lrwxrwxrwx root root May : xml-commons-apis.jar -> xml-commons-apis-1.3..jar
lrwxrwxrwx root root May : xml-commons-jaxp-1.3-apis.jar -> xml-commons-apis.jar
-rw-r--r-- root root Aug xml-commons-resolver-1.1.jar
lrwxrwxrwx root root May : xml-commons-resolver.jar -> xml-commons-resolver-1.1.jar
[root@bigdatamaster java]#
[root@bigdatamaster java]# mv mysql-connector-java-5.1..jar mysql-connector-java.jar
mv: overwrite `mysql-connector-java.jar'? y
[root@bigdatamaster java]#

因为,我暂时用的是jdk1.7。 即,在$OOZIE_HOME/libext下的mysql-connector-java-6.0.3.jar  替换成  mysql-connector-java-5.1.21.jar 。

  

  然后,再,

[hadoop@bigdatamaster oozie-4.1.0-cdh5.5.4]$ bin/oozie-start.sh

[hadoop@bigdatamaster oozie-4.1.0-cdh5.5.4]$ jps
10193 Bootstrap
8920 NameNode
9077 SecondaryNameNode
10668 Jps
2182 QuorumPeerMain
9270 ResourceManager
[hadoop@bigdatamaster oozie-4.1.0-cdh5.5.4]$

  详细请见我的下面博客

Oozie安装时放置Mysql驱动包的总结(网上最全)

  然后呢,大家也许还会出现如下问题:

Oozie时出现org.apache.oozie.service.ServiceException: E0103: Could not load service classes, Cannot load JDBC driver class 'com.mysql.jdbc.Driver'

Oozie时bin/oozied.sh start或bin/oozied.sh run出现Bootstrap进程无法启动,http://bigdatamaster:11000/oozie界面也无法打开?E0103: Could not load service classes,

java.lang.ClassNotFoundException: Class org.apache.oozie.ser

Oozie时bin/oozied.sh start或bin/oozied.sh run出现Bootstrap进程无法启动,http://bigdatamaster:11000/oozie界面也无法打开?

Oozie时出现Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure?

Oozie时出现Exception in thread "main" java.lang.UnsupportedClassVersionError: com/mysql/jdbc/Driver : Unsupported major.minor version 52.0?

CDH版本的oozie安装执行bin/oozie-setup.sh prepare-war,没生成oozie.war?

Oozie时出现org.apache.oozie.service.ServiceException: E0103: Could not load service classes, Cannot load JDBC driver class 'com.mysql.jdbc.Driver'的更多相关文章

  1. Oozie时bin/oozied.sh start或bin/oozied.sh run出现Bootstrap进程无法启动,http://bigdatamaster:11000/oozie界面也无法打开?E0103: Could not load service classes, java.lang.ClassNotFoundException: Class org.apache.oozie.ser

    不多说,直接上干货! 问题详情 [hadoop@bigdatamaster oozie--cdh5.5.4]$ bin/oozied.sh start Setting OOZIE_HOME: /hom ...

  2. Oozie时出现Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure?

    不多说,直接上干货! 问题详情 [hadoop@bigdatamaster oozie--cdh5.5.4]$ bin/ooziedb.sh create -sqlfile oozie.sql -ru ...

  3. Oozie时出现Exception in thread "main" java.lang.UnsupportedClassVersionError: com/mysql/jdbc/Driver : Unsupported major.minor version 52.0?

    不多说,直接上干货! 问题详情 [hadoop@bigdatamaster oozie--cdh5.5.4]$ bin/ooziedb.sh create -sqlfile oozie.sql -ru ...

  4. oozie.log报提示:org.apache.oozie.service.ServiceException: E0104错误 An Admin needs to install the sharelib with oozie-setup.sh and issue the 'oozie admin' CLI command to update sharelib

    不多说,直接上干货! 问题详情 关于怎么启动oozie,我这里不多赘述. Oozie的详细启动步骤(CDH版本的3节点集群) 然后,我在查看 [hadoop@bigdatamaster logs]$ ...

  5. Apache Oozie Coordinator 作业自定义配置定时任务

    一,介绍 Oozie是Hadoop的工作流系统,如果使用Oozie来提交MapReduce作业(Oozie 不仅仅支持MapReduce作业,还支持其他类型的作业),可以借助Oozie Coordin ...

  6. 大数据技术之_14_Oozie学习_Oozie 的简介+Oozie 的功能模块介绍+Oozie 的部署+Oozie 的使用案列

    第1章 Oozie 的简介第2章 Oozie 的功能模块介绍2.1 模块2.2 常用节点第3章 Oozie 的部署3.1 部署 Hadoop(CDH版本的)3.1.1 解压缩 CDH 版本的 hado ...

  7. 2-10 就业课(2.0)-oozie:6、通过oozie执行mr任务,以及执行sqoop任务的解决思路

    执行sqoop任务的解决思路(目前的问题是sqoop只安装在node03上,而oozie会随机分配一个节点来执行任务): ======================================= ...

  8. 创建Dynamic Web Project时 显示最新Apache Tomcat 8.0 的方法

    创建Dynamic Web Project时  显示最新Apache Tomcat  8.0 等的方法 解决办法如下: 第一步:eclipse菜单help->eclipse marketplac ...

  9. hadoop启动时,报ssh: Could not resolve hostname xxx: Name or service not known

    本文转载自:http://blog.csdn.net/wodewutai17quiet/article/details/76795951 问题:hadoop启动时,报ssh: Could not re ...

随机推荐

  1. IBM WebSphere ESB入门指南

    [TOC] 第一章 ESB介绍 本博客介绍一款ESB产品,IBM WebSphere ESB.ESB(Enterprise Service Bus)也即企业服务总线.ESB有很多产品,IBM的IBM ...

  2. java中的流程控制语句总结

    程序的结构分类: 顺序结构:按照写代码的顺序 一次执行 选择结构:根据条件的不同有选择的执行不同的代码 循环结构:在一定条件下 反复执行某一片代码 选择结构: 也叫分支结构 根据条件的不同,有选择的执 ...

  3. 用户权限模块之oauth2.0

    主要是在springsecurity上面扩展即可,所以内容也是基于上一个, sql: CREATE TABLE `auth_access_token` ( `id` int(11) NOT NULL ...

  4. Webpack 3 中的新特性

    本文简短地分享下最新发布的 Webpack 3 中的新特性,供大家参考. 1. Webpack 3 的新特性 6 月 20 日,Webpack 发布了最新的 3.0 版本,并在 Medium 发布了公 ...

  5. nmon用法

    一.简介 nmon是一个简单的性能监测工具,可以监测CPU.内存.网络等的使用情况.它是一个系统监视.调优.性能测试工具,它能一次性提供大量性能相关的信息. 二.安装与执行 下载地址:http://n ...

  6. Nginx下支持ThinkPHP的Pathinfo和URl Rewrite模式

    下面介绍如何使Nginx支持ThinkPHP的Pathinfo和URL Rewrite模式. 1.ThinkPHP给出了ThinkPHP的官方解决方案,如下: 打开Nginx的配置文件 /etc/ng ...

  7. java 类变量的初始化

    有代码如下:class Price{    final static Price INSTANCE = NEW Price(2.8);    static double initPrice = 20; ...

  8. 解决kubuntu(KDE4.8.5桌面环境)找不到中文语言包

    原始日期:2013-12-30 23:16 接触linux的想必都知道KDE平台,kde精美的界面是其一大特色,不过美中不足的是,很多新手在安装完KDE后,界面包括菜单选项等都是英文界面,对于英语水平 ...

  9. C# 微信 企业号通知消息

    每当有个Create 事件,要通知相关的人员. 1.扫码登录企业微信,到企业应用. 2.获取微信配置信息. Secret和AgentId. 3.管理通讯录,配置接收消息的人群.可以按照部门,标签.获取 ...

  10. java源码学习(五)LinkedList

    LinkedList [TOC] 一.定义 public class LinkedList<E> extends AbstractSequentialList<E> imple ...