[jira] [Resolved] (HBASE-9391) Compilation problem in AccessController with JDK 6

2013-08-31 Thread Nicolas Liochon (JIRA)

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

Nicolas Liochon resolved HBASE-9391.


   Resolution: Fixed
Fix Version/s: 0.96.0
   0.98.0
 Hadoop Flags: Reviewed

 Compilation problem in AccessController with JDK 6
 --

 Key: HBASE-9391
 URL: https://issues.apache.org/jira/browse/HBASE-9391
 Project: HBase
  Issue Type: Bug
Affects Versions: 0.98.0, 0.95.2
Reporter: Andrew Purtell
Assignee: Andrew Purtell
 Fix For: 0.98.0, 0.96.0

 Attachments: 9391.patch


 Seeing this with a fresh checkout of trunk and 0.95, only with JDK 6:
 {noformat}
 [ERROR] 
 hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java:[541,56]
  incompatible types; no instance(s) of type variable(s) K,V exist so that 
 java.util.TreeMapK,V conforms to java.util.Mapbyte[],java.util.Setbyte[]
 [ERROR] found   : K,Vjava.util.TreeMapK,V
 [ERROR] required: java.util.Mapbyte[],java.util.Setbyte[]
 [ERROR] 
 hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java:[1072,56]
  incompatible types; no instance(s) of type variable(s) K,V exist so that 
 java.util.TreeMapK,V conforms to java.util.Mapbyte[],java.util.Setbyte[]
 [ERROR] found   : K,Vjava.util.TreeMapK,V
 [ERROR] required: java.util.Mapbyte[],java.util.Setbyte[]
 [ERROR] 
 hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java:[1383,64]
  incompatible types; no instance(s) of type variable(s) K,V exist so that 
 java.util.TreeMapK,V conforms to java.util.Mapbyte[],java.util.Setbyte[]
 [ERROR] found   : K,Vjava.util.TreeMapK,V
 [ERROR] required: java.util.Mapbyte[],java.util.Setbyte[]
 [ERROR] 
 hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java:[1473,63]
  incompatible types; no instance(s) of type variable(s) K,V exist so that 
 java.util.TreeMapK,V conforms to 
 java.util.Mapbyte[],java.util.Collectionbyte[]
 [ERROR] found   : K,Vjava.util.TreeMapK,V
 [ERROR] required: java.util.Mapbyte[],java.util.Collectionbyte[]
 {noformat}

--
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] (HBASE-9391) Compilation problem in AccessController with JDK 6

2013-08-30 Thread Andrew Purtell (JIRA)

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

Andrew Purtell resolved HBASE-9391.
---

Resolution: Cannot Reproduce

Tried to reproduce this on another box and couldn't. Switched JDKs on the 
troublesome box, compiled ok, switched back, compiled ok. 

 Compilation problem in AccessController with JDK 6
 --

 Key: HBASE-9391
 URL: https://issues.apache.org/jira/browse/HBASE-9391
 Project: HBase
  Issue Type: Bug
Affects Versions: 0.98.0, 0.95.2
Reporter: Andrew Purtell
Assignee: Andrew Purtell

 Seeing this with a fresh checkout of trunk and 0.95, only with JDK 6:
 {noformat}
 [ERROR] 
 hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java:[541,56]
  incompatible types; no instance(s) of type variable(s) K,V exist so that 
 java.util.TreeMapK,V conforms to java.util.Mapbyte[],java.util.Setbyte[]
 [ERROR] found   : K,Vjava.util.TreeMapK,V
 [ERROR] required: java.util.Mapbyte[],java.util.Setbyte[]
 [ERROR] 
 hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java:[1072,56]
  incompatible types; no instance(s) of type variable(s) K,V exist so that 
 java.util.TreeMapK,V conforms to java.util.Mapbyte[],java.util.Setbyte[]
 [ERROR] found   : K,Vjava.util.TreeMapK,V
 [ERROR] required: java.util.Mapbyte[],java.util.Setbyte[]
 [ERROR] 
 hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java:[1383,64]
  incompatible types; no instance(s) of type variable(s) K,V exist so that 
 java.util.TreeMapK,V conforms to java.util.Mapbyte[],java.util.Setbyte[]
 [ERROR] found   : K,Vjava.util.TreeMapK,V
 [ERROR] required: java.util.Mapbyte[],java.util.Setbyte[]
 [ERROR] 
 hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java:[1473,63]
  incompatible types; no instance(s) of type variable(s) K,V exist so that 
 java.util.TreeMapK,V conforms to 
 java.util.Mapbyte[],java.util.Collectionbyte[]
 [ERROR] found   : K,Vjava.util.TreeMapK,V
 [ERROR] required: java.util.Mapbyte[],java.util.Collectionbyte[]
 {noformat}

--
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