[ 
https://issues.apache.org/jira/browse/HADOOP-9305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aaron T. Myers updated HADOOP-9305:
-----------------------------------

    Attachment: HADOOP-9305.patch

Here's a simple patch which addresses the issue. The only behavior changes are 
to conditionally load the AIX64LoginModule and the UsernamePrincipal classes if 
we're on a 64-bit AIX box, instead of the AIXLoginModule and AIXPrincipal 
classes. This patch also refactors the getOsPrincipalClass a little bit to 
reduce some code repetition.

No tests are included since to test this properly would require an AIX box. I 
tested this manually by running with both 32-bit and 64-bit AIX clients and 
confirming that it works as expected, both with and without Kerberos enabled. 
Without the patch only 32-bit clients will work. I also ensured there are no 
regressions by testing the Hadoop client with both IBM Java and Sun Java on 
Linux both with and without Kerberos enabled. Everything worked as expected.
                
> Add support for running the Hadoop client on 64-bit AIX
> -------------------------------------------------------
>
>                 Key: HADOOP-9305
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9305
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.0.3-alpha
>            Reporter: Aaron T. Myers
>            Assignee: Aaron T. Myers
>         Attachments: HADOOP-9305.patch
>
>
> HADOOP-9283 added support for running the Hadoop client on AIX, but only with 
> 32-bit JREs. This JIRA is to add support for 64-bit JREs as well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to