瀏覽代碼

Merge pull request #11732 from Michael-Gardner/HPCC-20575

HPCC-20575 Comment out debugging information in spark components

Reviewed-By: Xiaoming Wang <xiaoming.wang@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 6 年之前
父節點
當前提交
2f94488190
共有 2 個文件被更改,包括 6 次插入4 次删除
  1. 3 2
      initfiles/sbin/sparkthor-worker.sh.in
  2. 3 2
      initfiles/sbin/sparkthor.sh.in

+ 3 - 2
initfiles/sbin/sparkthor-worker.sh.in

@@ -18,8 +18,9 @@
 _command=${1:-start}
 _component=${2:-mysparkthor}
 
-exec 3>&2 2>@LOG_PATH@/${_component}/sparkthor-worker.${_command}.debug
-set -x
+#### Uncomment following lines for verbose debugging
+#exec 3>&2 2>@LOG_PATH@/${_component}/sparkthor-worker.${_command}.debug
+#set -x
 
 export logfile="@LOG_PATH@/${_component}/sparkthor-worker.log"
 source @INSTALL_DIR@/etc/init.d/hpcc_common

+ 3 - 2
initfiles/sbin/sparkthor.sh.in

@@ -19,8 +19,9 @@
 _command=${1:-start}
 _component=${2:-mysparkthor}
 
-exec 3>&2 2>/@LOG_PATH@/${_component}/sparkthor.sh.debug
-set -x
+#### Uncomment following lines for verbose debugging
+#exec 3>&2 2>/@LOG_PATH@/${_component}/sparkthor.sh.debug
+#set -x
 
 export logfile="@LOG_PATH@/${_component}/sparkthor.log"
 source @INSTALL_DIR@/etc/init.d/hpcc_common