Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-5555

Allow sstableloader to handle a larger number of files

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 1.2.7, 2.0 beta 2
    • Legacy/Tools
    • None

    Description

      With the default heap size, sstableloader will OOM when there are roughly 25k files in the directory to load. It's easy to reach this number of files in a single LCS column family.

      By avoiding creating all SSTableReaders up front in SSTableLoader, we should be able to increase the number of files that sstableloader can handle considerably.

      Attachments

        1. 5555-01.txt
          16 kB
          David Brosius
        2. 5555-02.txt
          14 kB
          David Brosius
        3. 5555-2.txt
          12 kB
          Jonathan Ellis
        4. 5555-fix-heap-and-streaming-1.2.patch
          35 kB
          Tom Hobbs
        5. 5555-fix-heap-and-streaming-1.2-v2.patch
          35 kB
          Tom Hobbs
        6. 5555-fix-heap-and-streaming-trunk.patch
          34 kB
          Tom Hobbs
        7. cass_5555_pic_8.png
          260 kB
          Alex Zarutin
        8. CASSANDRA-5555.txt
          11 kB
          Alex Zarutin
        9. CASSANDRA-5555.txt
          9 kB
          Alex Zarutin
        10. CASSANDRA-5555.txt
          10 kB
          Alex Zarutin

        Issue Links

          Activity

            People

              thobbs Tom Hobbs
              thobbs Tom Hobbs
              Tom Hobbs
              Jonathan Ellis
              Alex Zarutin Alex Zarutin
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: