> On July 27, 2017, 7:55 p.m., Robert Levas wrote:
> > ambari-server/src/main/java/org/apache/ambari/server/serveraction/upgrades/FixAuthToLocalMappingAction.java
> > Lines 36-37 (patched)
> > <https://reviews.apache.org/r/61168/diff/2/?file=1784339#file1784339line36>
> >
> >     There may be lots of different auth-to-local rule sets.  The main one 
> > is `core-site/hadoop.security.auth_to_local`. 
> >     
> >     See 
> > `org.apache.ambari.server.state.kerberos.KerberosDescriptor#getAllAuthToLocalProperties`
> >     
> >     For example: 
> >     
> >     - `kms-site/hadoop.kms.authentication.kerberos.name.rules`
> >     - 
> > `falcon-startup.properties/*.falcon.http.authentication.kerberos.name.rules`

Hi Rob, I haven't verified RANGER upgrade works find or not. Does your comment 
point to checking there auth_to_local for the exact same inconsistencies? I 
have manually verified this works for HIVE, can we get this change in and fix 
as we hit issues? We can use the same class and make changes as needed.


> On July 27, 2017, 7:55 p.m., Robert Levas wrote:
> > ambari-server/src/main/java/org/apache/ambari/server/serveraction/upgrades/FixAuthToLocalMappingAction.java
> > Lines 83 (patched)
> > <https://reviews.apache.org/r/61168/diff/2/?file=1784339#file1784339line83>
> >
> >     Technically there should be no HTTP rule in the auth_to_local rules.  
> > This is not really a user identitiy.

So the local user mapping of this rule does not matter, we should remove the 
HTTP rule? I will update the patch accordingly.


- Sid


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/61168/#review181606
-----------------------------------------------------------


On July 27, 2017, 6:58 p.m., Sid Wagle wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/61168/
> -----------------------------------------------------------
> 
> (Updated July 27, 2017, 6:58 p.m.)
> 
> 
> Review request for Ambari, Attila Doroszlai, Alejandro Fernandez, Jonathan 
> Hurley, Robert Levas, and Sumit Mohanty.
> 
> 
> Bugs: AMBARI-21577
>     https://issues.apache.org/jira/browse/AMBARI-21577
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Hive Service check is failing :- 
> 
> {code}
> HTTP/[email protected] is not allowed to 
> impersonate ambari-qa
> {code}
> 
> Patch executes custom action to remove offending rules.
> 
> 
> Diffs
> -----
> 
>   
> ambari-server/src/main/java/org/apache/ambari/server/serveraction/upgrades/FixAuthToLocalMappingAction.java
>  PRE-CREATION 
>   
> ambari-server/src/main/resources/stacks/BigInsights/4.2.5/upgrades/nonrolling-upgrade-to-hdp-2.6.xml
>  684acfa 
>   
> ambari-server/src/main/resources/stacks/BigInsights/4.2/upgrades/nonrolling-upgrade-to-hdp-2.6.xml
>  484e459 
>   
> ambari-server/src/test/java/org/apache/ambari/server/serveraction/upgrades/FixAuthToLocalMappingActionTest.java
>  PRE-CREATION 
> 
> 
> Diff: https://reviews.apache.org/r/61168/diff/2/
> 
> 
> Testing
> -------
> 
> Pending manual test.
> 
> 
> Thanks,
> 
> Sid Wagle
> 
>

Reply via email to