[
https://issues.apache.org/jira/browse/HADOOP-8545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13705552#comment-13705552
]
Stephen Chu commented on HADOOP-8545:
-------------------------------------
Hey, Steve. I am trying to run the unit tests against a one-node Swift setup.
I can cleanly apply HADOOP-8545-032.patch to trunk and run _mvn clean install
-DskipTests_ successfully from the base directory.
However, when I create
_hadoop-tools/hadoop-openstack/src/test/resources/auth-keys.xml_ and run _mvn
clean install -DskipTests_ from the base directory again, I fail to compile the
openstack tests because of the errors below.
{code}
[INFO] Apache Hadoop OpenStack support ................... FAILURE [0.274s]
[INFO] Apache Hadoop Tools Dist .......................... SKIPPED
[INFO] Apache Hadoop Tools ............................... SKIPPED
[INFO] Apache Hadoop Distribution ........................ SKIPPED
[INFO] Apache Hadoop Client .............................. SKIPPED
[INFO] Apache Hadoop Mini-Cluster ........................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:17.111s
[INFO] Finished at: Thu Jul 11 00:10:08 PDT 2013
[INFO] Final Memory: 103M/3246M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile
(default-testCompile) on project hadoop-openstack: Compilation failure:
Compilation failure:
[ERROR]
/home/schu/hadoop-2/hadoop-tools/hadoop-openstack/src/test/java/org/apache/hadoop/fs/swift/TestFSMainOperationsSwift.java:[35,7]
org.apache.hadoop.fs.swift.TestFSMainOperationsSwift is not abstract and does
not override abstract method createFileSystem() in
org.apache.hadoop.fs.FSMainOperationsBaseTest
[ERROR]
/home/schu/hadoop-2/hadoop-tools/hadoop-openstack/src/test/java/org/apache/hadoop/fs/swift/TestFSMainOperationsSwift.java:[59,43]
non-static method
getTestRootPath(org.apache.hadoop.fs.FileSystem,java.lang.String) cannot be
referenced from a static context
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :hadoop-openstack
[schu@a1711 hadoop-2]$
{code}
> Filesystem Implementation for OpenStack Swift
> ---------------------------------------------
>
> Key: HADOOP-8545
> URL: https://issues.apache.org/jira/browse/HADOOP-8545
> Project: Hadoop Common
> Issue Type: New Feature
> Components: fs
> Affects Versions: 1.2.0, 2.0.3-alpha
> Reporter: Tim Miller
> Assignee: Dmitry Mezhensky
> Labels: hadoop, patch
> Attachments: HADOOP-8545-026.patch, HADOOP-8545-027.patch,
> HADOOP-8545-028.patch, HADOOP-8545-029.patch, HADOOP-8545-030.patch,
> HADOOP-8545-031.patch, HADOOP-8545-032.patch, HADOOP-8545-10.patch,
> HADOOP-8545-11.patch, HADOOP-8545-12.patch, HADOOP-8545-13.patch,
> HADOOP-8545-14.patch, HADOOP-8545-15.patch, HADOOP-8545-16.patch,
> HADOOP-8545-17.patch, HADOOP-8545-18.patch, HADOOP-8545-19.patch,
> HADOOP-8545-1.patch, HADOOP-8545-20.patch, HADOOP-8545-21.patch,
> HADOOP-8545-22.patch, HADOOP-8545-23.patch, HADOOP-8545-24.patch,
> HADOOP-8545-25.patch, HADOOP-8545-2.patch, HADOOP-8545-3.patch,
> HADOOP-8545-4.patch, HADOOP-8545-5.patch, HADOOP-8545-6.patch,
> HADOOP-8545-7.patch, HADOOP-8545-8.patch, HADOOP-8545-9.patch,
> HADOOP-8545-javaclouds-2.patch, HADOOP-8545.patch, HADOOP-8545.patch,
> HADOOP-8545.suresh.patch
>
>
> ,Add a filesystem implementation for OpenStack Swift object store, similar to
> the one which exists today for S3.
--
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: http://www.atlassian.com/software/jira