HBASE-9178 TestSecureLoadIncrementalHFilesSplitRecovery hangs
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1512512 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9408b947b5
commit
1dee7837ff
|
@ -36,6 +36,7 @@ import org.apache.hadoop.hbase.DoNotRetryIOException;
|
|||
import org.apache.hadoop.hbase.coprocessor.CoprocessorService;
|
||||
import org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment;
|
||||
import org.apache.hadoop.hbase.ipc.RequestContext;
|
||||
import org.apache.hadoop.hbase.protobuf.ProtobufUtil;
|
||||
import org.apache.hadoop.hbase.protobuf.ResponseConverter;
|
||||
import org.apache.hadoop.hbase.protobuf.generated.ClientProtos;
|
||||
import org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadService;
|
||||
|
@ -151,8 +152,7 @@ public class SecureBulkLoadEndpoint extends SecureBulkLoadService
|
|||
try {
|
||||
getAccessController().prePrepareBulkLoad(env);
|
||||
String bulkToken = createStagingDir(baseStagingDir,
|
||||
getActiveUser(),
|
||||
TableName.valueOf(request.getTableName().toByteArray())).toString();
|
||||
getActiveUser(), ProtobufUtil.toTableName(request.getTableName())).toString();
|
||||
done.run(PrepareBulkLoadResponse.newBuilder().setBulkToken(bulkToken).build());
|
||||
} catch (IOException e) {
|
||||
ResponseConverter.setControllerException(controller, e);
|
||||
|
|
Loading…
Reference in New Issue