@Override
public TGetOperationStatusResp GetOperationStatus(TGetOperationStatusReq req) throws TException {
TGetOperationStatusResp resp = new TGetOperationStatusResp();
try {
OperationState operationState = cliService.getOperationStatus(new OperationHandle(req.getOperationHandle()));
resp.setOperationState(operationState.toTOperationState());
resp.setStatus(OK_STATUS);
} catch (Exception e) {
e.printStackTrace();
resp.setStatus(HiveSQLException.toTStatus(e));
}