hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10255) Remove dependency on LimitInputStream
Date Sun, 29 Dec 2013 23:31:50 GMT

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

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

The need came from this comment on HBASE-10174 :
bq. I just have a problem with adding classes from said library to hbase core to make it happen.

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

Mime
View raw message