Skip to content

HBASE-27698 Migrate meta locations from zookeeper to master data may … #5167

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

Open
wants to merge 1 commit into
base: branch-2
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,12 @@ private static boolean deleteMetaTableDirectoryIfPartial(FileSystem rootDirector
}
} finally {
if (!shouldDelete) {
throw new IOException("Meta table is not partial, please sideline this meta directory "
+ "or run HBCK to fix this meta table, e.g. rebuild the server hostname in ZNode for the "
+ "meta region");
LOG.warn("Meta table is not partial, This is expected during express upgrade from"
+ " HBase 1 to HBase 2 where meta location can be detected neither from zookeeper "
+ "nor from WAL Files. Still if any issues with meta initialization better to sideline "
+ "this meta directory or run HBCK to fix meta table, e.g. rebuild the server hostname in"
+ " ZNode for the meta region");
return false;
}
return rootDirectoryFs.delete(metaTableDir, true);
}
Expand Down