hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: corrupt .logs block
Date Sat, 06 Aug 2011 19:41:59 GMT
Have you tried calling assign on this region ?
    # Assign a region
    def assign(region_name, force)
      @admin.assign(region_name.to_java_bytes,
java.lang.Boolean::valueOf(force))
    end

Cheers

On Sat, Aug 6, 2011 at 12:12 PM, Geoff Hendrey <ghendrey@decarta.com> wrote:

> Hey -
>
>
>
> I've got a corrupt HDFS block in a region server's ".logs" directory.
> Also, "hbase hbck" reports 5 inconsistencies.
>
>
>
> .META. shows a region as offline, and it won't come online. What are my
> options. "hbck -fix" didn't do anything. It's not "live" data and I
> don't mind losing it. However, if I delete the corrupt HDFS .logs files,
> would it screw up HBase? I don't care if I lose some writes from the
> log. I just don't want to totally bork hbase.
>
>
>
> -geoff
>
>

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