You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by "develop-vijay (via GitHub)" <gi...@apache.org> on 2025/08/04 06:54:23 UTC

[PR] AMBARI-26536: Support hadoop credential provider for AMS [ambari-metrics]

develop-vijay opened a new pull request, #171:
URL: https://github.com/apache/ambari-metrics/pull/171

   <!---
      Licensed to the Apache Software Foundation (ASF) under one or more
      contributor license agreements.  See the NOTICE file distributed with
      this work for additional information regarding copyright ownership.
      The ASF licenses this file to You under the Apache License, Version 2.0
      (the "License"); you may not use this file except in compliance with
      the License.  You may obtain a copy of the License at
          http://www.apache.org/licenses/LICENSE-2.0
      Unless required by applicable law or agreed to in writing, software
      distributed under the License is distributed on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
      See the License for the specific language governing permissions and
      limitations under the License.
   --->
   
   ## What changes were proposed in this pull request?
   
   Support hadoop credential provider for AMS
   
   ## How was this patch tested?
   
   Test 1:
   
   1. Created a new credential store with keystore password
   2. Configured ```hadoop.security.credential.provider.path``` in ams-site.xml to point to jceks path. Ex: jceks://file/tmp/test.jceks
   3. Started the AMS service to observe the passwords are read from cred store
   
   Test 2:
   
   1. Created a new credential store with keystore password
   2. Configured ```hadoop.security.credential.provider.path``` in ams-site.xml to point to jceks path. Ex: jceks://file/tmp/test.jceks
   3. Passwords are present in cred store
   4. Started the AMS service to observe the passwords are read from AMS configuration file directly
   
   Test 3:
   
   1. Created a new credential store with keystore password
   2. Credential store not configured
   3. Started the AMS service to observe the passwords are read from AMS configuration file directly
   
   
   Please review [Ambari Contributing Guide](https://cwiki.apache.org/confluence/display/AMBARI/How+to+Contribute) before opening a pull request.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@ambari.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ambari.apache.org
For additional commands, e-mail: commits-help@ambari.apache.org