Description
The test should be skipped on Windows.
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.