hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: unable to run unit test in trunk against hadoop 2.0
Date Wed, 10 Apr 2013 21:40:53 GMT
Jon:
Looks like your workspace was out of date.

Have you seen this (204 test failures) ?

http://54.241.6.143/job/HBase-TRUNK-Hadoop-2/107/testReport/

On Wed, Apr 10, 2013 at 2:37 PM, Jonathan Hsieh <jon@cloudera.com> wrote:

> Hey Ted,
>
> I was working on fixing that particular unit test against hadoop2 this
> morning in HBASE-7606 and it seems to work for me (after the patch. Before
> the patch it tends to hang).  Are you running it like this:
>
> $ mvn clean test -Dhadoop.profile=2.0 -Dtest=TestJoinedScanners
> ....
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.hadoop.hbase.regionserver.TestJoinedScanners
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 63.813 sec
>
>
> Jon.
>
>
> On Wed, Apr 10, 2013 at 2:01 PM, Ted Yu <yuzhihong@gmail.com> wrote:
>
> > Hi,
> > I am getting the following error when trying to run unit test in trunk
> > against hadoop 2.0:
> >
> >
> testJoinedScanners(org.apache.hadoop.hbase.regionserver.TestJoinedScanners)
> >  Time elapsed: 2.518 sec  <<< ERROR!
> > java.lang.UnsupportedOperationException: This is supposed to be
> overridden
> > by subclasses.
> >   at
> >
> >
> com.google.protobuf.GeneratedMessage.getUnknownFields(GeneratedMessage.java:180)
> >   at
> >
> >
> org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$GetDatanodeReportRequestProto.getSerializedSize(ClientNamenodeProtocolProtos.java:21566)
> >   at
> >
> >
> com.google.protobuf.AbstractMessageLite.toByteString(AbstractMessageLite.java:49)
> >   at
> >
> >
> org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.constructRpcRequest(ProtobufRpcEngine.java:149)
> >   at
> >
> >
> org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:193)
> >
> > Looks like the above only happens with hadoop 2.0, not hadoop 1.0
> >
> > FYI
> >
>
>
>
> --
> // Jonathan Hsieh (shay)
> // Software Engineer, Cloudera
> // jon@cloudera.com
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message