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 2016/02/02 18:12:57 UTC
[10/13] incubator-trafodion git commit: [[TRAFODION 1790 ]] JPS error
[[TRAFODION 1790 ]] JPS error
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/b5163996
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/b5163996
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/b5163996
Branch: refs/heads/master
Commit: b516399604b7d2c947ec7cfdce7442d0261626ba
Parents: 246eb86
Author: Amanda Moran <am...@apache.com>
Authored: Thu Jan 28 18:29:56 2016 +0000
Committer: Amanda Moran <am...@apache.com>
Committed: Thu Jan 28 18:29:56 2016 +0000
----------------------------------------------------------------------
install/installer/traf_config_check | 2 +-
install/installer/trafodion_install | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/b5163996/install/installer/traf_config_check
----------------------------------------------------------------------
diff --git a/install/installer/traf_config_check b/install/installer/traf_config_check
index eaebc17..9ef5fbe 100755
--- a/install/installer/traf_config_check
+++ b/install/installer/traf_config_check
@@ -426,7 +426,7 @@ else
fi
done
fi
- export PATH=$PATH:$JAVA_HOME/bin
+ export PATH="$PATH:$JAVA_HOME/bin"
sudo chmod 777 $TRAF_CONFIG
sed -i '/PATH\=/d' $TRAF_CONFIG
echo "export PATH=\"$PATH\"" >>$TRAF_CONFIG
http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/b5163996/install/installer/trafodion_install
----------------------------------------------------------------------
diff --git a/install/installer/trafodion_install b/install/installer/trafodion_install
index ea55eb5..5ce53dd 100755
--- a/install/installer/trafodion_install
+++ b/install/installer/trafodion_install
@@ -75,6 +75,8 @@ function removePassword {
function fixPermissions {
+#Change ownership of this file to be owned by traf user and traf group
+#Errors with JPS will happen if not modified
if [[ -d /tmp/hsperfdata_trafodion ]]; then
$TRAF_PDSH sudo chown -R $TRAF_USER.trafodion /tmp/hsperfdata_trafodion
fi