[ https://issues.apache.org/jira/browse/OOZIE-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15215375#comment-15215375 ]
Hadoop QA commented on OOZIE-2490: ---------------------------------- Testing JIRA OOZIE-2490 Cleaning local git workspace ---------------------------- {color:green}+1 PATCH_APPLIES{color} {color:green}+1 CLEAN{color} {color:red}-1 RAW_PATCH_ANALYSIS{color} . {color:green}+1{color} the patch does not introduce any @author tags . {color:green}+1{color} the patch does not introduce any tabs . {color:green}+1{color} the patch does not introduce any trailing spaces . {color:green}+1{color} the patch does not introduce any line longer than 132 . {color:red}-1{color} the patch does not add/modify any testcase {color:green}+1 RAT{color} . {color:green}+1{color} the patch does not seem to introduce new RAT warnings {color:green}+1 JAVADOC{color} . {color:green}+1{color} the patch does not seem to introduce new Javadoc warnings {color:green}+1 COMPILE{color} . {color:green}+1{color} HEAD compiles . {color:green}+1{color} patch compiles . {color:green}+1{color} the patch does not seem to introduce new javac warnings {color:green}+1 BACKWARDS_COMPATIBILITY{color} . {color:green}+1{color} the patch does not change any JPA Entity/Colum/Basic/Lob/Transient annotations . {color:green}+1{color} the patch does not modify JPA files {color:red}-1 TESTS{color} - patch does not compile, cannot run testcases {color:green}+1 DISTRO{color} . {color:green}+1{color} distro tarball builds with the patch ---------------------------- {color:red}*-1 Overall result, please check the reported -1(s)*{color} The full output of the test-patch run is available at . https://builds.apache.org/job/oozie-trunk-precommit-build/2799/ > Oozie can't set hadoop.security.token.service.use_ip > ---------------------------------------------------- > > Key: OOZIE-2490 > URL: https://issues.apache.org/jira/browse/OOZIE-2490 > Project: Oozie > Issue Type: Bug > Affects Versions: trunk > Reporter: Robert Kanter > Assignee: Robert Kanter > Fix For: trunk > > Attachments: OOZIE-2490.001.patch > > > Currently, Oozie has no way of setting > {{hadoop.security.token.service.use_ip}} to the non-default value, as > explained in HADOOP-12954. Once that is resolved, we should have Oozie set > {{hadoop.security.token.service.use_ip}} on startup via the new method added > by HADOOP-12954. > {{hadoop.security.token.service.use_ip}} (default=true) is needed if your > network is setup such that you need to use hostnames in delegation tokens > instead of ip addresses. > e.g. > {noformat} > Kind: HDFS_DELEGATION_TOKEN, Service: 127.0.0.1:8020, Ident: > (HDFS_DELEGATION_TOKEN token 7 for hive) > {noformat} > vs > {noformat} > Kind: HDFS_DELEGATION_TOKEN, Service: foo.bar.cloudera.com:8020, Ident: > (HDFS_DELEGATION_TOKEN token 4 for hive) > {noformat} > Some notes: > - Ideally, {{hadoop.security.token.service.use_ip}} could be set on a > per-cluster basis (because Oozie supports multiple clusters), however, like > many of Hadoop's Security stuff, it's static so we can't. I think we should > have Oozie use the {{Configuration}} associated with the default NN/JT/RM > when setting this. > - We'll have to use reflection to do this because HADOOP-12954 will add a new > method and we can't guarantee the method is there. If the method doesn't > exist, there's no alternative to set > {{hadoop.security.token.service.use_ip}}, so we'll just ignore it. -- This message was sent by Atlassian JIRA (v6.3.4#6332)