HIVE-12964 : TestOperationLoggingAPIWithMr,TestOperationLoggingAPIWithTez fail on branch-2.0 (with Java 7, at least) (Prasanth Jayachandran, reviewed by Sergey Shelukhin)
Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/29347907 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/29347907 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/29347907 Branch: refs/heads/branch-2.0 Commit: 29347907af59316517cc59eed56d6b3ee9b60ce4 Parents: 91adc52 Author: Sergey Shelukhin <[email protected]> Authored: Mon Feb 1 11:14:57 2016 -0800 Committer: Sergey Shelukhin <[email protected]> Committed: Mon Feb 1 11:26:47 2016 -0800 ---------------------------------------------------------------------- .../org/apache/hive/service/cli/operation/LogDivertAppender.java | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hive/blob/29347907/service/src/java/org/apache/hive/service/cli/operation/LogDivertAppender.java ---------------------------------------------------------------------- diff --git a/service/src/java/org/apache/hive/service/cli/operation/LogDivertAppender.java b/service/src/java/org/apache/hive/service/cli/operation/LogDivertAppender.java index 59dc433..eaf1acb 100644 --- a/service/src/java/org/apache/hive/service/cli/operation/LogDivertAppender.java +++ b/service/src/java/org/apache/hive/service/cli/operation/LogDivertAppender.java @@ -164,6 +164,7 @@ public class LogDivertAppender // and set the pattern and excludeMatches accordingly. if (currentLoggingMode != loggingMode) { loggingMode = currentLoggingMode; + excludeMatches = (loggingMode == OperationLog.LoggingLevel.VERBOSE); setCurrentNamePattern(loggingMode); }
