[
https://issues.apache.org/jira/browse/HADOOP-12583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15034095#comment-15034095
]
Alan Burlison commented on HADOOP-12583:
----------------------------------------
Yes, that's what happens on Solaris because that's what POSIX says should
happen. The Linux default behaviour in not POSIX compliant, and tests which
assume the Linux default behaviour are incorrect.
> Sundry symlink problems on Solaris
> ----------------------------------
>
> Key: HADOOP-12583
> URL: https://issues.apache.org/jira/browse/HADOOP-12583
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs
> Affects Versions: 2.7.1
> Environment: Solaris
> Reporter: Alan Burlison
>
> There are various filesystem test failures on Solaris, all related to
> symlinks:
> {code}
> TestSymlinkLocalFSFileContext>TestSymlinkLocalFS.testDanglingLink:156
> expected:<[alanbur]> but was:<[]>
> TestSymlinkLocalFSFileContext>TestSymlinkLocalFS.testSetTimesSymlinkToDir:233->SymlinkBaseTest.testSetTimesSymlinkToDir:1391
> expected:<1447788288000> but was:<3000>
> TestSymlinkLocalFSFileContext>TestSymlinkLocalFS.testSetTimesSymlinkToFile:227->SymlinkBaseTest.testSetTimesSymlinkToFile:1376
> expected:<1447788290000> but was:<3000>
> TestSymlinkLocalFSFileSystem>TestSymlinkLocalFS.testDanglingLink:156
> expected:<[alanbur]> but was:<[]>
> TestSymlinkLocalFSFileSystem>TestSymlinkLocalFS.testSetTimesSymlinkToDir:233->SymlinkBaseTest.testSetTimesSymlinkToDir:1391
> expected:<1447788416000> but was:<3000>
> TestSymlinkLocalFSFileSystem>TestSymlinkLocalFS.testSetTimesSymlinkToFile:227->SymlinkBaseTest.testSetTimesSymlinkToFile:1376
> expected:<1447788417000> but was:<3000>
> {code}
> I'm not sure what the root cause is, most likely Linux-specific assumptions
> about how symlinks behave. Further investigation needed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)