You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by jeff saremi <je...@hotmail.com> on 2017/05/31 22:00:36 UTC
Question about the behavior of hbck
I'm running hbck like the following:
bin\hbase.cmd hbck -repair
Then I get this exception printed out to the console. However the program does not exit or seem to be doing anything else. When I kill it using CTRL-C, I'm not able to run subsequent hbck commands unless I go and clear the locks in hdfs.
Is this exptected?
Exception in thread "main" java.io.IOException: 1 region(s) could not be checked or repaired. See logs for detail.
at org.apache.hadoop.hbase.util.HBaseFsck.checkAndFixConsistency(HBaseFsck.java:1846)
at org.apache.hadoop.hbase.util.HBaseFsck.onlineConsistencyRepair(HBaseFsck.java:672)
at org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:694)
at org.apache.hadoop.hbase.util.HBaseFsck.exec(HBaseFsck.java:4732)
at org.apache.hadoop.hbase.util.HBaseFsck$HBaseFsckTool.run(HBaseFsck.java:4531)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:90)
at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:4519)
Re: Question about the behavior of hbck
Posted by jeff saremi <je...@hotmail.com>.
Ted, thanks a lot for the hints. I'll have to go through the log and check the Jira item as well. We're using release 1.2.5
________________________________
From: Ted Yu <yu...@gmail.com>
Sent: Wednesday, May 31, 2017 3:06:11 PM
To: user@hbase.apache.org
Subject: Re: Question about the behavior of hbck
bq. See logs for detail
Did you get clue from hbck log ?
Which hbase release are you using ?
Please check out this JIRA:
HBASE-16008 A robust way deal with early termination of HBCK
Cheers
On Wed, May 31, 2017 at 3:00 PM, jeff saremi <je...@hotmail.com> wrote:
> I'm running hbck like the following:
>
> bin\hbase.cmd hbck -repair
>
>
> Then I get this exception printed out to the console. However the program
> does not exit or seem to be doing anything else. When I kill it using
> CTRL-C, I'm not able to run subsequent hbck commands unless I go and clear
> the locks in hdfs.
> Is this exptected?
>
>
> Exception in thread "main" java.io.IOException: 1 region(s) could not be
> checked or repaired. See logs for detail.
> at org.apache.hadoop.hbase.util.HBaseFsck.checkAndFixConsistency(
> HBaseFsck.java:1846)
> at org.apache.hadoop.hbase.util.HBaseFsck.onlineConsistencyRepair(
> HBaseFsck.java:672)
> at org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(
> HBaseFsck.java:694)
> at org.apache.hadoop.hbase.util.HBaseFsck.exec(HBaseFsck.java:
> 4732)
> at org.apache.hadoop.hbase.util.HBaseFsck$HBaseFsckTool.run(
> HBaseFsck.java:4531)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:90)
> at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:
> 4519)
>
>
>
Re: Question about the behavior of hbck
Posted by Ted Yu <yu...@gmail.com>.
bq. See logs for detail
Did you get clue from hbck log ?
Which hbase release are you using ?
Please check out this JIRA:
HBASE-16008 A robust way deal with early termination of HBCK
Cheers
On Wed, May 31, 2017 at 3:00 PM, jeff saremi <je...@hotmail.com> wrote:
> I'm running hbck like the following:
>
> bin\hbase.cmd hbck -repair
>
>
> Then I get this exception printed out to the console. However the program
> does not exit or seem to be doing anything else. When I kill it using
> CTRL-C, I'm not able to run subsequent hbck commands unless I go and clear
> the locks in hdfs.
> Is this exptected?
>
>
> Exception in thread "main" java.io.IOException: 1 region(s) could not be
> checked or repaired. See logs for detail.
> at org.apache.hadoop.hbase.util.HBaseFsck.checkAndFixConsistency(
> HBaseFsck.java:1846)
> at org.apache.hadoop.hbase.util.HBaseFsck.onlineConsistencyRepair(
> HBaseFsck.java:672)
> at org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(
> HBaseFsck.java:694)
> at org.apache.hadoop.hbase.util.HBaseFsck.exec(HBaseFsck.java:
> 4732)
> at org.apache.hadoop.hbase.util.HBaseFsck$HBaseFsckTool.run(
> HBaseFsck.java:4531)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:90)
> at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:
> 4519)
>
>
>