[
https://issues.apache.org/jira/browse/HADOOP-10006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13780859#comment-13780859
]
Junping Du commented on HADOOP-10006:
-------------------------------------
Hi Steve, I am still using an old version Oracle/Sun JDK 1.6.0_22. Shall I turn
to something new like 1.7.0_15?
Yes. I just verified that build on trunk works fine now on my env. Thanks for
review and get this patch in.
> 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
> Assignee: Junping Du
> Priority: Blocker
> Fix For: 3.0.0, 2.3.0
>
> Attachments: HADOOP-10006.patch
>
>
> 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 <T>T 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 <T>T 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