commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlmar...@comcast.net
Subject Re: [VFS]
Date Thu, 10 Jan 2013 15:37:30 GMT


It appears that its having a problem copying the files test files to the build directory:




junit.framework.TestSuite@2a018b03(org.apache.commons.vfs2.provider.hdfs.test.HdfsFileProviderTestCase$HdfsProviderTestSuite) 
Time elapsed: 3871 sec  <<< ERROR! 
java.io.FileNotFoundException: /srv/gump/public/workspace/apache-commons/vfs/core/target/test-classes/test-data/write-tests/file1.txt
(Permission denied) 
at java.io.FileInputStream.open(Native Method) 
at java.io.FileInputStream.<init>(FileInputStream.java:138) 
at org.apache.hadoop.fs.RawLocalFileSystem$TrackingFileInputStream.<init>(RawLocalFileSystem.java:71)

at org.apache.hadoop.fs.RawLocalFileSystem$LocalFSFileInputStream.<init>(RawLocalFileSystem.java:107)

at org.apache.hadoop.fs.RawLocalFileSystem.open(RawLocalFileSystem.java:177) 
at org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSInputChecker.<init>(ChecksumFileSystem.java:126)

at org.apache.hadoop.fs.ChecksumFileSystem.open(ChecksumFileSystem.java:283) 
at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:427) 
at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:228) 
at org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:1195) 
at org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:1171) 
at org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:1143) 
at org.apache.commons.vfs2.provider.hdfs.test.HdfsFileProviderTestCase$HdfsProviderTestSuite.copyTestResources(HdfsFileProviderTestCase.java:71)

at org.apache.commons.vfs2.provider.hdfs.test.HdfsFileProviderTestCase$HdfsProviderTestSuite.copyTestResources(HdfsFileProviderTestCase.java:78)

at org.apache.commons.vfs2.provider.hdfs.test.HdfsFileProviderTestCase$HdfsProviderTestSuite.setUp(HdfsFileProviderTestCase.java:141)





----- Original Message -----


From: "Stefan Bodewig" <bodewig@apache.org> 
To: "Commons Developers List" <dev@commons.apache.org> 
Sent: Thursday, January 10, 2013 9:56:10 AM 
Subject: Re: [VFS] 

On 2013-01-10, Gary Gregory wrote: 

> The new HDFS provider only works on Linux and it works for me on Ubuntu 
> (via VirtualBox on Win7). How can Gump be fixed? 

vmgump is Ubuntu 10.04 which may be too old, we also have FreeBSD and 
MacOS nodes. 

One option may be to Check for the proper environment inside the test 
and skip the "bad" envs via Assume. 

Stefan 

--------------------------------------------------------------------- 
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org 
For additional commands, e-mail: dev-help@commons.apache.org 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message