You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by cr...@apache.org on 2013/11/01 18:08:41 UTC

git commit: SAMZA-75; change defaults in run-classh.sh for log dir and container name.

Updated Branches:
  refs/heads/master 7375e3234 -> ac11fd92d


SAMZA-75; change defaults in run-classh.sh for log dir and container name.


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

Branch: refs/heads/master
Commit: ac11fd92ddb5fc4ceed1aed1bd4de783ee7ed631
Parents: 7375e32
Author: Chris Riccomini <cr...@criccomi-mn.linkedin.biz>
Authored: Fri Nov 1 10:08:35 2013 -0700
Committer: Chris Riccomini <cr...@criccomi-mn.linkedin.biz>
Committed: Fri Nov 1 10:08:35 2013 -0700

----------------------------------------------------------------------
 samza-shell/src/main/bash/run-class.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-samza/blob/ac11fd92/samza-shell/src/main/bash/run-class.sh
----------------------------------------------------------------------
diff --git a/samza-shell/src/main/bash/run-class.sh b/samza-shell/src/main/bash/run-class.sh
index bda13fc..b593765 100755
--- a/samza-shell/src/main/bash/run-class.sh
+++ b/samza-shell/src/main/bash/run-class.sh
@@ -47,7 +47,11 @@ else
 fi
 
 if [ -z "$SAMZA_LOG_DIR" ]; then
-  SAMZA_LOG_DIR="/tmp"
+  SAMZA_LOG_DIR="$base_dir"
+fi
+
+if [ -z "$SAMZA_CONTAINER_NAME" ]; then
+  SAMZA_CONTAINER_NAME="undefined-samza-container-name"
 fi
 
 if [ -z "$SAMZA_OPTS" ]; then