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

Andrew Wang resolved HADOOP-10837.
----------------------------------

    Resolution: Duplicate

Hi Uma, I think this is a dupe of HADOOP-10510. Please re-open if you think 
this is not the case.

> Fix the failures from TestSymlinkLocalFSFileContext & 
> TestSymlinkLocalFSFileSystem
> ----------------------------------------------------------------------------------
>
>                 Key: HADOOP-10837
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10837
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 3.0.0
>            Reporter: Uma Maheswara Rao G
>
> There are failures in trunk:
> {noformat}
> java.io.IOException: Path 
> file:/home/jenkins/jenkins-slave/workspace/PreCommit-HADOOP-Build/trunk/hadoop-common-project/hadoop-common/target/test/data/pUXLoMXfzU/test1/test/link
>  is not a symbolic link
>       at org.apache.hadoop.fs.FileStatus.getSymlink(FileStatus.java:266)
>       at 
> org.apache.hadoop.fs.RawLocalFileSystem.getLinkTarget(RawLocalFileSystem.java:813)
>       at 
> org.apache.hadoop.fs.LocalFileSystem.getLinkTarget(LocalFileSystem.java:165)
>       at 
> org.apache.hadoop.fs.FileSystemTestWrapper.getLinkTarget(FileSystemTestWrapper.java:305)
>       at 
> org.apache.hadoop.fs.SymlinkBaseTest.testCreateLinkToDotDotPrefix(SymlinkBaseTest.java:818)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at 
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
>       at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>       at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
>       at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>       at 
> org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
> {noformat}
> log:
> {noformat}
> 2014-07-15 18:06:11,235 WARN  fs.FileUtil (FileUtil.java:symLink(829)) - 
> Command 'ln -s 
> /home/jenkins/jenkins-slave/workspace/PreCommit-HADOOP-Build/trunk/hadoop-common-project/hadoop-common/target/test/data/pUXLoMXfzU/test1/file
>  
> /home/jenkins/jenkins-slave/workspace/PreCommit-HADOOP-Build/trunk/hadoop-common-project/hadoop-common/target/test/data/pUXLoMXfzU/test2/linkToFile'
>  failed 1 with: ln: failed to create symbolic link 
> '/home/jenkins/jenkins-slave/workspace/PreCommit-HADOOP-Build/trunk/hadoop-common-project/hadoop-common/target/test/data/pUXLoMXfzU/test2/linkToFile':
>  No such file or directory
> 2014-07-15 18:06:11,433 WARN  fs.FileUtil (FileUtil.java:symLink(829)) - 
> Command 'ln -s 
> /home/jenkins/jenkins-slave/workspace/PreCommit-HADOOP-Build/trunk/hadoop-common-project/hadoop-common/target/test/data/pUXLoMXfzU/test1/file
>  
> /home/jenkins/jenkins-slave/workspace/PreCommit-HADOOP-Build/trunk/hadoop-common-project/hadoop-common/target/test/data/pUXLoMXfzU/test1/linkToFile'
>  failed 1 with: ln: failed to create symbolic link 
> '/home/jenkins/jenkins-slave/workspace/PreCommit-HADOOP-Build/trunk/hadoop-common-project/hadoop-common/target/test/data/pUXLoMXfzU/test1/linkToFile':
>  File exists
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to