hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-11796) Skip TestShellBasedIdMapping.testStaticMapUpdate on Windows
Date Tue, 07 Apr 2015 22:42:12 GMT

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

Chris Nauroth updated HADOOP-11796:
-----------------------------------
    Component/s: test

> Skip TestShellBasedIdMapping.testStaticMapUpdate on Windows
> -----------------------------------------------------------
>
>                 Key: HADOOP-11796
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11796
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: test
>            Reporter: Xiaoyu Yao
>            Assignee: Xiaoyu Yao
>            Priority: Minor
>             Fix For: 2.7.0
>
>         Attachments: HADOOP-11796.00.patch, HADOOP-11796.01.patch
>
>
> 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)

Mime
View raw message