You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Siyao Meng (JIRA)" <ji...@apache.org> on 2018/07/18 18:37:00 UTC
[jira] [Commented] (HDFS-13746) Still occasional "Should be
different group" failure in TestRefreshUserMappings#testGroupMappingRefresh
[ https://issues.apache.org/jira/browse/HDFS-13746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16548239#comment-16548239 ]
Siyao Meng commented on HDFS-13746:
-----------------------------------
[^HDFS-13746.002.patch]
Using Groups.LOG.info() and Groups.LOG.warn() instead of System.out.println().
> Still occasional "Should be different group" failure in TestRefreshUserMappings#testGroupMappingRefresh
> -------------------------------------------------------------------------------------------------------
>
> Key: HDFS-13746
> URL: https://issues.apache.org/jira/browse/HDFS-13746
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 3.0.0
> Reporter: Siyao Meng
> Assignee: Siyao Meng
> Priority: Major
> Attachments: HDFS-13746.001.patch, HDFS-13746.002.patch
>
>
> In https://issues.apache.org/jira/browse/HDFS-13723, increasing the amount of time in sleep() helps but the problem still appears, which is annoying.
>
> Solution:
> Use a loop to allow the test case to fail 100(MAX_RETRIES) times before declaring failure. Wait 50 ms between each retry.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org