Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-3696

Create files with WebHdfsFileSystem goes OOM when file size is big

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.0.0-alpha
    • 1.1.0, 0.23.3, 2.0.2-alpha
    • webhdfs
    • None
    • Reviewed

    Description

      When doing "fs -put" to a WebHdfsFileSystem (webhdfs://), the FsShell goes OOM if the file size is large. When I tested, 20MB files were fine, but 200MB didn't work.

      I also tried reading a large file by issuing "-cat" and piping to a slow sink in order to force buffering. The read path didn't have this problem. The memory consumption stayed the same regardless of progress.

      Attachments

        1. h3696_20120724_b-1.patch
          9 kB
          Tsz-wo Sze
        2. h3696_20120724_0.23.patch
          10 kB
          Tsz-wo Sze
        3. h3696_20120724.patch
          9 kB
          Tsz-wo Sze

        Issue Links

          Activity

            People

              szetszwo Tsz-wo Sze
              kihwal Kihwal Lee
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: