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

Ted Yu commented on HBASE-10255:
--------------------------------

One of the comments I got over in HBASE-10174 was the problem with adding 
classes from guava library to hbase core.
I agree with that.

To follow recommended way of replacing LimitInputStream, guava version needs to 
be upgraded.

w.r.t. Andrew's comment, hadoop trunk is currently on guava 11.0.2 which is 
older than 12.0.1 - the version used by 0.96 and newer releases.
I think the proposed change can be carried out in a major release of HBase.

> Remove dependency on LimitInputStream
> -------------------------------------
>
>                 Key: HBASE-10255
>                 URL: https://issues.apache.org/jira/browse/HBASE-10255
>             Project: HBase
>          Issue Type: Task
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>         Attachments: 10255-v1.txt
>
>
> LimitInputStream has always been a @Beta API and beta apis aren't guaranteed 
> to remain stable over such a long period (v12 to v15).
> LimitInputStream was copied from Guava v12
> The recommended replacement is to use ByteStreams#limit(java.io.InputStream, 
> long) instead.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to