Search in sources :

Example 1 with MetaFixer

use of org.apache.hadoop.hbase.master.janitor.MetaFixer in project hbase by apache.

the class MasterRpcServices method fixMeta.

@Override
public FixMetaResponse fixMeta(RpcController controller, FixMetaRequest request) throws ServiceException {
    rpcPreCheck("fixMeta");
    try {
        MetaFixer mf = new MetaFixer(this.server);
        mf.fix();
        return FixMetaResponse.newBuilder().build();
    } catch (IOException ioe) {
        throw new ServiceException(ioe);
    }
}
Also used : ServiceException(org.apache.hbase.thirdparty.com.google.protobuf.ServiceException) IOException(java.io.IOException) DoNotRetryIOException(org.apache.hadoop.hbase.DoNotRetryIOException) MetaFixer(org.apache.hadoop.hbase.master.janitor.MetaFixer)

Aggregations

IOException (java.io.IOException)1 DoNotRetryIOException (org.apache.hadoop.hbase.DoNotRetryIOException)1 MetaFixer (org.apache.hadoop.hbase.master.janitor.MetaFixer)1 ServiceException (org.apache.hbase.thirdparty.com.google.protobuf.ServiceException)1