Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-4949 Centralized cache management in HDFS
  3. HDFS-5201

NativeIO: consolidate getrlimit into NativeIO#getMemlockLimit

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • HDFS-4949
    • HDFS-4949
    • datanode
    • None
    • Reviewed

    Description

      Let's consolidate NativeIO#POSIX#getrlimit into NativeIO#getMemlockLimit. This avoids a few issues with the current function: it is not available on Windows, it relied on Linux-specific constants, and it currently returns a string which has to be parsed rather than a long.

      Attachments

        1. HDFS-5201-caching.002.patch
          8 kB
          Colin McCabe
        2. HDFS-5201-caching.001.patch
          8 kB
          Colin McCabe

        Issue Links

          Activity

            People

              cmccabe Colin McCabe
              cmccabe Colin McCabe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: