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

Shell command timeout given is in seconds whereas it is taken as millisec while scheduling

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.10.0, 3.2.0, 3.1.1, 2.9.2, 3.0.4
    • None
    • None

    Description

      ShellBasedUnixGroupsMapping has a property hadoop.security.groups.shell.command.timeout to control how long to wait for the fetch groups command which can be configured in seconds. but while scheduling the time taken is millisecs. so currently if u give value as 60s, it is taken as 60ms.

      timeout = conf.getTimeDuration(
      CommonConfigurationKeys.
      HADOOP_SECURITY_GROUP_SHELL_COMMAND_TIMEOUT_SECS,
      CommonConfigurationKeys.
      HADOOP_SECURITY_GROUP_SHELL_COMMAND_TIMEOUT_SECS_DEFAULT,
      TimeUnit.SECONDS);

      Time unit given is in seconds but it should be millisecs

      Attachments

        1. HADOOP-15523-004.patch
          7 kB
          Bilwa S T
        2. HADOOP-15523-003.patch
          7 kB
          Bilwa S T
        3. HADOOP-15523-002.patch
          7 kB
          Bilwa S T
        4. HADOOP-15523-001.patch
          5 kB
          Bilwa S T

        Issue Links

          Activity

            People

              BilwaST Bilwa S T
              BilwaST Bilwa S T
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: