FAQ
Author: gopalv
Date: Mon Jul 14 03:27:36 2014
New Revision: 1610335

URL: http://svn.apache.org/r1610335
Log:
HIVE-7394 : Fix logging of ORC padding percentages during inserts (Gopal V reviewed by Gunther Hagleitner)

Modified:
     hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/orc/WriterImpl.java

Modified: hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/orc/WriterImpl.java
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/orc/WriterImpl.java?rev=1610335&r1=1610334&r2=1610335&view=diff
==============================================================================
--- hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/orc/WriterImpl.java (original)
+++ hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/orc/WriterImpl.java Mon Jul 14 03:27:36 2014
@@ -1938,7 +1938,7 @@ class WriterImpl implements Writer, Memo
        if (availRatio < paddingTolerance && addBlockPadding) {
          long padding = blockSize - (start % blockSize);
          byte[] pad = new byte[(int) Math.min(HDFS_BUFFER_SIZE, padding)];
- LOG.info(String.format("Padding ORC by %d bytes (<= %0.2f * %d)",
+ LOG.info(String.format("Padding ORC by %d bytes (<= %.2f * %d)",
              padding, availRatio, defaultStripeSize));
          start += padding;
          while (padding > 0) {

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommits @
categorieshive, hadoop
postedJul 14, '14 at 3:28a
activeJul 14, '14 at 3:28a
posts1
users1
websitehive.apache.org

1 user in discussion

Gopalv: 1 post

People

Translate

site design / logo © 2021 Grokbase