hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ac@hsk.hk" ...@hsk.hk>
Subject Re: Failed To Start SecondaryNameNode in Secure Mode
Date Thu, 29 Nov 2012 09:46:35 GMT
Hi,

I found this error message in the .out file after trying to start SecondaryNameNode in secure
mode

Exception in thread "main" java.lang.IllegalArgumentException: Does not contain a valid host:port
authority: m146:m146:0
        at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:162)
        at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:128)
        at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode$1.run(SecondaryNameNode.java:205)
        at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode$1.run(SecondaryNameNode.java:190)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:396)
        at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1121)
        at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.initialize(SecondaryNameNode.java:190)
        at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.<init>(SecondaryNameNode.java:129)
        at org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.main(SecondaryNameNode.java:567)

version: 1.0.4
distributed cluster: true
os: ubuntu 12.04
server: also the server of NameNode, the NameNode is already started in secure mode

QUESTION:   It seems that it is related to configuration but what does this error mean and
where I would be wrong?  Please help!

Thanks
ac




P.S.
below is form the .log file

2012-11-29 17:42:16,687 INFO org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode: STARTUP_MSG:

/************************************************************
STARTUP_MSG: Starting SecondaryNameNode
STARTUP_MSG:   host = m146......
STARTUP_MSG:   args = []
STARTUP_MSG:   version = 1.0.4
STARTUP_MSG:   build = https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1.0
-r 1393290; compiled by 'hortonfo' on Wed Oct  3 05:13:58 UTC 2012
************************************************************/
2012-11-29 17:42:17,174 INFO org.apache.hadoop.security.UserGroupInformation: Login successful
for user hduser/m146......
2012-11-29 17:42:17,405 INFO org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode: Starting
web server as: host/m146.......
2012-11-29 17:42:17,434 INFO org.mortbay.log: Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log)
via org.mortbay.log.Slf4jLog
2012-11-29 17:42:17,468 INFO org.apache.hadoop.http.HttpServer: Added global filtersafety
(class=org.apache.hadoop.http.HttpServer$QuotingInputFilter)
2012-11-29 17:42:17,473 INFO org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode: SHUTDOWN_MSG:

/************************************************************
SHUTDOWN_MSG: Shutting down SecondaryNameNode at m146.......
************************************************************/
Mime
View raw message