You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by db...@apache.org on 2017/12/13 22:48:40 UTC

[1/2] incubator-trafodion git commit: additional fixes to [TRAFODION-2806]

Repository: incubator-trafodion
Updated Branches:
  refs/heads/master 4dfe27eba -> 9f9d27664


additional fixes to [TRAFODION-2806]


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

Branch: refs/heads/master
Commit: 7920ef32744e7c5ac65dd605065b505788668a77
Parents: 6d2213d
Author: Eason <hf...@gmail.com>
Authored: Wed Nov 29 18:10:34 2017 +0800
Committer: Eason <hf...@gmail.com>
Committed: Wed Nov 29 18:19:01 2017 +0800

----------------------------------------------------------------------
 core/sqf/sql/scripts/sqgen   | 7 +++++++
 core/sqf/sql/scripts/sqstart | 6 +++++-
 2 files changed, 12 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7920ef32/core/sqf/sql/scripts/sqgen
----------------------------------------------------------------------
diff --git a/core/sqf/sql/scripts/sqgen b/core/sqf/sql/scripts/sqgen
index 1ee8f17..aaf7157 100755
--- a/core/sqf/sql/scripts/sqgen
+++ b/core/sqf/sql/scripts/sqgen
@@ -171,10 +171,17 @@ mkdir -p $MPI_TMPDIR
 # mkdir a dir for CBF data used by SQL IUS feature
 mkdir -p $HOME/cbfs
 
+# Clean HBase classpath cache file
+echo "Clean up HBase classpath cache file: $TRAF_VAR/hbase_classpath"
+rm -rf $TRAF_VAR/hbase_classpath
+
 if  [[ -n "$node_count" ]] && [[ "$node_count" -gt "1" ]]; then    
     echo
     echo "Creating directories on cluster nodes"
 
+    # Clean HBase classpath cache file on all nodes
+    $PDSH -w ${ExNodeList[@]} -x `uname -n` $PDSH_SSH_CMD rm -rf $TRAF_VAR/hbase_classpath
+
     echo "$PDSH -w ${ExNodeList[@]} -x `uname -n` $PDSH_SSH_CMD mkdir -p $SQETC_DIR "
     $PDSH -w ${ExNodeList[@]} -x `uname -n` $PDSH_SSH_CMD mkdir -p $SQETC_DIR
     

http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/7920ef32/core/sqf/sql/scripts/sqstart
----------------------------------------------------------------------
diff --git a/core/sqf/sql/scripts/sqstart b/core/sqf/sql/scripts/sqstart
index f5eeef1..cd55a49 100755
--- a/core/sqf/sql/scripts/sqstart
+++ b/core/sqf/sql/scripts/sqstart
@@ -418,8 +418,12 @@ rm -f $MPI_TMPDIR/monitor.port.*
 
 setup_sqpdsh
 
+# Clean HBase classpath cache file
+echo "Clean up HBase classpath cache file: $TRAF_VAR/hbase_classpath"
+$SQPDSHA "rm -rf $TRAF_VAR/hbase_classpath"
+
 # Clear unique strings
-$SQPDSHA 'cd $TRAF_HOME/sql/scripts; utilConfigDb -u'
+$SQPDSHA "cd $TRAF_HOME/sql/scripts; utilConfigDb -u"
 
 echoLog "Executing sqipcrm (output to sqipcrm.out)"
 sqipcrm > sqipcrm.out


[2/2] incubator-trafodion git commit: Merge [TRAFODION-2806] PR 1315 Additional fixes

Posted by db...@apache.org.
Merge [TRAFODION-2806] PR 1315 Additional fixes


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

Branch: refs/heads/master
Commit: 9f9d27664ca66084a6097279b3b623b0261d077e
Parents: 4dfe27e 7920ef3
Author: Dave Birdsall <db...@apache.org>
Authored: Wed Dec 13 22:47:51 2017 +0000
Committer: Dave Birdsall <db...@apache.org>
Committed: Wed Dec 13 22:47:51 2017 +0000

----------------------------------------------------------------------
 core/sqf/sql/scripts/sqgen   | 7 +++++++
 core/sqf/sql/scripts/sqstart | 6 +++++-
 2 files changed, 12 insertions(+), 1 deletion(-)
----------------------------------------------------------------------