[jira] [Commented] (HBASE-28446) Remove the reflection for ByteBufferPositionedReadable

2024-03-20 Thread Istvan Toth (Jira)


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

Istvan Toth commented on HBASE-28446:
-

That was a genuine question, I'm not  familiar with HBase's policies WRT Hadoop 
versions.
Having said that IMO It's better not to break compatibility with older versions 
unless necessary.

> Remove the reflection for ByteBufferPositionedReadable
> --
>
> Key: HBASE-28446
> URL: https://issues.apache.org/jira/browse/HBASE-28446
> Project: HBase
>  Issue Type: Improvement
>Reporter: Wei-Chiu Chuang
>Priority: Minor
>
> HBASE-21946 used reflection to access the ByteBufferPositionedReadable API 
> that's only available in Hadoop 3.3.
> Now that HBase branch-2.6 and above updated hadoop three dependency to 3.3, 
> we can get rid of the reflection.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (HBASE-28446) Remove the reflection for ByteBufferPositionedReadable

2024-03-19 Thread Wei-Chiu Chuang (Jira)


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

Wei-Chiu Chuang commented on HBASE-28446:
-

That's a really good point. Thanks [~stoty] I was just thinking that Hadoop 
3.1/3.2 was EOL.

> Remove the reflection for ByteBufferPositionedReadable
> --
>
> Key: HBASE-28446
> URL: https://issues.apache.org/jira/browse/HBASE-28446
> Project: HBase
>  Issue Type: Improvement
>Reporter: Wei-Chiu Chuang
>Priority: Minor
>
> HBASE-21946 used reflection to access the ByteBufferPositionedReadable API 
> that's only available in Hadoop 3.3.
> Now that HBase branch-2.6 and above updated hadoop three dependency to 3.3, 
> we can get rid of the reflection.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (HBASE-28446) Remove the reflection for ByteBufferPositionedReadable

2024-03-19 Thread Istvan Toth (Jira)


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

Istvan Toth commented on HBASE-28446:
-

Does building with Hadoop 3.3 by default mean that we drop support for earlier 
Hadoop versions ?
Previous HBase versions supported multiple Hadoop versions.
https://hbase.apache.org/book.html#hadoop

> Remove the reflection for ByteBufferPositionedReadable
> --
>
> Key: HBASE-28446
> URL: https://issues.apache.org/jira/browse/HBASE-28446
> Project: HBase
>  Issue Type: Improvement
>Reporter: Wei-Chiu Chuang
>Priority: Minor
>
> HBASE-21946 used reflection to access the ByteBufferPositionedReadable API 
> that's only available in Hadoop 3.3.
> Now that HBase branch-2.6 and above updated hadoop three dependency to 3.3, 
> we can get rid of the reflection.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)