Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-10255

Remove dependency on LimitInputStream

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        1. alternate_lis.txt
          3 kB
          Michael Stack
        2. 10255-v2.txt
          5 kB
          Ted Yu
        3. 10255-v1.txt
          5 kB
          Ted Yu

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment