You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Bilwa S T (JIRA)" <ji...@apache.org> on 2018/06/08 01:44:00 UTC

[jira] [Created] (HADOOP-15523) Shell command timeout given is in seconds whereas it is taken as millisec while scheduling

Bilwa S T created HADOOP-15523:
----------------------------------

             Summary: Shell command timeout given is in seconds whereas it is taken as millisec while scheduling
                 Key: HADOOP-15523
                 URL: https://issues.apache.org/jira/browse/HADOOP-15523
             Project: Hadoop Common
          Issue Type: Bug
            Reporter: Bilwa S T


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.

{code:java}
timeout = conf.getTimeDuration(
CommonConfigurationKeys.
HADOOP_SECURITY_GROUP_SHELL_COMMAND_TIMEOUT_SECS,
CommonConfigurationKeys.
HADOOP_SECURITY_GROUP_SHELL_COMMAND_TIMEOUT_SECS_DEFAULT,
TimeUnit.SECONDS);{code}

Time unit given is in seconds but it should be millisecs





--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org