FAQ
Author: sershe
Date: Sat Mar 21 01:34:36 2015
New Revision: 1668187

URL: http://svn.apache.org/r1668187
Log:
HIVE-10046 : LLAP : disable ORC trace logging for now (Sergey Shelukhin)

Modified:
     hive/branches/llap/ql/src/java/org/apache/hadoop/hive/llap/DebugUtils.java
     hive/branches/llap/ql/src/java/org/apache/hadoop/hive/ql/io/orc/EncodedReaderImpl.java

Modified: hive/branches/llap/ql/src/java/org/apache/hadoop/hive/llap/DebugUtils.java
URL: http://svn.apache.org/viewvc/hive/branches/llap/ql/src/java/org/apache/hadoop/hive/llap/DebugUtils.java?rev=1668187&r1=1668186&r2=1668187&view=diff
==============================================================================
--- hive/branches/llap/ql/src/java/org/apache/hadoop/hive/llap/DebugUtils.java (original)
+++ hive/branches/llap/ql/src/java/org/apache/hadoop/hive/llap/DebugUtils.java Sat Mar 21 01:34:36 2015
@@ -18,6 +18,8 @@

  package org.apache.hadoop.hive.llap;

+import org.apache.hadoop.hive.ql.io.orc.EncodedReaderImpl;
+
  /**
   * A class that contains debug methods; also allows enabling the logging of various
   * trace messages with low runtime cost, in order to investigate reproducible bugs.
@@ -28,8 +30,9 @@ public class DebugUtils {
      return false;
    }

+ private final static boolean isTraceOrcEnabled = EncodedReaderImpl.LOG.isDebugEnabled();
    public static boolean isTraceOrcEnabled() {
- return true;
+ return isTraceOrcEnabled; // TODO: temporary, should be hardcoded false
    }

    public static boolean isTraceLockingEnabled() {

Modified: hive/branches/llap/ql/src/java/org/apache/hadoop/hive/ql/io/orc/EncodedReaderImpl.java
URL: http://svn.apache.org/viewvc/hive/branches/llap/ql/src/java/org/apache/hadoop/hive/ql/io/orc/EncodedReaderImpl.java?rev=1668187&r1=1668186&r2=1668187&view=diff
==============================================================================
--- hive/branches/llap/ql/src/java/org/apache/hadoop/hive/ql/io/orc/EncodedReaderImpl.java (original)
+++ hive/branches/llap/ql/src/java/org/apache/hadoop/hive/ql/io/orc/EncodedReaderImpl.java Sat Mar 21 01:34:36 2015
@@ -45,7 +45,7 @@ import org.apache.hadoop.hive.shims.Hado


  public class EncodedReaderImpl implements EncodedReader {
- private static final Log LOG = LogFactory.getLog(EncodedReaderImpl.class);
+ public static final Log LOG = LogFactory.getLog(EncodedReaderImpl.class);

    private final long fileId;
    private final FSDataInputStream file;

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommits @
categorieshive, hadoop
postedMar 21, '15 at 1:35a
activeMar 21, '15 at 1:35a
posts1
users1
websitehive.apache.org

1 user in discussion

Sershe: 1 post

People

Translate

site design / logo © 2021 Grokbase