hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Purtell <apurt...@apache.org>
Subject Re: Build failed in Jenkins: HBase-TRUNK #3719
Date Thu, 10 Jan 2013 19:09:27 GMT
Just to be sure I've just now run TestLocalHBaseCluster 100 times on trunk
checked out as of this morning and it always passes on my dev box. The OS
is Ubuntu 12.04.1 Linux (kernel 3.2.0-35-generic #55-Ubuntu x86_64). The
JVM is "java version "1.6.0_37" Java(TM) SE Runtime Environment (build
1.6.0_37-b06) Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01, mixed
mode)"

This a representative of the test results:

    hbase-trunk$ mvn -PrunAllTests -PlocalTests clean test
-Djava.net.preferIPv4=true -Dtest=TestLocalHBaseCluster

    -------------------------------------------------------
     T E S T S
    -------------------------------------------------------
    Running org.apache.hadoop.hbase.TestLocalHBaseCluster
    Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.76
sec

This test also passed locally before I committed HBASE-7414, of course.

As for the other matter, I noted it here:
https://issues.apache.org/jira/browse/HBASE-7522?focusedCommentId=13549937&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13549937


On Thu, Jan 10, 2013 at 10:49 AM, Ted Yu <yuzhihong@gmail.com> wrote:

> I looked at trunk builds back to #3703.
> It seems TestLocalHBaseCluster started to fail since HBASE-7414 went in.
>
> Let me debug.
>
> Cheers
>
> On Thu, Jan 10, 2013 at 10:45 AM, Andrew Purtell <apurtell@apache.org
> >wrote:
>
> > No. There's always a comparator name stored in the file trailer. Read the
> > code in FixedFileTrailer.java. But when you work with PB, best practice
> is
> > to make all fields optional, because who knows where you will be in the
> > future,  and then therefore you need to treat all fields as potentially
> > missing.
> >
> >
> > On Thu, Jan 10, 2013 at 10:41 AM, Ted Yu <yuzhihong@gmail.com> wrote:
> >
> > > Was it possible that ComparatorClassName was missing ?
> > > Here is related code in deserializeFromPB():
> > >
> > >     if (builder.hasComparatorClassName()) {
> > >       comparatorClassName = builder.getComparatorClassName();
> > >
> > > Cheers
> > >
> > > On Thu, Jan 10, 2013 at 10:28 AM, Andrew Purtell <apurtell@apache.org
> > > >wrote:
> > >
> > > > On Wed, Jan 9, 2013 at 10:21 PM, Ted <yuzhihong@gmail.com> wrote:
> > > >
> > > > > I guess the test failures in trunk build may have something to do
> > with
> > > > jdk
> > > > > 1.7
> > > >
> > > >
> > > > I believe Ted is referring to this:
> > > >
> > > > 2013-01-10 03:02:28,043 ERROR
> > > > [RS_OPEN_REGION-juno.apache.org,42323,1357786940398-0]
> > > > handler.OpenRegionHandler(441): Failed open of
> > > > region=-ROOT-,,0.70236052, starting to roll back the global memstore
> > > > size.
> > > > java.io.IOException: java.io.IOException: java.io.IOException:
> > > > java.lang.InstantiationException: org.apache.hadoop.io.RawComparator
> > > >         at
> > > >
> > >
> >
> org.apache.hadoop.hbase.regionserver.HRegion.initializeRegionInternals(HRegion.java:639)
> > > >         at
> > > >
> > org.apache.hadoop.hbase.regionserver.HRegion.initialize(HRegion.java:559)
> > > >         at
> > > >
> > >
> >
> org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:4060)
> > > >         at
> > > >
> > >
> >
> org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:4010)
> > > >         at
> > > >
> > >
> >
> org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler.openRegion(OpenRegionHandler.java:426)
> > > >         at
> > > >
> > >
> >
> org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler.process(OpenRegionHandler.java:129)
> > > >         at
> > > >
> > org.apache.hadoop.hbase.executor.EventHandler.run(EventHandler.java:202)
> > > >         at
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> > > >         at
> > > >
> > >
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> > > >         at java.lang.Thread.run(Thread.java:722)
> > > > Caused by: java.io.IOException: java.io.IOException:
> > > > java.lang.InstantiationException: org.apache.hadoop.io.RawComparator
> > > >         at
> > > >
> > >
> >
> org.apache.hadoop.hbase.regionserver.HStore.loadStoreFiles(HStore.java:450)
> > > >         at
> > > > org.apache.hadoop.hbase.regionserver.HStore.<init>(HStore.java:215)
> > > >         at
> > > >
> > >
> >
> org.apache.hadoop.hbase.regionserver.HRegion.instantiateHStore(HRegion.java:3059)
> > > >         at
> > > > org.apache.hadoop.hbase.regionserver.HRegion$1.call(HRegion.java:612)
> > > >         at
> > > > org.apache.hadoop.hbase.regionserver.HRegion$1.call(HRegion.java:610)
> > > >         at
> > > > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> > > >         at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> > > >         at
> > > >
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> > > >         at
> > > > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> > > >         at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> > > >         ... 3 more
> > > > Caused by: java.io.IOException: java.lang.InstantiationException:
> > > > org.apache.hadoop.io.RawComparator
> > > >         at
> > > >
> > >
> >
> org.apache.hadoop.hbase.io.hfile.FixedFileTrailer.createComparator(FixedFileTrailer.java:607)
> > > >         at
> > > >
> > >
> >
> org.apache.hadoop.hbase.io.hfile.FixedFileTrailer.createComparator(FixedFileTrailer.java:615)
> > > >         at
> > > >
> > >
> >
> org.apache.hadoop.hbase.io.hfile.HFileReaderV2.<init>(HFileReaderV2.java:115)
> > > >         at
> > > >
> > org.apache.hadoop.hbase.io.hfile.HFile.pickReaderVersion(HFile.java:564)
> > > >         at
> > > >
> > >
> >
> org.apache.hadoop.hbase.io.hfile.HFile.createReaderWithEncoding(HFile.java:599)
> > > >         at
> > > >
> > >
> >
> org.apache.hadoop.hbase.regionserver.StoreFile$Reader.<init>(StoreFile.java:1294)
> > > >         at
> > > >
> org.apache.hadoop.hbase.regionserver.StoreFile.open(StoreFile.java:525)
> > > >         at
> > > >
> > >
> >
> org.apache.hadoop.hbase.regionserver.StoreFile.createReader(StoreFile.java:628)
> > > >         at
> > > > org.apache.hadoop.hbase.regionserver.HStore$1.call(HStore.java:426)
> > > >         at
> > > > org.apache.hadoop.hbase.regionserver.HStore$1.call(HStore.java:422)
> > > >         ... 8 more
> > > > Caused by: java.lang.InstantiationException:
> > > > org.apache.hadoop.io.RawComparator
> > > >         at java.lang.Class.newInstance0(Class.java:357)
> > > >         at java.lang.Class.newInstance(Class.java:325)
> > > >         at
> > > >
> > >
> >
> org.apache.hadoop.hbase.io.hfile.FixedFileTrailer.createComparator(FixedFileTrailer.java:605)
> > > >
> > > >
> > > >
> > > > --
> > > > Best regards,
> > > >
> > > >    - Andy
> > > >
> > > > Problems worthy of attack prove their worth by hitting back. - Piet
> > Hein
> > > > (via Tom White)
> > > >
> > >
> >
> >
> >
> > --
> > Best regards,
> >
> >    - Andy
> >
> > Problems worthy of attack prove their worth by hitting back. - Piet Hein
> > (via Tom White)
> >
>



-- 
Best regards,

   - Andy

Problems worthy of attack prove their worth by hitting back. - Piet Hein
(via Tom White)

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