Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
There is a hard coded logic to creating the user-group mapping for services. This presents an issue for custom services. Fix is to make it stack driven by connecting user to its groups within the configuration/stack definition itself
Attachments
Attachments
- AMBARI-20034.patch
- 46 kB
- Madhuvanthi Radhakrishnan
- AMBARI-20034_trunk.patch
- 47 kB
- Madhuvanthi Radhakrishnan
- AMBARI-20034_2.5.patch
- 46 kB
- Madhuvanthi Radhakrishnan
- AMBARI-20034_2.5_addendum.patch
- 1 kB
- Madhuvanthi Radhakrishnan
- AMBARI_20034_trunk_addendum.patch
- 1 kB
- Madhuvanthi Radhakrishnan
Issue Links
- links to
Activity
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12854356/AMBARI-20034_2.5.patch
against trunk revision .
-1 patch. The patch command could not apply the patch.
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/10721//console
This message is automatically generated.
FAILURE: Integrated in Jenkins build Ambari-branch-2.5 #1088 (See https://builds.apache.org/job/Ambari-branch-2.5/1088/)
AMBARI-20034. USER to GROUP mapping (hdfs_user -> hadoop_group) should (smohanty: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=b856c5f37c0573d4231b1976ad1523425947e2f8)
- (edit) ambari-server/src/test/java/org/apache/ambari/server/stack/StackManagerTest.java
- (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java
- (edit) ambari-server/src/main/java/org/apache/ambari/server/agent/ExecutionCommand.java
- (add) ambari-server/src/main/java/org/apache/ambari/server/state/UserGroupInfo.java
- (edit) ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ClientConfigResourceProviderTest.java
- (edit) ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py
- (edit) ambari-server/src/main/java/org/apache/ambari/server/state/ConfigHelper.java
- (edit) ambari-server/src/main/java/org/apache/ambari/server/state/ValueAttributesInfo.java
- (edit) ambari-server/src/test/java/org/apache/ambari/server/api/services/AmbariMetaInfoTest.java
- (edit) ambari-server/src/test/python/stacks/2.0.6/configs/default.json
- (edit) ambari-server/src/main/resources/configuration-schema.xsd
- (edit) ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelperTest.java
- (edit) ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java
- (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelper.java
- (edit) ambari-server/src/main/java/org/apache/ambari/server/state/PropertyInfo.java
- (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClientConfigResourceProvider.java
- (add) ambari-server/src/test/resources/stacks/HDP/0.1/services/HDFS/configuration/hadoop-env.xml
- (edit) ambari-server/src/main/java/org/apache/ambari/server/state/ServiceInfo.java
FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #6848 (See https://builds.apache.org/job/Ambari-trunk-Commit/6848/)
AMBARI-20034. USER to GROUP mapping (hdfs_user -> hadoop_group) should (smohanty: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=42d3305db3fbf090eb19ab538a462305df88cbc2)
- (edit) ambari-server/src/test/java/org/apache/ambari/server/api/services/AmbariMetaInfoTest.java
- (edit) ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java
- (edit) ambari-server/src/main/java/org/apache/ambari/server/state/ServiceInfo.java
- (add) ambari-server/src/main/java/org/apache/ambari/server/state/UserGroupInfo.java
- (edit) ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelperTest.java
- (edit) ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ClientConfigResourceProviderTest.java
- (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelper.java
- (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClientConfigResourceProvider.java
- (edit) ambari-server/src/main/java/org/apache/ambari/server/agent/ExecutionCommand.java
- (edit) ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py
- (edit) ambari-server/src/main/resources/configuration-schema.xsd
- (edit) ambari-server/src/main/java/org/apache/ambari/server/state/ConfigHelper.java
- (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java
- (edit) ambari-server/src/main/java/org/apache/ambari/server/state/ValueAttributesInfo.java
- (add) ambari-server/src/test/resources/stacks/HDP/0.1/services/HDFS/configuration/hadoop-env.xml
- (edit) ambari-server/src/main/java/org/apache/ambari/server/state/PropertyInfo.java
- (edit) ambari-server/src/test/python/stacks/2.0.6/configs/default.json
- (edit) ambari-server/src/test/java/org/apache/ambari/server/stack/StackManagerTest.java
FAILURE: Integrated in Jenkins build Ambari-branch-2.5 #1092 (See https://builds.apache.org/job/Ambari-branch-2.5/1092/)
AMBARI-20034. USER to GROUP mapping (hdfs_user -> hadoop_group) should (jluniya: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=d707c9507280209979d490c7c04b91259f7dcf16)
- (edit) ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java
FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #6851 (See https://builds.apache.org/job/Ambari-trunk-Commit/6851/)
AMBARI-20034. USER to GROUP mapping (hdfs_user -> hadoop_group) should (jluniya: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=3809bdc6d5fe367c2c3207812ee42856214db8de)
- (edit) ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java
SUCCESS: Integrated in Jenkins build Ambari-branch-2.5 #1093 (See https://builds.apache.org/job/Ambari-branch-2.5/1093/)
AMBARI-20034. USER to GROUP mapping (hdfs_user -> hadoop_group) should (jluniya: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=cec36313c7adb3c50e7a5b93beeacbec17de87f9)
- (edit) ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelperTest.java
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12854314/AMBARI-20034.patch
against trunk revision .
-1 patch. The patch command could not apply the patch.
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/10714//console
This message is automatically generated.