[ 
https://issues.apache.org/jira/browse/AMBARI-17849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gaurav Nagar updated AMBARI-17849:
----------------------------------
    Description: 
Views are not working on NN HA and HDFS ssl is enabled

     Service 'hdfs' check failed:
java.lang.NullPointerException
        at 
org.apache.hadoop.hdfs.web.WebHdfsFileSystem.resolveNNAddr(WebHdfsFileSystem.java:1646)
        at 
org.apache.hadoop.hdfs.web.WebHdfsFileSystem.initialize(WebHdfsFileSystem.java:200)
        at 
org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2736)
        at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:99)
        at 
org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2770)
        at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2752)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:386)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:179)
        at org.apache.ambari.view.utils.hdfs.HdfsApi$1.run(HdfsApi.java:70)
        at org.apache.ambari.view.utils.hdfs.HdfsApi$1.run(HdfsApi.java:68)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:415)
        at 
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1724)
        at org.apache.ambari.view.utils.hdfs.HdfsApi.execute(HdfsApi.java:397)
        at org.apache.ambari.view.utils.hdfs.HdfsApi.<init>(HdfsApi.java:68)
        at 
org.apache.ambari.view.utils.hdfs.HdfsUtil.connectToHDFSApi(HdfsUtil.java:126)
        at 
org.apache.ambari.view.commons.hdfs.HdfsService.hdfsSmokeTest(HdfsService.java:136)
        at 
org.apache.ambari.view.filebrowser.HelpService.hdfsStatus(HelpService.java:86)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

  was:Views are not working on NN HA and HDFS ssl is enabled


> Local and custom views are not working when swebhdfs and Namenode HA is 
> enabled
> -------------------------------------------------------------------------------
>
>                 Key: AMBARI-17849
>                 URL: https://issues.apache.org/jira/browse/AMBARI-17849
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-views
>    Affects Versions: 2.4.0
>            Reporter: Anusha Bilgi
>            Assignee: Gaurav Nagar
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-17849_branch-2.4.patch
>
>
> Views are not working on NN HA and HDFS ssl is enabled
>      Service 'hdfs' check failed:
> java.lang.NullPointerException
>       at 
> org.apache.hadoop.hdfs.web.WebHdfsFileSystem.resolveNNAddr(WebHdfsFileSystem.java:1646)
>       at 
> org.apache.hadoop.hdfs.web.WebHdfsFileSystem.initialize(WebHdfsFileSystem.java:200)
>       at 
> org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2736)
>       at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:99)
>       at 
> org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2770)
>       at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2752)
>       at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:386)
>       at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:179)
>       at org.apache.ambari.view.utils.hdfs.HdfsApi$1.run(HdfsApi.java:70)
>       at org.apache.ambari.view.utils.hdfs.HdfsApi$1.run(HdfsApi.java:68)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at javax.security.auth.Subject.doAs(Subject.java:415)
>       at 
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1724)
>       at org.apache.ambari.view.utils.hdfs.HdfsApi.execute(HdfsApi.java:397)
>       at org.apache.ambari.view.utils.hdfs.HdfsApi.<init>(HdfsApi.java:68)
>       at 
> org.apache.ambari.view.utils.hdfs.HdfsUtil.connectToHDFSApi(HdfsUtil.java:126)
>       at 
> org.apache.ambari.view.commons.hdfs.HdfsService.hdfsSmokeTest(HdfsService.java:136)
>       at 
> org.apache.ambari.view.filebrowser.HelpService.hdfsStatus(HelpService.java:86)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to