hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Surendra Singh Lilhore (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HADOOP-15523) Shell command timeout given is in seconds whereas it is taken as millisec while scheduling
Date Sun, 17 Jun 2018 07:30:00 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-15523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16515019#comment-16515019
] 

Surendra Singh Lilhore edited comment on HADOOP-15523 at 6/17/18 7:29 AM:
--------------------------------------------------------------------------

Thanks [~BilwaST] for contribution. Thanks [~brahmareddy], [~nandakumar131], [~bibinchundatt]
for reviews..

Committed to trunk, branch-3.0, branch-3.1, branch-2, branch-2.9.


was (Author: surendrasingh):
Thanks [~BilwaST] for contribution. Thanks [~brahmareddy], [~nandakumar131], [~bibinchundatt]
for reviews..

Committed to trunk, branch-3.0, branch-3.1, branch-2, branch-2.

> 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
>            Assignee: Bilwa S T
>            Priority: Major
>             Fix For: 2.10.0, 3.2.0, 3.1.1, 2.9.2, 3.0.4
>
>         Attachments: HADOOP-15523-001.patch, HADOOP-15523-002.patch, HADOOP-15523-003.patch,
HADOOP-15523-004.patch
>
>
> 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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message