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

check if sysconf is implemented before using it

VotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

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. nodemgr-sysconf.txt
          2 kB
          Radim Kolar
        2. YARN-1519.002.patch
          2 kB
          Eric Payne
        3. YARN-1519.003.patch
          2 kB
          Eric Payne

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            hsn Radim Kolar
            hsn Radim Kolar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment