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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]