TestSymLink fails when ant is not executed from HADOOP_HOME
-----------------------------------------------------------
Key: HADOOP-711
URL: http://issues.apache.org/jira/browse/HADOOP-711
Project: Hadoop
Issue Type: Bug
Components: test
Affects Versions: 0.8.0
Reporter: Nigel Daley
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.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira