hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: HBase 0.20.5 issues
Date Wed, 07 Jul 2010 00:14:08 GMT
Here is the output from patch:

tyumac:hbase-0.20.5 tyu$ patch -p0 --dry-run < 2599-0.20.txt
patching file src/java/org/apache/hadoop/hbase/ClusterStatus.java
patching file
src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
Hunk #1 FAILED at 520.
Hunk #2 succeeded at 616 (offset -28 lines).
Hunk #3 succeeded at 638 (offset -28 lines).
Hunk #4 succeeded at 1037 (offset -11 lines).
Hunk #5 succeeded at 1173 (offset -9 lines).
Hunk #6 succeeded at 1335 (offset -9 lines).
Hunk #7 succeeded at 1358 (offset -9 lines).
1 out of 7 hunks FAILED -- saving rejects to file
src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java.rej
patching file src/java/org/apache/hadoop/hbase/HServerInfo.java
patching file src/java/org/apache/hadoop/hbase/master/ServerManager.java
Hunk #2 succeeded at 73 (offset -2 lines).
Hunk #3 succeeded at 105 (offset -2 lines).
Hunk #4 succeeded at 215 (offset -2 lines).
Hunk #5 succeeded at 309 (offset -2 lines).
Hunk #6 succeeded at 332 (offset -2 lines).
Hunk #7 succeeded at 391 (offset -2 lines).
Hunk #8 succeeded at 597 (offset -2 lines).
Hunk #9 succeeded at 686 (offset -2 lines).
Hunk #10 succeeded at 769 (offset -2 lines).
Hunk #11 succeeded at 839 (offset -2 lines).
Hunk #12 succeeded at 903 (offset -2 lines).
patching file src/java/org/apache/hadoop/hbase/master/HMaster.java
patching file src/java/org/apache/hadoop/hbase/master/ProcessRegionOpen.java
patching file src/java/org/apache/hadoop/hbase/master/BaseScanner.java
patching file src/webapps/master/table.jsp

I looked at src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
and the only serverInfo.setStartCode() call is at line 1337.

Please advise how to apply the patch to 0.20.5

Thanks

On Fri, Jul 2, 2010 at 7:57 AM, Stanislaw Kogut <skogut@sistyma.net> wrote:

> Thanks, I have applied this patch and issue went out.
>
> On Thu, Jul 1, 2010 at 9:18 PM, Jean-Daniel Cryans <jdcryans@apache.org
> >wrote:
>
> > (sorry it took so long to answer, we were all busy with the various
> > meetings around the Bay Area)
> >
> > I can see the issue:
> >
> > 2010-06-30 13:48:16,135 DEBUG master.BaseScanner
> > (BaseScanner.java:checkAssigned(580)) - Current assignment of
> > .META.,,1 is not valid;  serverAddress=, startCode=0 unknown.
> > ...
> > 2010-06-30 13:48:26,967 INFO  master.RegionServerOperation
> > (ProcessRegionOpen.java:process(80)) - Updated row .META.,,1 in region
> > -ROOT-,,0 with startcode=1277894894819, server=192.168.242.142:60020
> > 2010-06-30 13:48:26,968 DEBUG master.RegionServerOperation
> > (ProcessRegionOpen.java:process(98)) - Adding to onlineMetaRegions:
> > {server: 192.168.242.142:60020, regionname: .META.,,1, startKey: <>}
> > ...
> > 2010-06-30 13:49:13,050 DEBUG master.BaseScanner
> > (BaseScanner.java:checkAssigned(580)) - Current assignment of
> > .META.,,1 is not valid;  serverAddress=192.168.242.142:60020,
> > startCode=1277894894819 unknown.
> > ...
> > 2010-06-30 13:49:13,176 INFO  master.RegionServerOperation
> > (ProcessRegionOpen.java:process(80)) - Updated row .META.,,1 in region
> > -ROOT-,,0 with startcode=1277894893999, server=192.168.242.145:60020
> > 2010-06-30 13:49:13,176 DEBUG master.RegionServerOperation
> > (ProcessRegionOpen.java:process(98)) - Adding to onlineMetaRegions:
> > {server: 192.168.242.145:60020, regionname: .META.,,1, startKey: <>}
> > ...
> >
> > This is https://issues.apache.org/jira/browse/hbase-2599. We didn't
> > apply it on branch because it was breaking rolling restarts but you
> > can safely apply the patch before a cluster startup.
> >
> > J-D
> >
> > On Thu, Jul 1, 2010 at 5:03 AM, Stanislaw Kogut <skogut@sistyma.net>
> > wrote:
> > > Completely changed all hadoop configuration to almost default, PE
> > completes
> > > writing for 1000000 rows, but regions still come assigned to multiple
> > RS's
> > >
> > > hbase(main):001:0> status 'detailed'
> > > version 0.20.5
> > > 0 regionsInTransition
> > > 6 live servers
> > >    uasstse005.ua.sistyma.com:60020 1277985198620
> > >        requests=0, regions=2, usedHeap=25, maxHeap=1196
> > >        .META.,,1
> > >            stores=2, storefiles=0, storefileSizeMB=0, memstoreSizeMB=0,
> > > storefileIndexSizeMB=0
> > >        -ROOT-,,0
> > >            stores=1, storefiles=3, storefileSizeMB=0, memstoreSizeMB=0,
> > > storefileIndexSizeMB=0
> > >    stas-node.ua.sistyma.com:60020 1277985198573
> > >        requests=0, regions=1, usedHeap=22, maxHeap=1996
> > >        .META.,,1
> > >            stores=2, storefiles=0, storefileSizeMB=0, memstoreSizeMB=0,
> > > storefileIndexSizeMB=0
> > >    uasstse004.ua.sistyma.com:60020 1277985198572
> > >        requests=0, regions=1, usedHeap=23, maxHeap=1996
> > >        .META.,,1
> > >            stores=2, storefiles=0, storefileSizeMB=0, memstoreSizeMB=0,
> > > storefileIndexSizeMB=0
> > >    uasstse006.ua.sistyma.com:60020 1277985198554
> > >        requests=0, regions=0, usedHeap=33, maxHeap=1196
> > >    uasstse002.ua.sistyma.com:60020 1277985198667
> > >        requests=0, regions=1, usedHeap=34, maxHeap=1996
> > >        .META.,,1
> > >            stores=2, storefiles=0, storefileSizeMB=0, memstoreSizeMB=0,
> > > storefileIndexSizeMB=0
> > >    uasstse003.ua.sistyma.com:60020 1277985198550
> > >        requests=0, regions=1, usedHeap=22, maxHeap=1996
> > >        .META.,,1
> > >            stores=2, storefiles=0, storefileSizeMB=0, memstoreSizeMB=0,
> > > storefileIndexSizeMB=0
> > > 0 dead servers
> > >
> > >
> >
>
>
>
> --
> Regards,
> Stanislaw Kogut
> Sistyma LLC
>

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