Bläddra i källkod

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 år sedan
förälder
incheckning
2f94488190
2 ändrade filer med 6 tillägg och 4 borttagningar
  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