HBASE-14685 Procedure Id is not set for MasterRpcServices#modifyTable
Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
This commit is contained in:
parent
ef7f8467af
commit
f34011860e
|
@ -1214,15 +1214,15 @@ public class MasterRpcServices extends RSRpcServices
|
|||
public ModifyTableResponse modifyTable(RpcController controller,
|
||||
ModifyTableRequest req) throws ServiceException {
|
||||
try {
|
||||
master.modifyTable(
|
||||
long procId = master.modifyTable(
|
||||
ProtobufUtil.toTableName(req.getTableName()),
|
||||
HTableDescriptor.convert(req.getTableSchema()),
|
||||
req.getNonceGroup(),
|
||||
req.getNonce());
|
||||
return ModifyTableResponse.newBuilder().setProcId(procId).build();
|
||||
} catch (IOException ioe) {
|
||||
throw new ServiceException(ioe);
|
||||
}
|
||||
return ModifyTableResponse.newBuilder().build();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue