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

Switch to Threaded View
MapReduce, mail # user - namenode instantiation error


Copy link to this message
-
Re: namenode instantiation error
Nitin Pawar 2012-08-09, 12:58
anand if you are trying single node instance, I had written an ugly
script to setup the single node mode.

you can refer to it @ https://github.com/nitinpawar/hadoop/

I did face these issues but mostly they were due to permissions related.
On Thu, Aug 9, 2012 at 6:23 PM, Owen Duan <[EMAIL PROTECTED]> wrote:
> have you tried hadoop namenode -format?
>
>
> 2012/8/9 anand sharma <[EMAIL PROTECTED]>
>>
>> yea  Tariq !1 its a fresh installation i m doing it for the first time,
>> hope someone will know the error code and the reason of error.
>>
>>
>> On Thu, Aug 9, 2012 at 5:35 PM, Mohammad Tariq <[EMAIL PROTECTED]> wrote:
>>>
>>> Hi Anand,
>>>
>>>       Have you tried any other Hadoop distribution or version also??In
>>> that case first remove the older one and start fresh.
>>>
>>> Regards,
>>>     Mohammad Tariq
>>>
>>>
>>> On Thu, Aug 9, 2012 at 5:29 PM, Mohammad Tariq <[EMAIL PROTECTED]>
>>> wrote:
>>> > Hello Rahul,
>>> >
>>> >    That's great. That's the best way to learn(I am doing the same :)
>>> > ). Since the installation part is over, I would suggest to get
>>> > yourself familiar with Hdfs and MapReduce first. Try to do basic
>>> > filesystem operations using the Hdfs API and run the wordcount
>>> > program, if you haven't done it yet. Then move ahead.
>>> >
>>> > Regards,
>>> >     Mohammad Tariq
>>> >
>>> >
>>> > On Thu, Aug 9, 2012 at 5:20 PM, rahul p <[EMAIL PROTECTED]>
>>> > wrote:
>>> >> Hi Tariq,
>>> >>
>>> >> I am also new to Hadoop trying to learn my self can anyone help me on
>>> >> the
>>> >> same.
>>> >> i have installed CDH3.
>>> >>
>>> >>
>>> >>
>>> >> On Thu, Aug 9, 2012 at 6:21 PM, Mohammad Tariq <[EMAIL PROTECTED]>
>>> >> wrote:
>>> >>>
>>> >>> Hello Anand,
>>> >>>
>>> >>>     Is there any specific reason behind not using ssh??
>>> >>>
>>> >>> Regards,
>>> >>>     Mohammad Tariq
>>> >>>
>>> >>>
>>> >>> On Thu, Aug 9, 2012 at 3:46 PM, anand sharma <[EMAIL PROTECTED]>
>>> >>> wrote:
>>> >>> > Hi, i am just learning the Hadoop and i am setting the development
>>> >>> > environment with CDH3 pseudo distributed mode without any ssh
>>> >>> > cofiguration
>>> >>> > in CentOS 6.2 . i can run the sample programs as usual but when i
>>> >>> > try
>>> >>> > and
>>> >>> > run namenode this is the error it logs...
>>> >>> >
>>> >>> > [hive@localhost ~]$ hadoop namenode
>>> >>> > 12/08/09 20:56:57 INFO namenode.NameNode: STARTUP_MSG:
>>> >>> > /************************************************************
>>> >>> > STARTUP_MSG: Starting NameNode
>>> >>> > STARTUP_MSG:   host = localhost.localdomain/127.0.0.1
>>> >>> > STARTUP_MSG:   args = []
>>> >>> > STARTUP_MSG:   version = 0.20.2-cdh3u4
>>> >>> > STARTUP_MSG:   build >>> >>> > file:///data/1/tmp/topdir/BUILD/hadoop-0.20.2-cdh3u4
>>> >>> > -r 214dd731e3bdb687cb55988d3f47dd9e248c5690; compiled by 'root' on
>>> >>> > Mon
>>> >>> > May
>>> >>> > 7 14:01:59 PDT 2012
>>> >>> > ************************************************************/
>>> >>> > 12/08/09 20:56:57 INFO jvm.JvmMetrics: Initializing JVM Metrics
>>> >>> > with
>>> >>> > processName=NameNode, sessionId=null
>>> >>> > 12/08/09 20:56:57 INFO metrics.NameNodeMetrics: Initializing
>>> >>> > NameNodeMeterics using context
>>> >>> > object:org.apache.hadoop.metrics.spi.NoEmitMetricsContext
>>> >>> > 12/08/09 20:56:57 INFO util.GSet: VM type       = 64-bit
>>> >>> > 12/08/09 20:56:57 INFO util.GSet: 2% max memory = 17.77875 MB
>>> >>> > 12/08/09 20:56:57 INFO util.GSet: capacity      = 2^21 = 2097152
>>> >>> > entries
>>> >>> > 12/08/09 20:56:57 INFO util.GSet: recommended=2097152,
>>> >>> > actual=2097152
>>> >>> > 12/08/09 20:56:57 INFO namenode.FSNamesystem: fsOwner=hive
>>> >>> > (auth:SIMPLE)
>>> >>> > 12/08/09 20:56:57 INFO namenode.FSNamesystem: supergroup=supergroup
>>> >>> > 12/08/09 20:56:57 INFO namenode.FSNamesystem:
>>> >>> > isPermissionEnabled=false
>>> >>> > 12/08/09 20:56:57 INFO namenode.FSNamesystem:
>>> >>> > dfs.block.invalidate.limit=1000
>>> >>> > 12/08/09 20:56:57 INFO namenode.FSNamesystem:

Nitin Pawar