FAQ
Repository: hive
Updated Branches:
   refs/heads/master e65ecc583 -> 55c6d41d1


HIVE-10790 : orc write on viewFS throws exception (Xioawei Wang via Ashutosh Chauhan)

Signed-off-by: Ashutosh Chauhan <hashutosh@apache.org>


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

Branch: refs/heads/master
Commit: 55c6d41d1af28f47807eaac7c468bdb2c74a9355
Parents: e65ecc5
Author: xiaowei wang <wangxiaoweihust@163.com>
Authored: Thu Jun 11 02:35:00 2015 -0700
Committer: Ashutosh Chauhan <hashutosh@apache.org>
Committed: Tue Jun 23 14:51:40 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/hive/blob/55c6d41d/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 c8b0ffc..0053a19 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
@@ -2101,7 +2101,7 @@ public class WriterImpl implements Writer, MemoryManager.Callback {
    FSDataOutputStream getStream() throws IOException {
      if (rawWriter == null) {
        rawWriter = fs.create(path, false, HDFS_BUFFER_SIZE,
- fs.getDefaultReplication(), blockSize);
+ fs.getDefaultReplication(path), blockSize);
        rawWriter.writeBytes(OrcFile.MAGIC);
        headerLength = rawWriter.getPos();
        writer = new OutStream("metadata", bufferSize, codec,

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommits @
categorieshive, hadoop
postedJun 23, '15 at 9:52p
activeJun 23, '15 at 9:52p
posts1
users1
websitehive.apache.org

1 user in discussion

Hashutosh: 1 post

People

Translate

site design / logo © 2021 Grokbase