Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-2172

PositionCache was removed from FSDataInputStream, causes extremely bad MapFile performance

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.14.3, 0.15.0
    • 0.15.1
    • fs
    • None

    Description

      The PositionCache in FSDataInputStream seems to have been removed in HADOOP-1470. This causes for example MapFile.get usage to be extremely slow as the file position isn't cached in memory.

      Attachments

        1. positioncache-v1.patch
          5 kB
          Johan Oskarsson
        2. HADOOP-2172-2.patch
          2 kB
          Doug Cutting
        3. HADOOP-2172-3.patch
          6 kB
          Raghu Angadi
        4. HADOOP-2172-2.patch
          2 kB
          Doug Cutting
        5. HADOOP-2172-4.patch
          2 kB
          Doug Cutting

        Activity

          People

            cutting Doug Cutting
            johanoskarsson Johan Oskarsson
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: