Member since
10-02-2018
5
Posts
0
Kudos Received
0
Solutions
11-06-2018
03:03 PM
I am trying to install oozie 4.2.0.2.4 on version HDP 2.4.2.0 cluster. I am following the steps mentioned on Hortonworks documentation. When running the following command: /usr/hdp/current/oozie-server/bin/ooziedb.sh create -sqlfile /tmp/oozie.sql -run I get the following error: Validate DB Connection
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/u01/bdcsce/usr/hdp/2.4.2.0-258/oozie/libserver/slf4j-log4j12-1.6.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/u01/bdcsce/usr/hdp/2.4.2.0-258/oozie/lib/slf4j-simple-1.6.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] Error: Could not connect to the database: java.lang.NullPointerException
Stack trace for the error was (for debug purposes):
-------------------------------------- java.lang.Exception: Could not connect to the database: java.lang.NullPointerException
at org.apache.oozie.tools.OozieDBCLI.validateConnection(OozieDBCLI.java:955)
at org.apache.oozie.tools.OozieDBCLI.createDB(OozieDBCLI.java:190)
at org.apache.oozie.tools.OozieDBCLI.run(OozieDBCLI.java:128)
at org.apache.oozie.tools.OozieDBCLI.main(OozieDBCLI.java:79)
Caused by: java.lang.NullPointerException
at org.apache.hadoop.hdfs.DFSClient.getLocalInterfaceAddrs(DFSClient.java:738)
at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:686)
at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:619)
at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:150)
at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2653)
at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:92)
at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2687)
at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2669)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:371)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:362)
at org.apache.hadoop.fs.Path.getFileSystem(Path.java:295)
at org.apache.hadoop.security.alias.JavaKeyStoreProvider.initFileSystem(JavaKeyStoreProvider.java:89)
at org.apache.hadoop.security.alias.AbstractJavaKeyStoreProvider.<init>(AbstractJavaKeyStoreProvider.java:84)
at org.apache.hadoop.security.alias.JavaKeyStoreProvider.<init>(JavaKeyStoreProvider.java:49)
at org.apache.hadoop.security.alias.JavaKeyStoreProvider.<init>(JavaKeyStoreProvider.java:41)
at org.apache.hadoop.security.alias.JavaKeyStoreProvider$Factory.createProvider(JavaKeyStoreProvider.java:100)
at org.apache.hadoop.security.alias.CredentialProviderFactory.getProviders(CredentialProviderFactory.java:58)
at org.apache.hadoop.conf.Configuration.getPasswordFromCredentialProviders(Configuration.java:1946)
at org.apache.hadoop.conf.Configuration.getPassword(Configuration.java:1926)
at org.apache.oozie.service.HadoopAccessorService.getPasswordFromHadoopConf(HadoopAccessorService.java:426)
at org.apache.oozie.tools.OozieDBCLI.getJdbcConf(OozieDBCLI.java:178)
at org.apache.oozie.tools.OozieDBCLI.createConnection(OozieDBCLI.java:943)
at org.apache.oozie.tools.OozieDBCLI.validateConnection(OozieDBCLI.java:951)
... 3 more --------------------------------------
... View more
Labels:
10-04-2018
05:20 PM
The file oozie-sharelib.tar.gz is not on my file system. I am running the add service from ambari UI.
... View more
10-04-2018
03:41 PM
@Jay Kumar SenSharma, First at all, thanks for the help. I have done the steps you mentioned, and still presenting the same issues. I'll attached the ambari-server.log file and ambari.properties file. Thank you
... View more