AMBARI-22622. NFSGateway start failing with error : "ERROR: You must be a 
privileged user in order to run a secure service." (aonishuk)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/09672641
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/09672641
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/09672641

Branch: refs/heads/branch-feature-AMBARI-21674
Commit: 096726416556baedbc53f74ee60ea2056df90380
Parents: 45f2a6e
Author: Andrew Onishuk <aonis...@hortonworks.com>
Authored: Mon Dec 11 16:15:01 2017 +0200
Committer: Andrew Onishuk <aonis...@hortonworks.com>
Committed: Mon Dec 11 16:15:01 2017 +0200

----------------------------------------------------------------------
 .../HDFS/3.0.0.3.0/package/scripts/status_params.py                | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/09672641/ambari-server/src/main/resources/common-services/HDFS/3.0.0.3.0/package/scripts/status_params.py
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/resources/common-services/HDFS/3.0.0.3.0/package/scripts/status_params.py
 
b/ambari-server/src/main/resources/common-services/HDFS/3.0.0.3.0/package/scripts/status_params.py
index 153f9a6..437ac92 100644
--- 
a/ambari-server/src/main/resources/common-services/HDFS/3.0.0.3.0/package/scripts/status_params.py
+++ 
b/ambari-server/src/main/resources/common-services/HDFS/3.0.0.3.0/package/scripts/status_params.py
@@ -42,7 +42,7 @@ else:
   snamenode_pid_file = 
format("{hadoop_pid_dir}/hadoop-{hdfs_user}-secondarynamenode.pid")
   journalnode_pid_file = 
format("{hadoop_pid_dir}/hadoop-{hdfs_user}-journalnode.pid")
   zkfc_pid_file = format("{hadoop_pid_dir}/hadoop-{hdfs_user}-zkfc.pid")
-  nfsgateway_pid_file = 
format("{hadoop_pid_dir_prefix}/root/hadoop_privileged_nfs3.pid")
+  nfsgateway_pid_file = 
format("{hadoop_pid_dir_prefix}/privileged-root-nfs3.pid")
 
   # Security related/required params
   hostname = config['hostname']

Reply via email to