hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hsieh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-8472) mvn -Dhadoop.profile=2.0 -Dhadoop-two.version=2.0.5-SNAPSHOT fails because of Undef Class error wrt o.a.h.IdGenerator
Date Tue, 30 Apr 2013 23:00:16 GMT

    [ https://issues.apache.org/jira/browse/HBASE-8472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13646107#comment-13646107
] 

Jonathan Hsieh commented on HBASE-8472:
---------------------------------------

IdGenerator not in 2.0.2-alpha



We are pulling in 2.0.2-alpha jar for hadoop-common, but 2.0.5-SNAPSHOT for all others.

{code}
mvn -Dhadoop.profile=2.0 -Dhadoop-two.version=2.0.5-SNAPSHOT depedenncy:tree

INFO] +- org.apache.hbase:hbase-hadoop2-compat:jar:0.97.0-SNAPSHOT:compile
[INFO] |  \- org.apache.hadoop:hadoop-common:jar:2.0.2-alpha:compile
...
[INFO] +- org.cloudera.htrace:htrace:jar:1.50:compile
[INFO] +- org.apache.hadoop:hadoop-client:jar:2.0.5-SNAPSHOT:compile
[INFO] |  +- org.apache.hadoop:hadoop-hdfs:jar:2.0.5-SNAPSHOT:compile
[INFO] |  +- org.apache.hadoop:hadoop-mapreduce-client-app:jar:2.0.5-SNAPSHOT:compile
...
{code}
                
> mvn -Dhadoop.profile=2.0 -Dhadoop-two.version=2.0.5-SNAPSHOT fails because of Undef Class
error wrt o.a.h.IdGenerator
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-8472
>                 URL: https://issues.apache.org/jira/browse/HBASE-8472
>             Project: HBase
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.98.0
>            Reporter: Jonathan Hsieh
>
> {code}
>   <testcase time="1.009" classname="org.apache.hadoop.hbase.replication.TestMasterReplication"
name="testCyclicReplication">
>     <error message="org/apache/hadoop/util/IdGenerator" type="java.lang.NoClassDefFoundError">java.lang.NoClassDefFoundError:
org/apache/hadoop/util/IdGenerator
>         at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:752)
>         at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:261)
>         at org.apache.hadoop.hdfs.DFSTestUtil.formatNameNode(DFSTestUtil.java:146)
>         at org.apache.hadoop.hdfs.MiniDFSCluster.createNameNodesAndSetConf(MiniDFSCluster.java:775)
>         at org.apache.hadoop.hdfs.MiniDFSCluster.initMiniDFSCluster(MiniDFSCluster.java:642)
>         at org.apache.hadoop.hdfs.MiniDFSCluster.&lt;init&gt;(MiniDFSCluster.java:585)
> ....
> {code}        

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message