commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Marion (JIRA)" <>
Subject [jira] [Commented] (VFS-442) HDFS FileSystem Provider
Date Wed, 26 Dec 2012 23:32:13 GMT


Dave Marion commented on VFS-442:

Started working on #1. I am running into a couple of issues. One seems to be with the the
doAttach method. The javadoc and code seem to indicate that it should thrown an error, but
the test checks to see if the file type is IMAGINARY.

org.apache.commons.vfs2.FileSystemException: Could not determine the type of file "hdfs://localhost:8020/test-data/read-tests/unknown-child".
	at org.apache.commons.vfs2.provider.AbstractFileObject.attach(
	at org.apache.commons.vfs2.provider.AbstractFileObject.getType(
	at org.apache.commons.vfs2.test.ProviderReadTests.testType(
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(
	at java.lang.reflect.Method.invoke(
	at org.apache.commons.vfs2.test.AbstractProviderTestCase.runTest(
	at junit.framework.TestCase.runBare(
	at junit.framework.TestResult$1.protect(
	at junit.framework.TestResult.runProtected(
	at junit.framework.TestSuite.runTest(
	at junit.extensions.TestDecorator.basicRun(
	at junit.extensions.TestSetup$1.protect(
	at junit.framework.TestResult.runProtected(
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(
Caused by: File does not exist: /test-data/read-tests/unknown-child
	at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(
	at org.apache.commons.vfs2.provider.hdfs.HdfsFileObject.doAttach(
	at org.apache.commons.vfs2.provider.AbstractFileObject.attach(
	... 25 more

> HDFS FileSystem Provider
> ------------------------
>                 Key: VFS-442
>                 URL:
>             Project: Commons VFS
>          Issue Type: New Feature
>    Affects Versions: 2.0
>            Reporter: Dave Marion
>            Priority: Minor
>              Labels: accumulo, hdfs
>         Attachments: vfs-422-3.diff, VFS-442-1.patch, VFS-442-2.patch, VFS-442-4.patch

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message