diff --git ql/src/java/org/apache/hadoop/hive/ql/io/orc/encoded/EncodedReaderImpl.java ql/src/java/org/apache/hadoop/hive/ql/io/orc/encoded/EncodedReaderImpl.java index 8f0c237..0c5b675 100644 --- ql/src/java/org/apache/hadoop/hive/ql/io/orc/encoded/EncodedReaderImpl.java +++ ql/src/java/org/apache/hadoop/hive/ql/io/orc/encoded/EncodedReaderImpl.java @@ -207,7 +207,6 @@ public void readEncodedColumns(int stripeIx, StripeInformation stripe, OrcProto.RowIndex[] indexes, List encodings, List streamList, boolean[] included, boolean[][] colRgs, Consumer consumer) throws IOException { - isTracingEnabled = true; // Note: for now we don't have to setError here, caller will setError if we throw. // We are also not supposed to call setDone, since we are only part of the operation. long stripeOffset = stripe.getOffset(); @@ -216,7 +215,7 @@ public void readEncodedColumns(int stripeIx, StripeInformation stripe, // 1.1. Figure out which columns have a present stream boolean[] hasNull = RecordReaderUtils.findPresentStreamsByColumn(streamList, types); if (isTracingEnabled) { - LOG.error("The following columns have PRESENT streams: " + arrayToString(hasNull)); + LOG.trace("The following columns have PRESENT streams: " + arrayToString(hasNull)); } // We assume stream list is sorted by column and that non-data @@ -229,7 +228,7 @@ public void readEncodedColumns(int stripeIx, StripeInformation stripe, if (!included[i]) continue; colCtxs[i] = new ColumnReadContext(i, encodings.get(i), indexes[i], ++colRgIx); if (isTracingEnabled) { - LOG.error("Creating context: " + colCtxs[i].toString()); + LOG.trace("Creating context: " + colCtxs[i].toString()); } } boolean isCompressed = (codec != null);