You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ha...@apache.org on 2018/02/27 17:31:38 UTC

hive git commit: HIVE-18507 : AccumuloIndexedOutputFormat.AccumuloRecordWriter.close() - typo in the condition (Oleg Danilov via Ashutosh Chauhan)

Repository: hive
Updated Branches:
  refs/heads/master 5c29873ce -> 2ecf5b8dc


HIVE-18507 : AccumuloIndexedOutputFormat.AccumuloRecordWriter.close() - typo in the condition (Oleg Danilov via Ashutosh Chauhan)

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


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

Branch: refs/heads/master
Commit: 2ecf5b8dc0f68b7099a8c75a38962e6a6b82a09a
Parents: 5c29873
Author: Oleg Danilov <ol...@olegd.com>
Authored: Sun Jan 21 15:10:00 2018 -0800
Committer: Ashutosh Chauhan <ha...@apache.org>
Committed: Tue Feb 27 09:30:56 2018 -0800

----------------------------------------------------------------------
 .../hadoop/hive/accumulo/mr/AccumuloIndexedOutputFormat.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/2ecf5b8d/accumulo-handler/src/java/org/apache/hadoop/hive/accumulo/mr/AccumuloIndexedOutputFormat.java
----------------------------------------------------------------------
diff --git a/accumulo-handler/src/java/org/apache/hadoop/hive/accumulo/mr/AccumuloIndexedOutputFormat.java b/accumulo-handler/src/java/org/apache/hadoop/hive/accumulo/mr/AccumuloIndexedOutputFormat.java
index a63b0fc..d1efcd4 100644
--- a/accumulo-handler/src/java/org/apache/hadoop/hive/accumulo/mr/AccumuloIndexedOutputFormat.java
+++ b/accumulo-handler/src/java/org/apache/hadoop/hive/accumulo/mr/AccumuloIndexedOutputFormat.java
@@ -297,7 +297,7 @@ public class AccumuloIndexedOutputFormat extends AccumuloOutputFormat {
         try {
           this.mtbw.close();
         } catch (MutationsRejectedException var7) {
-          if(var7.getAuthorizationFailuresMap().size() >= 0) {
+          if(var7.getAuthorizationFailuresMap().size() > 0) {
             Map tables = new HashMap();
 
             Map.Entry ke;