hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: Failed to apply HBASE-5128 on v0.90.6
Date Sun, 06 May 2012 14:14:21 GMT
Can you pastebin the contents of .rejpatching files ?

Cheers

On Sat, May 5, 2012 at 10:13 PM, Yabo Xu <arber.research@gmail.com> wrote:

> Hi all:
>
> We are trying to repair some of the corrupted regions from earlier data
> migration. To be specific, we have many regions with .regioninfo corrupted.
>
> We manually removed those corrupted regions, and attempt to fix the
> ROOT/META by running OfflineMetaRepair. It reports there are many holes
> discovered with messages as below:
>
> > p|2b8ad6458052eca8bd78012b41bc6533|165148928|web|
> > f3a13d30730ef68fae0f1355ff436872 and p|3e8997c536a88039549cb8a2963d5d
> > 83|232368128|web|6776c73f7429fe85ef7932221bf60a07.  You need to create a
> > new regioninfo and region dir in hdfs to plug the hole.
>
>
> Another search leads us to
> HBASE-5128<https://issues.apache.org/jira/browse/HBASE-5128> ,
> a HBaseFsck patch that seems to be exactly what we want. When we try to
> apply the patch, it has the following confilcts. FYI: our hadoop/hbase
> version is 0.20.2/0.90.6. Did we do anything wrong or there is just no
> patch for 0.90.6 and we have to make our own?
>
> patching file
> > src/main/java/org/apache/hadoop/hbase/ipc/HMasterInterface.javaHunk #1
> > FAILED at 175.Hunk #2 succeeded at 185 with fuzz 1 (offset -12 lines).1
> out
> > of 2 hunks FAILED -- saving rejects to file
> >
> src/main/java/org/apache/hadoop/hbase/ipc/HMasterInterface.java.rejpatching
> > file
> > src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.javaHunk
> #1
> > FAILED at 133.1 out of 2 hunks FAILED -- saving rejects to file
> >
> src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java.rejpatching
> > file src/main/java/org/apache/hadoop/hbase/master/HMaster.javaHunk #1
> > succeeded at 1085 (offset -1 lines).Hunk #2 FAILED at 1123.1 out of 2
> hunks
> > FAILED -- saving rejects to file
> > src/main/java/org/apache/hadoop/hbase/master/HMaster.java.rejpatching
> file
> > src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.javapatching file
> > src/main/java/org/apache/hadoop/hbase/util/HBaseFsckRepair.javapatching
> > file
> >
> src/main/java/org/apache/hadoop/hbase/util/hbck/OfflineMetaRepair.javapatching
> > file
> >
> src/main/java/org/apache/hadoop/hbase/util/hbck/TableIntegrityErrorHandler.javapatching
> > file
> >
> src/main/java/org/apache/hadoop/hbase/util/hbck/TableIntegrityErrorHandlerImpl.javapatching
> > file
> src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.javapatching
> > file
> src/test/java/org/apache/hadoop/hbase/util/TestHBaseFsck.javapatching
> > file
> >
> src/test/java/org/apache/hadoop/hbase/util/TestHBaseFsckComparator.javapatching
> > file
> >
> src/test/java/org/apache/hadoop/hbase/util/hbck/HbckTestingUtil.javapatching
> > file
> >
> src/test/java/org/apache/hadoop/hbase/util/hbck/TestOfflineMetaRebuildHole.java
>
>
>
> Best,
> Arber
>

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