[
https://issues.apache.org/jira/browse/HBASE-4377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13117095#comment-13117095
]
Jonathan Hsieh commented on HBASE-4377:
---------------------------------------
I'm having a hard time with tests that restart the test hbase mini cluster. I
start cluster, modify meta/hdfs regions, shutdown cluster, rebuild meta, and
then get an NPE when restarting.
Specifically, this method sometimes returns null which later causes an NPE when
constructor calls
{code}
User.HadoopUser.<init>
ugi = (UserGroupInformation) callStatic("getCurrentUGI");
{code}
Test were passing at one point but I can't seem to figure out a direct cause
for why this would fail. Any hints?
> [hbck] Offline rebuild .META. from fs data only.
> ------------------------------------------------
>
> Key: HBASE-4377
> URL: https://issues.apache.org/jira/browse/HBASE-4377
> Project: HBase
> Issue Type: New Feature
> Reporter: Jonathan Hsieh
> Assignee: Jonathan Hsieh
>
> In a worst case situation, it may be helpful to have an offline .META.
> rebuilder that just looks at the file system's .regioninfos and rebuilds meta
> from scratch. Users could move bad regions out until there is a clean
> rebuild.
> It would likely fill in region split holes. Follow on work could given
> options to merge or select regions that overlap, or do online rebuilds.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira