Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HBASE-22688 [HBCK2] Add filesystem fixup to hbck2 #10

Merged
merged 3 commits into from
Jul 16, 2019

Conversation

saintstack
Copy link
Contributor

Adds a general filesystem check command to the HBCK2 list.
Runs just the offline filesystem checks from the old hbck1
HBaseFsck tool. Checks hfile validity, if references and
hfile links are wholesome, and whether the hbase.version
file is present. Pass '--fix' to do fixup.

Depends on hbck1 HBaseFsck being present in hbck2
(HBASE-22680 adds it so this could go in after it)

Does NOT do regiondir or tabledir fixup or fixing of
orphans in hdfs or plugging holes in hdfs.

A hbase-hbck2/src/main/java/org/apache/hbase/FileSystemFsck.java
Adds a file to handle filesystem fsck checking and fixing.

M hbase-hbck2/src/main/java/org/apache/hbase/hbck1/HFileCorruptionChecker.java
Formatting fixes and filling out the MOB report so like the hfile
report.

Signed-off-by: Sean Busbey busbey@apache.org

@asf-ci
Copy link

asf-ci commented Jul 16, 2019

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/PreCommit-HBASE-OPERATOR-TOOLS-Build/33/

Adds a general filesystem check command to the HBCK2 list.
Runs just the offline filesystem checks from the old hbck1
HBaseFsck tool. Checks hfile validity, if references and
hfile links are wholesome, and whether the hbase.version
file is present. Pass '--fix' to do fixup.

Depends on hbck1 HBaseFsck being present in hbck2
(HBASE-22680 adds it so this could go in after it)

Does NOT do regiondir or tabledir fixup or fixing of
orphans in hdfs or plugging holes in hdfs.

A hbase-hbck2/src/main/java/org/apache/hbase/FileSystemFsck.java
 Adds a file to handle filesystem fsck checking and fixing.

M hbase-hbck2/src/main/java/org/apache/hbase/hbck1/HFileCorruptionChecker.java
 Formatting fixes and filling out the MOB report so like the hfile
 report.

Signed-off-by: Sean Busbey <busbey@apache.org>
@asf-ci
Copy link

asf-ci commented Jul 16, 2019

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/PreCommit-HBASE-OPERATOR-TOOLS-Build/34/

@asf-ci
Copy link

asf-ci commented Jul 16, 2019

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/PreCommit-HBASE-OPERATOR-TOOLS-Build/35/

@asf-ci
Copy link

asf-ci commented Jul 16, 2019

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/PreCommit-HBASE-OPERATOR-TOOLS-Build/36/

@saintstack saintstack merged commit 1e8a7f2 into apache:master Jul 16, 2019
@saintstack saintstack deleted the HBASE-22688 branch September 12, 2019 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants