Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-1519

check if sysconf is implemented before using it

    Details

      Description

      If sysconf value _SC_GETPW_R_SIZE_MAX is not implemented, it leads to segfault because invalid pointer gets passed to libc function.

      fix: enforce minimum value 1024, same method is used in hadoop-common native code.

        Attachments

        1. YARN-1519.003.patch
          2 kB
          Eric Payne
        2. YARN-1519.002.patch
          2 kB
          Eric Payne
        3. nodemgr-sysconf.txt
          2 kB
          Radim Kolar

          Activity

            People

            • Assignee:
              hsn Radim Kolar
              Reporter:
              hsn Radim Kolar
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: