[
https://issues.apache.org/jira/browse/HDFS-3980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13463666#comment-13463666
]
Brahma Reddy Battula commented on HDFS-3980:
--------------------------------------------
Same tried for HA...Standby Namenode is also throwing NPE.Please check
following trace from Standby Namenode
{noformat}
2012-09-26 03:17:13,009 INFO
org.apache.hadoop.hdfs.server.namenode.NNStorageRetentionManager: Purging old
image
FSImageFile(file=/home/SEPT26/Security/install/hadoop/namenode/hadoop-root/dfs/name/current/fsimage_0000000000000000015,
cpktTxId=0000000000000000015)
2012-09-26 03:17:13,045 INFO
org.apache.hadoop.hdfs.server.namenode.TransferFsImage: Opening connection to
http://1****.168:50070/getimage?putimage=1&txid=19&port=50070&storageInfo=-40:1224627981:0:CID-228c6cac-4a99-4359-aadf-e9904f01e1d7
2012-09-26 03:17:13,111 ERROR
org.apache.hadoop.hdfs.server.namenode.ha.StandbyCheckpointer: Exception in
doCheckpoint
java.lang.RuntimeException: java.lang.NullPointerException
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1137)
at
sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2338)
at
java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:388)
at
org.apache.hadoop.security.authentication.client.KerberosAuthenticator.isNegotiate(KerberosAuthenticator.java:187)
at
org.apache.hadoop.security.authentication.client.KerberosAuthenticator.authenticate(KerberosAuthenticator.java:142)
at
{noformat}
> NPE in HttpURLConnection.java while starting SecondaryNameNode.
> ---------------------------------------------------------------
>
> Key: HDFS-3980
> URL: https://issues.apache.org/jira/browse/HDFS-3980
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: security
> Affects Versions: 3.0.0, 2.0.1-alpha
> Reporter: Brahma Reddy Battula
> Priority: Critical
> Attachments: core-site.xml, hdfs-site.xml
>
>
> Scenario:
> ========
> I started secure cluster by going thru following..
> https://ccp.cloudera.com/display/CDHDOC/CDH3+Security+Guide..
> Here SecondaryNamenode is getting shutdown by throwing NPE..
> Please correct me If I am wrong...
> Will attach conf and logs..
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira