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

Remove dependency on LimitInputStream

    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. 10255-v1.txt
          5 kB
          Ted Yu
        2. 10255-v2.txt
          5 kB
          Ted Yu
        3. alternate_lis.txt
          3 kB
          Michael Stack

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: