hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-10255) Remove dependency on LimitInputStream
Date Tue, 31 Dec 2013 05:31:51 GMT

     [ https://issues.apache.org/jira/browse/HBASE-10255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

stack updated HBASE-10255:
--------------------------

    Attachment: alternate_lis.txt

Here is an alternate solution to this issue.  The guava mess seems like a red herring.  The
added LIS from guava seems a workaround because pb LIS is protected.  Would suggest we cut
to the chase and use the pb version rather than guava or some class from somewhere else altogether.

> 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
>            Priority: Minor
>             Fix For: 0.98.0, 0.99.0
>
>         Attachments: 10255-v1.txt, 10255-v2.txt, alternate_lis.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