[ 
https://issues.apache.org/jira/browse/HADOOP-15966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16708896#comment-16708896
 ] 

Steve Loughran commented on HADOOP-15966:
-----------------------------------------

And a bit of a stack for searches; HOST1 is the host in question. 

Note how there's not a chance of recovery but the retry logic doesn't recognise 
this.
IllegalArgumentExceptions need to uprated to unrecoverable errors
{code}
2018-12-04 15:32:30,173 [main] INFO  retry.RetryInvocationHandler 
(RetryInvocationHandler.java:log(411)) - java.io.IOException: DestHost:destPort 
HOST1:8020 , LocalHost:localPort HW13176.local/192.168.99.1:0. Failed on local 
exception: java.io.IOException: Couldn't set up IO streams: 
java.lang.IllegalArgumentException: Null realm name (601), while invoking 
ClientNamenodeProtocolTranslatorPB.getFileInfo over HOST1/172.27.15.4:8020 
after 1 failover attempts. Trying to failover after sleeping for 1316ms.
2018-12-04 15:32:31,850 [main] INFO  retry.RetryInvocationHandler 
(RetryInvocationHandler.java:log(411)) - java.io.IOExcepti
{code}

> Hadoop Kerberos broken on macos as java.security.krb5.realm is reset: Null 
> realm name (601)
> -------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-15966
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15966
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 3.0.3
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Major
>             Fix For: 3.0.4, 3.2.1, 3.1.3
>
>         Attachments: HADOOP-15966-001.patch
>
>
> HADOOP-8719 may have been valid at some point, but since then the world has 
> moved on
> * nobody should be using Hadoop without Kerberos
> * kerberos support on java 8 + macos works just fine
> The clause to reset the java system properties is enough to stop kerberos 
> working, even
> when the user is kinited in.
> Propose: remove/revert the changes. If people want it, they can set the 
> options in {{HADOOP_CLIENT_OPTS}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to