Support Questions
Find answers, ask questions, and share your expertise

hive cli is giving error - Cannot load customized ssl related configuration.

hive cli is giving error - Cannot load customized ssl related configuration.

Explorer

We have recently setup HDP on Azure Cluster . hive cli is giving error when i'm trying to start and following is the error after debugging . Can anyone please suggest how to fix this .

Error : Cannot load customized ssl related configuration. Fallback to system-generic settings

Stack Trace : java.io.FileNotFoundException: /etc/security/clientKeys/all.jks (No such file or directory)

at java.io.FileInputStream.open0(Native Method)

at java.io.FileInputStream.open(FileInputStream.java:195)

at java.io.FileInputStream.<init>(FileInputStream.java:138)

at org.apache.hadoop.security.ssl.ReloadingX509TrustManager.loadTrustManager(ReloadingX509TrustManager.java:164)

at org.apache.hadoop.security.ssl.ReloadingX509TrustManager.<init>(ReloadingX509TrustManager.java:81)

at org.apache.hadoop.security.ssl.FileBasedKeyStoresFactory.init(FileBasedKeyStoresFactory.java:209)

at org.apache.hadoop.security.ssl.SSLFactory.init(SSLFactory.java:131)

at org.apache.hadoop.yarn.client.api.impl.TimelineClientImpl.newSslConnConfigurator(TimelineClientImpl.java:656)

at org.apache.hadoop.yarn.client.api.impl.TimelineClientImpl.newConnConfigurator(TimelineClientImpl.java:631)

at org.apache.hadoop.yarn.client.api.impl.TimelineClientImpl.serviceInit(TimelineClientImpl.java:330)

at org.apache.hadoop.service.AbstractService.init(AbstractService.java:1 63)

at org.apache.tez.dag.history.ats.acls.ATSV15HistoryACLPolicyManager.initializeTimelineClient(ATSV15HistoryACLPolicyManager.java:70)

at org.apache.tez.dag.history.ats.acls.ATSV15HistoryACLPolicyManager.setConf(ATSV15HistoryACLPolicyManager.java:220)

at org.apache.tez.client.TezClient.start(TezClient.java:340)

at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:196)

at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:117)

at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:513)

at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:680)

at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:624)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at org.apache.hadoop.util.RunJar.run(RunJar.java:221)

at org.apache.hadoop.util.RunJar.main(RunJar.java:136)

2 REPLIES 2

Re: hive cli is giving error - Cannot load customized ssl related configuration.

Super Guru

@Pardhu T are you using hive cli or beeline? if hive cli please use beeline. Why: "The first is that it served as a thick client for SQL on Hadoop and the second is that it served as a command line tool for Hive Server (the original Hive server, now often referred to as "HiveServer1"). Hive Server has been deprecated and removed from the Hive code base as of Hive 1.0.0 (HIVE-6977) and replaced with HiveServer2 (HIVE-2935), so the second use case no longer applies. For the first use case, Beeline provides or is supposed to provide equal functionality, yet is implemented differently from Hive CLI."

Hive beeline usage/connection info here.

Re: hive cli is giving error - Cannot load customized ssl related configuration.

@Pardhu T

it seems you are getting "/etc/security/clientKeys/all.jks (No such file or directory)" error.

I hope this link will help you https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_Security_Guide/content/ch_wire-webhdfs-m...