Skip to content

Commit 263aafa

Browse files
committed
PR comments
1 parent 2e4e604 commit 263aafa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ql/src/test/org/apache/hadoop/hive/ql/exec/tez/TestTezSessionState.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,11 @@ void openInternalUnsafe(boolean isAsync, SessionState.LogHelper console) throws
7777
}
7878
};
7979

80-
SessionState.LogHelper console = new SessionState.LogHelper(LoggerFactory.getLogger("TestTezSessionState"));
8180
TezSessionState.HiveResources resources =
8281
new TezSessionState.HiveResources(new org.apache.hadoop.fs.Path("/tmp"));
8382

8483
try {
85-
sessionState.openInternal(null, false, console, resources);
84+
sessionState.open(resources);
8685
Assert.fail("An exception should have been thrown while calling openInternal");
8786
} catch (Exception e) {
8887
Assert.assertTrue(e.getMessage().equalsIgnoreCase("fake exception in openInternalUnsafe"));

0 commit comments

Comments
 (0)