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

Switch to Threaded View
Hadoop, mail # user - Re: Getting error unrecognized option -jvm on starting nodemanager


Copy link to this message
-
Re: Getting error unrecognized option -jvm on starting nodemanager
Nitin Pawar 2013-12-24, 15:08
see the error .. it says not formatted
did you press Y or y ?
try again :)
On Tue, Dec 24, 2013 at 8:35 PM, Sitaraman Vilayannur <
[EMAIL PROTECTED]> wrote:

> Hi Nitin,
>  Even after formatting using hdfs namenode -format, i keep seeing namenode
> not formatted in the logs when i try to start namenode........
> 12/24 20:33:26 INFO namenode.FSNamesystem: supergroup=supergroup
> 13/12/24 20:33:26 INFO namenode.FSNamesystem: isPermissionEnabled=true
> 13/12/24 20:33:26 INFO namenode.NameNode: Caching file names occuring more
> than 10 times
> 13/12/24 20:33:26 INFO namenode.NNStorage: Storage directory
> /usr/local/Software/hadoop-0.23.10/data/hdfs/namenode has been successfully
> formatted.
> 13/12/24 20:33:26 INFO namenode.FSImage: Saving image file
> /usr/local/Software/hadoop-0.23.10/data/hdfs/namenode/current/fsimage.ckpt_0000000000000000000
> using no compression
> 13/12/24 20:33:26 INFO namenode.FSImage: Image file of size 124 saved in 0
> seconds.
> 13/12/24 20:33:26 INFO namenode.NNStorageRetentionManager: Going to retain
> 1 images with txid >= 0
> 13/12/24 20:33:26 INFO util.ExitUtil: Exiting with status 0
> 13/12/24 20:33:26 INFO namenode.NameNode: SHUTDOWN_MSG:
>
> /************************************************************
> SHUTDOWN_MSG: Shutting down NameNode at localhost.localdomain/127.0.0.1
> ************************************************************/
>
>
> 2013-12-24 20:33:46,337 INFO org.apache.hadoop.hdfs.server.common.Storage:
> Lock on /usr/local/Software/hadoop-2.2.0/data/hdfs/namenode/in_use.lock
> acquired by nodename [EMAIL PROTECTED]ldomain
> 2013-12-24 20:33:46,339 INFO org.mortbay.log: Stopped
> SelectChannelConnector@0.0.0.0:50070
> 2013-12-24 20:33:46,340 INFO
> org.apache.hadoop.metrics2.impl.MetricsSystemImpl: Stopping NameNode
> metrics system...
> 2013-12-24 20:33:46,340 INFO
> org.apache.hadoop.metrics2.impl.MetricsSystemImpl: NameNode metrics system
> stopped.
> 2013-12-24 20:33:46,340 INFO
> org.apache.hadoop.metrics2.impl.MetricsSystemImpl: NameNode metrics system
> shutdown complete.
> 2013-12-24 20:33:46,340 FATAL
> org.apache.hadoop.hdfs.server.namenode.NameNode: Exception in namenode join
> java.io.IOException: NameNode is not formatted.
>         at
> org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:210)
>
>         at
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFSImage(FSNamesystem.java:787)
>         at
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFromDisk(FSNamesystem.java:568)
>         at
> org.apache.hadoop.hdfs.server.namenode.NameNode.loadNamesystem(NameNode.java:443)
>         at
> org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:491)
>         at
> org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:684)
>         at
> org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:669)
>         at
> org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1254)
>         at
> org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1320)
> 2013-12-24 20:33:46,342 INFO org.apache.hadoop.util.ExitUtil: Exiting with
> status 1
> 2013-12-24 20:33:46,343 INFO
> org.apache.hadoop.hdfs.server.namenode.NameNode: SHUTDOWN_MSG:
>
> /************************************************************
> SHUTDOWN_MSG: Shutting down NameNode at localhost.localdomain/127.0.0.1
> ************************************************************/
>
>
>
>
> On Tue, Dec 24, 2013 at 3:13 PM, Nitin Pawar <[EMAIL PROTECTED]>wrote:
>
>> the issue here is you tried one version of hadoop and then changed to a
>> different version.
>>
>> You can not do that directly with hadoop. You need to follow a process
>> while upgrading hadoop versions.
>>
>> For now as you are just starting with hadoop, I would recommend just run
>> a dfs format and start the hdfs again
>>
>>
>> On Tue, Dec 24, 2013 at 2:57 PM, Sitaraman Vilayannur <
>> [EMAIL PROTECTED]> wrote:
Nitin Pawar