You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by sa...@apache.org on 2016/07/07 20:36:47 UTC

[4/7] incubator-trafodion git commit: small fix for review and fix for a regr failure on jenkins cdh tests. Diff was due to cdh configuration not printing header for hive access causing hive/TEST005 to fail. So adding that to this PR.

small fix for review and fix for a regr failure on jenkins cdh tests. Diff was due to cdh configuration not printing header for hive access causing hive/TEST005 to fail. So adding that to this PR.


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/6857070e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/6857070e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/6857070e

Branch: refs/heads/master
Commit: 6857070edf499a21601507d17b14354b190321e2
Parents: ac1b131
Author: Sandhya Sundaresan <sa...@apache.org>
Authored: Wed Jul 6 00:06:54 2016 +0000
Committer: Sandhya Sundaresan <sa...@apache.org>
Committed: Wed Jul 6 00:06:54 2016 +0000

----------------------------------------------------------------------
 core/sql/regress/tools/regrhive.ksh                           | 2 +-
 core/sql/src/main/java/org/trafodion/sql/HBulkLoadClient.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/6857070e/core/sql/regress/tools/regrhive.ksh
----------------------------------------------------------------------
diff --git a/core/sql/regress/tools/regrhive.ksh b/core/sql/regress/tools/regrhive.ksh
index cf9a302..1f65171 100755
--- a/core/sql/regress/tools/regrhive.ksh
+++ b/core/sql/regress/tools/regrhive.ksh
@@ -28,5 +28,5 @@
 if [ -x $MY_SQROOT/sql/scripts/swhive ]; then
   swhive $*
 else
-  hive $*
+  hive -hiveconf hive.cli.print.header=true $*
 fi

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/6857070e/core/sql/src/main/java/org/trafodion/sql/HBulkLoadClient.java
----------------------------------------------------------------------
diff --git a/core/sql/src/main/java/org/trafodion/sql/HBulkLoadClient.java b/core/sql/src/main/java/org/trafodion/sql/HBulkLoadClient.java
index 2853be3..a1a3d1a 100644
--- a/core/sql/src/main/java/org/trafodion/sql/HBulkLoadClient.java
+++ b/core/sql/src/main/java/org/trafodion/sql/HBulkLoadClient.java
@@ -475,7 +475,7 @@ public class HBulkLoadClient
        writer.close();
        writer = null;
     }
-    // sss This is one place that is unconditionally closing the 
+    //  This is one place that is unconditionally closing the 
     // hdfsFs that's part of this thread's JNIenv.
     // if (fileSys !=null)
     {