[jira] [Created] (HADOOP-10006) Compilation failure in trunk for o.a.h.fs.swift.util.JSONUtil
Junping Du created HADOOP-10006: --- Summary: Compilation failure in trunk for o.a.h.fs.swift.util.JSONUtil Key: HADOOP-10006 URL: https://issues.apache.org/jira/browse/HADOOP-10006 Project: Hadoop Common Issue Type: Bug Components: fs, util Reporter: Junping Du Priority: Blocker The error is like following: ... [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project hadoop-openstack: Compilation failure: Compilation failure: [ERROR] /home/jdu/bdc/hadoop-trunk/hadoop-common/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/util/JSONUtil.java:[97,33] type parameters of TT cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object [ERROR] /home/jdu/bdc/hadoop-trunk/hadoop-common/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/util/JSONUtil.java:[115,33] type parameters of TT cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object -- 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
[jira] [Resolved] (HADOOP-10002) Tool's config option wouldn't work on secure clusters
[ https://issues.apache.org/jira/browse/HADOOP-10002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Harsh J resolved HADOOP-10002. -- Resolution: Duplicate Fix Version/s: 2.0.3-alpha Sorry about the noise. This should be fixed by HADOOP-9021 - turns out I wasn't looking at the right 2.0.x sources when debugging this. Tool's config option wouldn't work on secure clusters - Key: HADOOP-10002 URL: https://issues.apache.org/jira/browse/HADOOP-10002 Project: Hadoop Common Issue Type: Bug Components: security, util Affects Versions: 2.0.0-alpha Reporter: Harsh J Priority: Minor Fix For: 2.0.3-alpha The Tool framework provides a way for clients to run without classpath *-site.xml configs, by letting users pass -conf file to parse into the app's Configuration object. In a secure cluster config setup, such a runner will not work cause of UserGroupInformation.isSecurityEnabled() check, which is used in Server.java to determine what form of communication to use, will load statically a {{new Configuration()}} object to inspect if security is turned on during its initialization, which ignores the application config object and tries to load from classpath and ends up loading non-secure defaults. -- This message was sent by Atlassian JIRA (v6.1#6144)