Skip to content

Commit 8e3ee52

Browse files
committed
fix
1 parent de674fb commit 8e3ee52

File tree

1 file changed

+1
-8
lines changed
  • sql/hive-thriftserver/src/main/java/org/apache/hive/service/cli/operation

1 file changed

+1
-8
lines changed

sql/hive-thriftserver/src/main/java/org/apache/hive/service/cli/operation/Operation.java

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -240,14 +240,7 @@ protected void createOperationLog() {
240240
}
241241

242242
// create OperationLog object with above log file
243-
try {
244-
operationLog = new OperationLog(opHandle.toString(), operationLogFile, parentSession.getHiveConf());
245-
} catch (FileNotFoundException e) {
246-
LOG.warn("Unable to instantiate OperationLog object for operation: {}", e,
247-
MDC.of(LogKeys.OPERATION_HANDLE, opHandle));
248-
isOperationLogEnabled = false;
249-
return;
250-
}
243+
operationLog = new OperationLog(opHandle.toString(), operationLogFile, parentSession.getHiveConf());
251244

252245
// register this operationLog to current thread
253246
operationManager.setCurrentOperationLog(operationLog, operationLogFile);

0 commit comments

Comments
 (0)