aboutsummaryrefslogtreecommitdiffstats
path: root/cdap3vm/config/services-templates/job-history-server.sh
diff options
context:
space:
mode:
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 ;;