[ 
https://issues.apache.org/jira/browse/HADOOP-10006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Junping Du updated HADOOP-10006:
--------------------------------

    Attachment: HADOOP-10006.patch

Seems like a type mismatch here, update a quick fix to cast to T type which 
works fine on my local env. 
Hi [[email protected]], it seems to be related to HADOOP-8545, would you help 
to look at it? Thx!
                
> 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
>         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

Reply via email to