aboutsummaryrefslogtreecommitdiffstats
path: root/cdap3vm/config/services-templates/job-history-server.sh
diff options
context:
space:
mode:
authorLisa Revel <lr0306@att.com>2017-05-09 17:23:13 -0400
committerLisa Revel <lr0306@att.com>2017-05-11 19:40:59 +0000
commite99ee402295827468bdd81b9308531a88deb7dc4 (patch)
tree6954428fa5e25d1ab55a5f0507f27de45a6e377f /cdap3vm/config/services-templates/job-history-server.sh
parentc267e9c7d288aaa5d8c32f1910b2d0e62c2d2b00 (diff)
[DCAE-17] Updates for r1.1.0
Change-Id: I0a930cb56f0db0f90870b14aef74ef6c00324276 Signed-off-by: Lisa Revel <lr0306@att.com>
Diffstat (limited to 'cdap3vm/config/services-templates/job-history-server.sh')
-rw-r--r--cdap3vm/config/services-templates/job-history-server.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/cdap3vm/config/services-templates/job-history-server.sh b/cdap3vm/config/services-templates/job-history-server.sh
index 8f39aba..ba1296c 100644
--- a/cdap3vm/config/services-templates/job-history-server.sh
+++ b/cdap3vm/config/services-templates/job-history-server.sh
@@ -20,11 +20,13 @@
# Job History Server
+# [173931] now running as __MAPRED_USER__
+
ACTION="$1"
case "$ACTION" in
start|stop )
- su "__HDFS_USER__" -c "__HDP_CURRENT_FOLDER__/hadoop-mapreduce-historyserver/sbin/mr-jobhistory-daemon.sh --config __HADOOP_CONF_DIR__ $ACTION historyserver" ;;
+ su "__MAPRED_USER__" -c "__HDP_CURRENT_FOLDER__/hadoop-mapreduce-historyserver/sbin/mr-jobhistory-daemon.sh --config __HADOOP_CONF_DIR__ $ACTION historyserver" ;;
* )
echo "Usage: $0 <start|stop>"
exit -1 ;;