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

Switch to Threaded View
HDFS, mail # user - Re: Hadoop Error in HA configuration Hadoop 2.0.5


Copy link to this message
-
Re: Hadoop Error in HA configuration Hadoop 2.0.5
Jitendra Yadav 2013-08-18, 14:58
Hi Rajiv,

I ran this command but it's was giving me below errors.

13/08/13 11:33:23 WARN util.NativeCodeLoader: Unable to load
native-hadoop library for your platform... using builtin-java classes
where applicable
13/08/13 11:33:26 INFO ipc.Client: Retrying connect to server:
warehouse2/192.168.126.129:8020. Already tried 0 time(s); retry policy
is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1
SECONDS)
13/08/13 11:33:27 INFO ipc.Client: Retrying connect to server:
warehouse2/192.168.126.129:8020. Already tried 1 time(s); retry policy
is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1
SECONDS)
13/08/13 11:33:28 INFO ipc.Client: Retrying connect to server:
warehouse2/192.168.126.129:8020. Already tried 2 time(s); retry policy
is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1
SECONDS)
13/08/13 11:33:29 INFO ipc.Client: Retrying connect to server:
warehouse2/192.168.126.129:8020. Already tried 3 time(s); retry policy
is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1
SECONDS)
13/08/13 11:33:30 INFO ipc.Client: Retrying connect to server:
warehouse2/192.168.126.129:8020. Already tried 4 time(s); retry policy
is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1
SECONDS)

Did I missed something?

Thanks
On 8/18/13, Rajiv Chittajallu <[EMAIL PROTECTED]> wrote:
> Did you run  'hdfs namenode -bootstrapStandby'  to create metadata in shared
> edits dir?
>
>
> On Aug 18, 2013, at 2:35, "Jitendra Yadav"
> <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote:
>
> I'm not using QJM, although I have configured NFS shared edits option
> i.e " /u1_pool/namenode"
>
> Thanks
> On 8/18/13, Azuryy Yu <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>>
> wrote:
> hi,
>
> did you using QJM ha?
> On Aug 18, 2013 3:04 AM, "Jitendra Yadav"
> <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>>
> wrote:
>
> Hi,
>
> After configuration, I tried to start Hadoop 2.0.5 alpha in( HA conf)
> test
> environment but I'm getting below errors again and again.
>
> 2013-08-13 06:35:35,276 INFO
> org.apache.hadoop.hdfs.server.common.Storage:
> Lock on /u0_pool/hadoop-hadoop/dfs/name/in_use.lock acquired by nodename
> 4654@warehouse1
> 2013-08-13 06:35:35,448 INFO
> org.apache.hadoop.hdfs.server.common.Storage:
> Locking is disabled
> 2013-08-13 06:35:35,487 INFO
> org.apache.hadoop.metrics2.impl.MetricsSystemImpl: Stopping NameNode
> metrics system...
> 2013-08-13 06:35:35,488 INFO
> org.apache.hadoop.metrics2.impl.MetricsSystemImpl: NameNode metrics
> system
> stopped.
> 2013-08-13 06:35:35,488 INFO
> org.apache.hadoop.metrics2.impl.MetricsSystemImpl: NameNode metrics
> system
> shutdown complete.
> 2013-08-13 06:35:35,490 FATAL
> org.apache.hadoop.hdfs.server.namenode.NameNode: Exception in namenode
> join
> org.apache.hadoop.hdfs.server.common.InconsistentFSStateException:
> Directory /u1_pool/namenode is in an inconsistent state: namespaceID is
> incompatible with others.
>        at
> org.apache.hadoop.hdfs.server.common.Storage.setNamespaceID(Storage.java:1090)
>        at
> org.apache.hadoop.hdfs.server.common.Storage.setFieldsFromProperties(Storage.java:888)
>        at
> org.apache.hadoop.hdfs.server.namenode.NNStorage.setFieldsFromProperties(NNStorage.java:583)
>
> I have formatted the namenode many times but still getting same error
> "/u1_pool/namenode is in an inconsistent state"
>
> I'm using NFS shared edits location.
>
> Please guide.
>
> Thanks.
>
>
>