Jingcheng Du created HBASE-14907:
------------------------------------

             Summary: NPE of MobUtils.hasMobColumns in Build failed in Jenkins: 
HBase-Trunk_matrix » latest1.8,Hadoop #513
                 Key: HBASE-14907
                 URL: https://issues.apache.org/jira/browse/HBASE-14907
             Project: HBase
          Issue Type: Bug
          Components: mob
            Reporter: Jingcheng Du
            Assignee: Jingcheng Du


NPE is thrown when rollback the failures of table creation.
1. Table is being created, get issues when creating fs layout.
2. Rollback this creation and trying to delete the data from fs. It tries to 
delete the mob dir and needs to ask HMaster about the HTableDescriptor, and at 
that time the table dir had been deleted and no HTableDescriptor can be found.

In this patch, it directly checks if the mob directory is existing instead of 
checking the HTableDescriptor.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to