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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.10.0, 3.2.0, 3.1.1, 2.9.2, 3.0.4
    • Component/s: None
    • Labels:
      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

              • Assignee:
                BilwaST Bilwa S T
                Reporter:
                BilwaST Bilwa S T
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: