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

Mahadev konar resolved HADOOP-711.
----------------------------------

    Resolution: Fixed

I think this issue has been fixed for now. marking it as resolved. Please 
reopen it in case you see problems.

> TestSymLink fails when ant is not executed from HADOOP_HOME
> -----------------------------------------------------------
>
>                 Key: HADOOP-711
>                 URL: https://issues.apache.org/jira/browse/HADOOP-711
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.8.0
>            Reporter: Nigel Daley
>            Assignee: Mahadev konar
>            Priority: Minor
>
> When I exec 'ant -f somePath/build.xml test'
> org.apache.hadoop.streaming.TestSymLink fails with the following exception:
> junit.framework.AssertionFailedError: java.io.FileNotFoundException: 
> build/test/dfs/tmp/tmp/client-2526974511105483818 (No such file or directory)
>       at java.io.FileOutputStream.open(Native Method)
>       at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
>       at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
>       at 
> org.apache.hadoop.dfs.DFSClient$DFSOutputStream.<init>(DFSClient.java:907)
>       at org.apache.hadoop.dfs.DFSClient.create(DFSClient.java:278)
>       at 
> org.apache.hadoop.dfs.DistributedFileSystem.createRaw(DistributedFileSystem.java:106)
>       at 
> org.apache.hadoop.fs.FSDataOutputStream$Summer.<init>(FSDataOutputStream.java:58)
>       at 
> org.apache.hadoop.fs.FSDataOutputStream$Summer.<init>(FSDataOutputStream.java:47)
>       at 
> org.apache.hadoop.fs.FSDataOutputStream.<init>(FSDataOutputStream.java:148)
>       at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:263)
>       at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:170)
>       at org.apache.hadoop.streaming.TestSymLink.testSymLink(Unknown Source)
>       at org.apache.hadoop.streaming.TestSymLink.failTrace(Unknown Source)
>       at org.apache.hadoop.streaming.TestSymLink.testSymLink(Unknown Source)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to