hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhihong Yu (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-5191) Fix compilation error against hadoop 0.23.1
Date Fri, 13 Jan 2012 23:20:39 GMT

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

Zhihong Yu commented on HBASE-5191:
-----------------------------------

After the dfsCluster.stopDataNode( i ) call, the following assertion fails (with hadoop 1.0)
{code}
    assertTrue("DataNodes " + dfsCluster.getDataNodes().size() +
        " default replication " + fs.getDefaultReplication(), 
      dfsCluster.getDataNodes().size() >= fs.getDefaultReplication() + 1);
{code}
{code}
Failed tests:   testLogRollOnDatanodeDeath(org.apache.hadoop.hbase.regionserver.wal.TestLogRolling):
DataNodes 2 default replication 2
{code}
                
> Fix compilation error against hadoop 0.23.1
> -------------------------------------------
>
>                 Key: HBASE-5191
>                 URL: https://issues.apache.org/jira/browse/HBASE-5191
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.0
>            Reporter: Zhihong Yu
>             Fix For: 0.92.0, 0.94.0
>
>         Attachments: 5191.txt
>
>
> From Mahadev:
> I just checked out 0.92 branch and tried running:
> mvn -Dhadoop.profile=23 clean test
> -Dtest=org.apache.hadoop.hbase.mapreduce.TestTableMapReduce
> Looks like a compilation issue:
> ------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.0.2:testCompile
> (default-testCompile) on project hbase: Compilation failure
> [ERROR] /Users/mahadev/workspace/hbase-workspace/hbase-git/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestLogRolling.java:[341,33]
> cannot find symbol
> [ERROR] symbol  : variable dnRegistration
> [ERROR] location: class org.apache.hadoop.hdfs.server.datanode.DataNode
> [ERROR] -> [Help 1]
> [ERROR]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message