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

Configuration hadoop.work.around.non.threadsafe.getpwuid not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.7.1
    • None
    • None
    • None

    Description

      As the default configuration file shows
      https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/core-default.xml

      we can configure the option "hadoop.work.around.non.threadsafe.getpwuid" in the core-default.xml. But it does not work because
      the key expected in org.apache.hadoop.io.nativeio.NativeIO.java is

      static final String WORKAROUND_NON_THREADSAFE_CALLS_KEY =
      "hadoop.workaround.non.threadsafe.getpwuid"; // no a dot between "work" and "around"

      we can change it to hadoop.workaround.non.threadsafe.getpwuid in the default configuration file.

      Attachments

        1. HADOOP-12704.01.patch
          2 kB
          Kai
        2. HADOOP-12704.02.patch
          2 kB
          Kai

        Issue Links

          Activity

            People

              lewuathe Kai
              zhendong Dong Zhen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: