Reply
Highlighted
New Contributor
Posts: 5
Registered: ‎02-26-2018

NullPointerException in Cloudera Manager service when Cloudera Navigator TLS/SSL is enabled

[ Edited ]

Hi All,

 

I am in the process of setting up TLS/SSL for our CDH 5.13 cluster. I have finished configuring almost everything (CM Server, Agents, Hadoop services, Spark, Kafka) and as a last step, I wanted to configure Cloudera Navigator to use TLS.

 

I have followed Cloudera documentation on setting up Cloudera Navigator Audit Server, and Cloudera Navigator Metadata Server. Once done, everything seems to work properly, except one thing

 

When I log in to Cloudera Navigator and select Audit tab, the the list does not load, I see error messages:

 

API: Server Error / Fetching Audit events has failed. Refresh your browser. If the problem persists, contact your administrator.

 

After doing quite some investigation in the logs of Navigator server logs, I figured out that a call is made against Cloudera Manager server, which keeps failing. When I looked into Cloudera Manager server logs, I saw the following Exception (IP has been redacted):

 

2018-03-28 10:31:28,400 ERROR HistoryEvent Collector 1 Thread 16:com.cloudera.server.web.cmf.history.navigator.AbstractNavigatorHistoryEventCollector: Error encountered in initiallizing the SSL settings
2018-03-28 10:31:28,400 ERROR HistoryEvent Collector 1 Thread 16:com.cloudera.server.web.cmf.history.navigator.AbstractNavigatorHistoryEventCollector: Failed to retrieve navigator records.
java.lang.NullPointerException
at com.cloudera.server.web.cmf.history.navigator.AbstractNavigatorHistoryEventCollector.getHttpClient(AbstractNavigatorHistoryEventCollector.java:160)
at com.cloudera.server.web.cmf.history.navigator.AbstractNavigatorHistoryEventCollector.request(AbstractNavigatorHistoryEventCollector.java:141)
at com.cloudera.server.web.cmf.history.navigator.AbstractNavigatorHistoryEventCollector.getFromOffset(AbstractNavigatorHistoryEventCollector.java:228)
at com.cloudera.server.web.cmf.history.HistoryEventWrappingIterator.<init>(HistoryEventWrappingIterator.java:39)
at com.cloudera.server.web.cmf.history.navigator.AbstractNavigatorHistoryEventCollector.call(AbstractNavigatorHistoryEventCollector.java:237)
at com.cloudera.server.web.cmf.history.navigator.AbstractNavigatorHistoryEventCollector.call(AbstractNavigatorHistoryEventCollector.java:71)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2018-03-28 10:31:33,292 INFO 1744605949@scm-web-2689:com.cloudera.server.web.cmf.AuthenticationSuccessEventListener: Authentication success for user: 'admin' from x.x.x.x
2018-03-28 10:31:33,363 INFO 1744605949@scm-web-2689:com.cloudera.server.web.cmf.AuthenticationSuccessEventListener: Authentication success for user: 'admin' from x.x.x.x
2018-03-28 10:31:34,010 INFO 621885291@scm-web-2811:com.cloudera.server.web.cmf.AuthenticationSuccessEventListener: Authentication success for user: 'admin' from x.x.x.x
2018-03-28 10:31:34,651 INFO 621885291@scm-web-2811:com.cloudera.server.web.cmf.AuthenticationSuccessEventListener: Authentication success for user: 'admin' from x.x.x.x

 

Could someone please advise what the root cause might be here? If I disable TLS/SSL for Cloudera Navigator (but not for Cloudera Manager) the audit records are loaded properly.

Announcements

Our community is getting a little larger. And a lot better.


Learn More about the Cloudera and Hortonworks community merger planned for late July and early August.