[
https://issues.apache.org/jira/browse/OOZIE-689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13203704#comment-13203704
]
Alejandro Abdelnur commented on OOZIE-689:
------------------------------------------
As done in the testcase of proxyuser for Hadoop MiniMRYarnCluster, we should
inject all possible hosts
----
StringBuilder sb = new StringBuilder();
sb.append("127.0.0.1,localhost");
for (InetAddress i :
InetAddress.getAllByName(InetAddress.getLocalHost().getHostName())) {
sb.append(",").append(i.getCanonicalHostName());
}
conf.set("hadoop.proxyuser." + oozieUser + ".hosts", sb.toString());
----
> XTestCase proxyuser settings fails with Hadoop 0.23.1
> -----------------------------------------------------
>
> Key: OOZIE-689
> URL: https://issues.apache.org/jira/browse/OOZIE-689
> Project: Oozie
> Issue Type: Bug
> Reporter: Alejandro Abdelnur
> Assignee: Alejandro Abdelnur
>
> Hadoop 1.x does not support the '*' wildcard and Hadoop 0.23.x does not
> process the wildcard as such if the value is '*,hostlocal'.
> Furthermore, in different OSes, depending on the network configuration, the
> host name is resolved to IPs or names.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira