Sorry , I didn't modify directory. It is lastest version(0.90.4)
Trunk merged this code:
public final static long FIXED_OVERHEAD = ClassSize.align(
- ClassSize.OBJECT + (11 * ClassSize.REFERENCE));
+ ClassSize.OBJECT + (12 * ClassSize.REFERENCE));
The Class of MemStore added a member reseekNumKeys. So the overhead should be
modified for
public final static long FIXED_OVERHEAD = ClassSize.align(
ClassSize.OBJECT + (11 * ClassSize.REFERENCE) + Bytes.SIZEOF_INT);
The branch also need merge. Thanks
-----邮件原件-----
发件人: Ted Yu [mailto:[email protected]]
发送时间: 2011年6月21日 0:36
收件人: [email protected]
主题: Re: HBASE-3855
HBASE-3855 was integrated to 0.90 branch on Jun 10th.
Meaning, it's not in 0.90.2
Did TestHeapSize fail ?
Please provide more log/exception from the failed test.
On Mon, Jun 20, 2011 at 3:27 AM, Gaojinchao <[email protected]> wrote:
> My test case failed in branch 0.90. It seems a bug.
>
> MemStore overhead should be
> public final static long FIXED_OVERHEAD = ClassSize.align(
> ClassSize.OBJECT + (11 * ClassSize.REFERENCE) + Bytes.SIZEOF_INT);
>
> Please refer to
> /opt/g56562/hbase_svn/host_java/src/0.90.2/target/surefire-reports for the
> individual test results.
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> at
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by: org.apache.maven.plugin.MojoFailureException: There are test
> failures.
>
>