Skip to content

guyson/hbase-meta-repair

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hbase-meta-repair

Organization GitHub release License

Repair hbase metadata for Apache HBase™ versions before 2.0.3 and 2.1.1 (hbase versions without HBCK2).

Configuration

  • application.properties

    # hbase zk host:port
    zookeeper.address=host:port,host:port,host:port
    # hbase zk root
    zookeeper.nodeParent=/hbase
    # hbase hdfs root
    hdfs.root.dir=hdfs://nameservice/hbase
  • core-site.xml Using profiles on Hadoop clusters(copy from your cluster).

  • hdfs-site.xml Using profiles on Hadoop clusters(copy from your cluster).

  • pom.xml Change hbase.version to your version.

Building repair

$ mvn install

Running repair

$ java -jar -Drepair.tableName={tableName} hbase-repair-{version}.jar

About

Repair hbase metadata table from hdfs.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%