hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack <saint....@gmail.com>
Subject Re: test failure in TRUNK
Date Sat, 27 Aug 2011 13:56:21 GMT
Thanks Ted. 3900 had gone stale.  I did a bad job hacking it in. 


Stack



On Aug 27, 2011, at 3:08, Ted Yu <yuzhihong@gmail.com> wrote:

> For org.apache.hadoop.hbase.rest.TestStatusResource.testGetClusterStatusXML:
> 
> java.io.IOException: Error in readFields
>    at org.apache.hadoop.hbase.io.HbaseObjectWritable.readObject(HbaseObjectWritable.java:584)
>    at org.apache.hadoop.hbase.ipc.Invocation.readFields(Invocation.java:64)
>    at org.apache.hadoop.hbase.ipc.HBaseServer$Connection.processData(HBaseServer.java:1152)
>    at org.apache.hadoop.hbase.ipc.HBaseServer$Connection.readAndProcess(HBaseServer.java:1112)
>    at org.apache.hadoop.hbase.ipc.HBaseServer$Listener.doRead(HBaseServer.java:669)
>    at org.apache.hadoop.hbase.ipc.HBaseServer$Listener$Reader.run(HBaseServer.java:463)
>    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>    at java.lang.Thread.run(Thread.java:619)
> Caused by: A record version mismatch occured. Expecting v1, found v0
>    at org.apache.hadoop.io.VersionedWritable.readFields(VersionedWritable.java:46)
>    at org.apache.hadoop.hbase.HServerLoad$RegionLoad.readFields(HServerLoad.java:316)
>    at org.apache.hadoop.hbase.HServerLoad.readFields(HServerLoad.java:606)
>    at org.apache.hadoop.hbase.io.HbaseObjectWritable.readObject(HbaseObjectWritable.java:581)
>    ... 8 more
> 
> I think the above may have been caused by HBASE-3900.
> 
> I fixed TestHeapSize.testSizes<https://builds.apache.org/view/G-L/view/HBase/job/HBase-TRUNK/lastCompletedBuild/testReport/org.apache.hadoop.hbase.io/TestHeapSize/testSizes/>:
> 
> Index: src/main/java/org/apache/hadoop/hbase/regionserver/Store.java
> ===================================================================
> --- src/main/java/org/apache/hadoop/hbase/regionserver/Store.java
> (revision 1162317)
> +++ src/main/java/org/apache/hadoop/hbase/regionserver/Store.java
> (working copy)
> @@ -1765,7 +1765,7 @@
>   }
> 
>   public static final long FIXED_OVERHEAD = ClassSize.align(
> -      ClassSize.OBJECT + (15 * ClassSize.REFERENCE) +
> +      ClassSize.OBJECT + (16 * ClassSize.REFERENCE) +
>       (8 * Bytes.SIZEOF_LONG) + (1 * Bytes.SIZEOF_DOUBLE) +
>       (6 * Bytes.SIZEOF_INT) + (3 * Bytes.SIZEOF_BOOLEAN));
> 
> Cheers

Mime
View raw message