You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Xiaoyu Yao (JIRA)" <ji...@apache.org> on 2015/04/02 20:09:53 UTC

[jira] [Updated] (HADOOP-11796) Skip TestShellBasedIdMapping.testStaticMapUpdate on Windows

     [ https://issues.apache.org/jira/browse/HADOOP-11796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiaoyu Yao updated HADOOP-11796:
--------------------------------
    Summary: Skip TestShellBasedIdMapping.testStaticMapUpdate on Windows  (was: Fix TestShellBasedIdMapping.testStaticMapUpdate failure on Windows)

> Skip TestShellBasedIdMapping.testStaticMapUpdate on Windows
> -----------------------------------------------------------
>
>                 Key: HADOOP-11796
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11796
>             Project: Hadoop Common
>          Issue Type: Sub-task
>            Reporter: Xiaoyu Yao
>            Assignee: Xiaoyu Yao
>            Priority: Minor
>
> The test should be skipped on Windows.
> {code}
> Stacktrace
> java.util.NoSuchElementException: null
> 	at java.util.HashMap$HashIterator.nextEntry(HashMap.java:809)
> 	at java.util.HashMap$EntryIterator.next(HashMap.java:847)
> 	at java.util.HashMap$EntryIterator.next(HashMap.java:845)
> 	at com.google.common.collect.AbstractBiMap$EntrySet$1.next(AbstractBiMap.java:314)
> 	at com.google.common.collect.AbstractBiMap$EntrySet$1.next(AbstractBiMap.java:306)
> 	at org.apache.hadoop.security.TestShellBasedIdMapping.testStaticMapUpdate(TestShellBasedIdMapping.java:151)
> Standard Output
> 2015-03-30 00:44:30,267 INFO  security.ShellBasedIdMapping (ShellBasedIdMapping.java:<init>(113)) - User configured user account update time is less than 1 minute. Use 1 minute instead.
> 2015-03-30 00:44:30,274 INFO  security.ShellBasedIdMapping (ShellBasedIdMapping.java:updateStaticMapping(322)) - Not doing static UID/GID mapping because 'D:\tmp\hadoop-dal\nfs-6561166579146979876.map' does not exist.
> 2015-03-30 00:44:30,274 ERROR security.ShellBasedIdMapping (ShellBasedIdMapping.java:checkSupportedPlatform(278)) - Platform is not supported:Windows Server 2008 R2. Can't update user map and group map and 'nobody' will be used for any user and group.
> 2015-03-30 00:44:30,275 INFO  security.ShellBasedIdMapping (ShellBasedIdMapping.java:<init>(113)) - User configured user account update time is less than 1 minute. Use 1 minute instead.
> 2015-03-30 00:44:30,275 INFO  security.ShellBasedIdMapping (ShellBasedIdMapping.java:updateStaticMapping(322)) - Not doing static UID/GID mapping because 'D:\tmp\hadoop-dal\nfs-6561166579146979876.map' does not exist.
> 2015-03-30 00:44:30,275 ERROR security.ShellBasedIdMapping (ShellBasedIdMapping.java:checkSupportedPlatform(278)) - Platform is not supported:Windows Server 2008 R2. Can't update user map and group map and 'nobody' will be used for any user and group.
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)