You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by go...@apache.org on 2018/07/02 22:55:03 UTC
hive git commit: HIVE-20021: LLAP: Fall back to Synthetic File-ids
when getting a HdfsConstants.GRANDFATHER_INODE_ID (Gopal V,
reviewed by Sergey Shelukhin)
Repository: hive
Updated Branches:
refs/heads/branch-3 f5bbf4d0e -> 6ddfa8232
HIVE-20021: LLAP: Fall back to Synthetic File-ids when getting a HdfsConstants.GRANDFATHER_INODE_ID (Gopal V, reviewed by Sergey Shelukhin)
Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/6ddfa823
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/6ddfa823
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/6ddfa823
Branch: refs/heads/branch-3
Commit: 6ddfa8232f77af0b2c7638cf0d6cfc1dc22f5bc9
Parents: f5bbf4d
Author: Gopal V <go...@apache.org>
Authored: Mon Jul 2 15:54:24 2018 -0700
Committer: Gopal V <go...@apache.org>
Committed: Mon Jul 2 15:54:24 2018 -0700
----------------------------------------------------------------------
.../src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hive/blob/6ddfa823/shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java
----------------------------------------------------------------------
diff --git a/shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java b/shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java
index ec06a88..79c69ee 100644
--- a/shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java
+++ b/shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java
@@ -737,6 +737,9 @@ public class Hadoop23Shims extends HadoopShimsSecure {
@Override
public Long getFileId() {
+ if (fileId == HdfsConstants.GRANDFATHER_INODE_ID) {
+ return null;
+ }
return fileId;
}
}