FAQ
Repository: hive
Updated Branches:
   refs/heads/master 2173e1d94 -> 1e49e873f


HIVE-13246: Add log line to ORC writer to print out the file path (Prasanth Jayachandran reviewed by Siddharth Seth)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/1e49e873
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/1e49e873
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/1e49e873

Branch: refs/heads/master
Commit: 1e49e873fabe076570afe6cab7e304116a1589da
Parents: 2173e1d
Author: Prasanth Jayachandran <prasanthj@apache.org>
Authored: Wed Mar 23 13:23:10 2016 -0500
Committer: Prasanth Jayachandran <prasanthj@apache.org>
Committed: Wed Mar 23 13:23:10 2016 -0500

----------------------------------------------------------------------
  orc/src/java/org/apache/orc/impl/WriterImpl.java | 3 +++
  1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/1e49e873/orc/src/java/org/apache/orc/impl/WriterImpl.java
----------------------------------------------------------------------
diff --git a/orc/src/java/org/apache/orc/impl/WriterImpl.java b/orc/src/java/org/apache/orc/impl/WriterImpl.java
index ecac520..6497ecf 100644
--- a/orc/src/java/org/apache/orc/impl/WriterImpl.java
+++ b/orc/src/java/org/apache/orc/impl/WriterImpl.java
@@ -198,6 +198,9 @@ public class WriterImpl implements Writer, MemoryManager.Callback {

      // ensure that we are able to handle callbacks before we register ourselves
      memoryManager.addWriter(path, opts.getStripeSize(), this);
+ LOG.info("ORC writer created for path: {} with stripeSize: {} blockSize: {}" +
+ " compression: {} estimatedBufferSize: {}", path, defaultStripeSize, blockSize,
+ compress, bufferSize);
    }

    @VisibleForTesting

Search Discussions

  • Prasanthj at Mar 23, 2016 at 6:26 pm
    Repository: hive
    Updated Branches:
       refs/heads/branch-1 467e292ba -> 28ec243c3


    HIVE-13246: Add log line to ORC writer to print out the file path (Prasanth Jayachandran reviewed by Siddharth Seth)


    Project: http://git-wip-us.apache.org/repos/asf/hive/repo
    Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/28ec243c
    Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/28ec243c
    Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/28ec243c

    Branch: refs/heads/branch-1
    Commit: 28ec243c339b7c3b16e852440116ddcfd407db58
    Parents: 467e292
    Author: Prasanth Jayachandran <prasanthj@apache.org>
    Authored: Wed Mar 23 13:26:02 2016 -0500
    Committer: Prasanth Jayachandran <prasanthj@apache.org>
    Committed: Wed Mar 23 13:26:02 2016 -0500

    ----------------------------------------------------------------------
      ql/src/java/org/apache/hadoop/hive/ql/io/orc/WriterImpl.java | 3 +++
      1 file changed, 3 insertions(+)
    ----------------------------------------------------------------------


    http://git-wip-us.apache.org/repos/asf/hive/blob/28ec243c/ql/src/java/org/apache/hadoop/hive/ql/io/orc/WriterImpl.java
    ----------------------------------------------------------------------
    diff --git a/ql/src/java/org/apache/hadoop/hive/ql/io/orc/WriterImpl.java b/ql/src/java/org/apache/hadoop/hive/ql/io/orc/WriterImpl.java
    index b3a256f..bc62a34 100644
    --- a/ql/src/java/org/apache/hadoop/hive/ql/io/orc/WriterImpl.java
    +++ b/ql/src/java/org/apache/hadoop/hive/ql/io/orc/WriterImpl.java
    @@ -227,6 +227,9 @@ public class WriterImpl implements Writer, MemoryManager.Callback {

          // ensure that we are able to handle callbacks before we register ourselves
          memoryManager.addWriter(path, stripeSize, this);
    +
    + LOG.info("ORC writer created for path: " + path + " with stripeSize: " + defaultStripeSize + " blockSize: " +
    + blockSize + " compression: " + compress + " estimatedBufferSize: " + bufferSize);
        }

        private String getColumnNamesFromInspector(ObjectInspector inspector) {

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommits @
categorieshive, hadoop
postedMar 23, '16 at 6:23p
activeMar 23, '16 at 6:26p
posts2
users1
websitehive.apache.org

1 user in discussion

Prasanthj: 2 posts

People

Translate

site design / logo © 2021 Grokbase