hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11102) Document JDK versions supported by each release
Date Wed, 30 Apr 2014 22:23:15 GMT

    [ https://issues.apache.org/jira/browse/HBASE-11102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13986165#comment-13986165
] 

Andrew Purtell commented on HBASE-11102:
----------------------------------------

bq. There has been some work to support JDK8. We can also document that.

Running on a Java 8 runtime "just works" with 0.98 today, but I can't say that I know of any
scale testing so consider that.

Building with JDK8 would require the removal of a deprecated method that causes a compile
time error with this version, a trivial change:
{code}
diff --git hbase-client/src/main/java/org/apache/hadoop/hbase/util/PoolMap.java 
index 7283831..5326de4 100644
--- hbase-client/src/main/java/org/apache/hadoop/hbase/util/PoolMap.java
+++ hbase-client/src/main/java/org/apache/hadoop/hbase/util/PoolMap.java
@@ -93,14 +93,6 @@ public class PoolMap<K, V> implements Map<K, V> {
     return null;
   }
 
-  /**
-   * @deprecated Will be removed for Java 8, use {@link #removeValue} instead
-   */
-  @Deprecated
-  public boolean remove(K key, V value) {
-    return removeValue(key, value);
-  }
-
   public boolean removeValue(K key, V value) {
     Pool<V> pool = pools.get(key);
     boolean res = false;
{code}


> Document JDK versions supported by each release
> -----------------------------------------------
>
>                 Key: HBASE-11102
>                 URL: https://issues.apache.org/jira/browse/HBASE-11102
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Enis Soztutar
>             Fix For: 0.99.0
>
>
> We can make use of a JDK version x HBase version matrix to explain which JDK version
is supported and required. 
> 0.94, 0.96, and 0.98 releases all support JDK6 and JDK7. For 1.0, there is a discussion
thread to decide whether to drop JDK6 support. 
> There has been some work to support JDK8. We can also document that. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message