ambari开启kerberos后访问namenode UIhttps://bbs.csdn.net/topics/new和log文件报403错误
如果猪会飞 2019-09-03 09:45:55 最近公司集群要集成kerberos,我就在自己电脑上先集成试了试,kerberos开启之后访问访问namenode UI和logs会出现403,有没有大神帮忙解答一下,查看了一个ambari后台日志,报这个错误。
Caused by: java.io.IOException: Server returned HTTP response code: 403 for URL: http://hdp02:19888/jmx
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1894)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
at org.apache.ambari.server.controller.internal.URLStreamProvider.processURL(URLStreamProvider.java:218)
at org.apache.ambari.server.controller.internal.URLStreamProvider.processURL(URLStreamProvider.java:142)
... 6 more
2019-09-03 01:07:11,602 INFO [ambari-client-thread-123] QuickLinkVisibilityControllerFactory:44 - No quick link profile is set, will display all quicklinks.
2019-09-03 01:07:12,607 INFO [ambari-client-thread-41] QuickLinkVisibilityControllerFactory:44 - No quick link profile is set, will display all quicklinks.
2019-09-03 01:07:12,920 ERROR [ambari-metrics-retrieval-service-thread-1] URLStreamProvider:245 - Received HTTP 403 response from URL: http://hdp02:19888/jmx
2019-09-03 01:07:13,046 INFO [ambari-client-thread-36] QuickLinkVisibilityControllerFactory:44 - No quick link profile is set, will display all quicklinks.
2019-09-03 01:07:17,961 ERROR [ambari-metrics-retrieval-service-thread-0] URLStreamProvider:245 - Received HTTP 403 response from URL: http://hdp02:19888/jmx