From 23ab98f52f178b0ea87cd48b65556e336015495b Mon Sep 17 00:00:00 2001 From: Thomas Graves Date: Mon, 10 Jul 2017 16:41:33 +0000 Subject: [PATCH] [HADOOPPF-20466] fix gc log name --- ypackage/conf/spark-env-gen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ypackage/conf/spark-env-gen.sh b/ypackage/conf/spark-env-gen.sh index 426d239cabd20..615a104ebcd3b 100644 --- a/ypackage/conf/spark-env-gen.sh +++ b/ypackage/conf/spark-env-gen.sh @@ -25,7 +25,7 @@ fi if [ -z ${spark_history_gc_log_dir} ] then - spark_gc_log_file_formatted="-Xloggc:/home/gs/var/log/mapred/gc-sparkhistoryserver.log-`date +'%Y%m%d%H%M'`" + spark_gc_log_file_formatted="-Xloggc:/home/gs/var/log/mapred/gc-sparkhistoryserver.log-\`date +'%Y%m%d%H%M'\`" fi spark_all_history_gc_opts="${spark_history_gc_opts} ${spark_gc_log_file_formatted}"