You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2013/12/30 00:39:50 UTC

[jira] [Comment Edited] (HBASE-10255) Remove dependency on LimitInputStream

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

Andrew Purtell edited comment on HBASE-10255 at 12/29/13 11:38 PM:
-------------------------------------------------------------------

So don't add a class from Guava, and don't upgrade it either - issues here and on the other JIRA go away. Let's resolve them as wontfix or something. If we are using a Guava class already, then create a local replacement or use something from anywhere but Guava to replace it, if there is some problem that really needs addressing. (I don't see it?)


was (Author: apurtell):
So don't add a class from Guava, and don't upgrade it either - issues here and on the other JIRA go away. Let's resolve them as wontfix or something.

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