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

Switch to Threaded View
Hadoop, mail # user - namenode -upgrade problem


Copy link to this message
-
Re: namenode -upgrade problem
bharath vissapragada 2009-08-04, 02:26
Todd thanks for replying ..

I stopped the cluster and issued the command

"bin/hadoop namenode -upgrade" and iam getting this exception

09/08/04 07:52:39 ERROR namenode.NameNode: java.net.BindException: Problem
binding to master/10.2.24.21:54310 : Address already in use
    at org.apache.hadoop.ipc.Server.bind(Server.java:171)
    at org.apache.hadoop.ipc.Server$Listener.<init>(Server.java:234)
    at org.apache.hadoop.ipc.Server.<init>(Server.java:960)
    at org.apache.hadoop.ipc.RPC$Server.<init>(RPC.java:465)
    at org.apache.hadoop.ipc.RPC.getServer(RPC.java:427)
    at
org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:153)
    at
org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:208)
    at
org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:194)
    at
org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:859)
    at
org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:868)
Caused by: java.net.BindException: Address already in use
    at sun.nio.ch.Net.bind(Native Method)
    at
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119)
    at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
    at org.apache.hadoop.ipc.Server.bind(Server.java:169)
    ... 9 more

any clue?

On Tue, Aug 4, 2009 at 12:51 AM, Todd Lipcon <[EMAIL PROTECTED]> wrote:

> On Mon, Aug 3, 2009 at 12:08 PM, bharath vissapragada <
> [EMAIL PROTECTED]> wrote:
>
> > Hi all ,
> >
> > I have noticed some problem in my cluster when i changed the hadoop
> version
> > on the same DFS directory .. The namenode log on the master says the
> > following ..
> >
> >
> > ile system image contains an old layout version -16.
> > *An upgrade to version -18 is required.
> > Please restart NameNode with -upgrade option.
> > *
>
>
> See bolded text above -- you need to run namenode -upgrade to upgrade your
> metadata format to the current version.
>
> -Todd
>
>   at
> >
>
> >
> >
> org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:312)
> >    at
> >
> >
> org.apache.hadoop.hdfs.server.namenode.FSDirectory.loadFSImage(FSDirectory.java:87)
> >    at
> >
> >
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.initialize(FSNamesystem.java:309)
> >    at
> >
> >
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.<init>(FSNamesystem.java:288)
> >    at
> >
> >
> org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:163)
> >    at
> > org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:208)
> >    at
> > org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:194)
> >    at
> >
> >
> org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:859)
> >    at
> > org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:868)
> > 2009-08-04 00:27:51,498 INFO org.apache.hadoop.ipc.Server: Stopping
> server
> > on 54310
> > 2009-08-04 00:27:51,498 ERROR
> > org.apache.hadoop.hdfs.server.namenode.NameNode: java.io.IOException:
> > File system image contains an old layout version -16.
> > An upgrade to version -18 is required.
> > Please restart NameNode with -upgrade option.
> >    at
> >
> >
> org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:312)
> >    at
> >
> >
> org.apache.hadoop.hdfs.server.namenode.FSDirectory.loadFSImage(FSDirectory.java:87)
> >    at
> >
> >
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.initialize(FSNamesystem.java:309)
> >    at
> >
> >
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.<init>(FSNamesystem.java:288)
> >    at
> >
> >
> org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:163)
> >    at
> > org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:208)
> >    at
> > org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:194)
> >    at
> >
> >
> org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:859)