Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-157

Knox is not able to process PUT/POST requests with large payload

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.3.0
    • 0.3.0
    • Server
    • None

    Description

      Getting OutOfMemory exception when trying to process PUT/POST requests with large bodies. As an example create 1GB file in HDFS via Knox.
      Issue is related to replaying bodies on requests dispatch.

      From Kevin:
      We need a special version of a BufferedHttpEntity that will buffer up to the first n bytes and then if getContent() is called again after that many bytes have been read it throws an exception.

      Attachments

        1. KNOX-157__Integrate_alternate_implementation_of_HttpEntity_supporting_optimistically_repea.patch
          1 kB
          Kevin Minder
        2. KNOX-157.patch
          7 kB
          Dilli Arumugam
        3. KNOX-157.patch
          1 kB
          Vladimir Tkhir

        Issue Links

          Activity

            People

              darumugam Dilli Arumugam
              vtkhir@hortonworks.com Vladimir Tkhir
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: