Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # user >> Namenode shutting down while creating cluster


Copy link to this message
-
Re: Namenode shutting down while creating cluster
sundeep
<name>fs.default.name</name>
  <value>hdfs://sk.r252.0:54310</value>

here sk.r252.0 is not a valid domain name unless you have your own
nameserver. You change it to IP and it should work fine.

On Sat, Oct 20, 2012 at 9:07 PM, Balaji Narayanan (பா��ாஜி நாரா��ணன்)
<[EMAIL PROTECTED]> wrote:
> Sundeep, what happens when you use the ip instead of name in the config?
>
>
> On Saturday, October 20, 2012, Sundeep Kambhmapati wrote:
>>
>> Thank  You Balaji,
>> I checked gethostbyname(sk.r252.0) it gives 10.0.2.15. This is ipaddress i
>> am getting in ifconfig also.
>> ssh sk.r252.0 is sshing to 10.0.2.15
>> ping sk.r252.0 is pinging to 10.0.2.15.
>>
>> Can you please help me with the issue?
>>
>> Regards
>> Sundeep
>>
>>
>> Seems like an issue with resolution of sk.r252.0. Can you ensure that it
>> resolves?
>>
>> On Friday, October 19, 2012, Sundeep Kambhmapati wrote:
>>
>> Hi Users,
>> My name node is shutting down soon after it is started.
>> Here the log. Can some one please help me.
>>
>> 2012-10-19 23:20:42,143 INFO
>> org.apache.hadoop.hdfs.server.namenode.NameNode: STARTUP_MSG:
>> /************************************************************
>> STARTUP_MSG: Starting NameNode
>> STARTUP_MSG:   host = sk.r252.0/10.0.2.15
>> STARTUP_MSG:   args = []
>> STARTUP_MSG:   version = 0.20.2
>> STARTUP_MSG:   build >> https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20 -r
>> 911707; compiled by 'chrisdo' on Fri Feb 19 08:07:34 UTC 2010
>> ************************************************************/
>> 2012-10-19 23:20:42,732 INFO org.apache.hadoop.ipc.metrics.RpcMetrics:
>> Initializing RPC Metrics with hostName=NameNode, port=54310
>> 2012-10-19 23:20:42,741 INFO
>> org.apache.hadoop.hdfs.server.namenode.NameNode: Namenode up at:
>> sk.r252.0/10.0.2.15:54310
>> 2012-10-19 23:20:42,745 INFO org.apache.hadoop.metrics.jvm.JvmMetrics:
>> Initializing JVM Metrics with processName=NameNode, sessionId=null
>> 2012-10-19 23:20:42,747 INFO
>> org.apache.hadoop.hdfs.server.namenode.metrics.NameNodeMetrics: Initializing
>> NameNodeMeterics using context
>> object:org.apache.hadoop.metrics.spi.NullContext
>> 2012-10-19 23:20:43,074 INFO
>> org.apache.hadoop.hdfs.server.namenode.FSNamesystem:
>> fsOwner=root,root,bin,daemon,sys,adm,disk,wheel
>> 2012-10-19 23:20:43,077 INFO
>> org.apache.hadoop.hdfs.server.namenode.FSNamesystem: supergroup=supergroup
>> 2012-10-19 23:20:43,077 INFO
>> org.apache.hadoop.hdfs.server.namenode.FSNamesystem:
>> isPermissionEnabled=true
>> 2012-10-19 23:20:43,231 INFO
>> org.apache.hadoop.hdfs.server.namenode.metrics.FSNamesystemMetrics:
>> Initializing FSNamesystemMetrics using context
>> object:org.apache.hadoop.metrics.spi.NullContext
>> 2012-10-19 23:20:43,239 INFO
>> org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Registered
>> FSNamesystemStatusMBean
>> 2012-10-19 23:20:43,359 INFO org.apache.hadoop.hdfs.server.common.Storage:
>> Number of files = 1
>> 2012-10-19 23:20:43,379 INFO org.apache.hadoop.hdfs.server.common.Storage:
>> Number of files under construction = 0
>> 2012-10-19 23:20:43,379 INFO org.apache.hadoop.hdfs.server.common.Storage:
>> Image file of size 94 loaded in 0 seconds.
>> 2012-10-19 23:20:43,380 INFO org.apache.hadoop.hdfs.server.common.Storage:
>> Edits file /app/hadoop/tmp/dfs/
>
>
>
> --
> Thanks
> -balaji
>
> --
> http://balajin.net/blog/
> http://flic.kr/balajijegan

--
Nitin Pawar