|
[
Permlink
| « Hide
]
David Phillips added a comment - 15/Oct/08 09:44 PM
Simple patch that removes bucket creation.
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12392205/hadoop-s3n-nocreate.patch against trunk revision 705073. +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. -1 patch. The patch command could not apply the patch. Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3469/console This message is automatically generated. This patch needs to be re-generated without the a/ b/ stuff for Hudson to be able to apply it. It must apply with 'patch -p 0 < foo.patch' when connected to trunk.
Patch applies with -p0 now (used git diff --no-prefix).
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12392277/hadoop-s3n-nocreate.patch against trunk revision 705430. +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs warnings. +1 Eclipse classpath. The patch retains Eclipse classpath integrity. +1 core tests. The patch passed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3482/testReport/ This message is automatically generated. For consistency, we should make the same change to Jets3tFileSystemStore.
Also, regarding the tests, there are two unit tests: Jets3tS3FileSystemContractTest and Jets3tNativeS3FileSystemContractTest which can be run manually to test the S3 integration. The only difference with this patch is that the buckets they run against must already exist - so I don't think any change to the tests are needed. Bucket creation also removed from Jets3tFileSystemStore.
I ran the tests as follows after setting the correct test buckets and keys in src/test/hadoop-site.xml:
ant -Dtestcase=Jets3tS3FileSystemContractTest test They seem to pass: Testsuite: org.apache.hadoop.fs.s3.Jets3tS3FileSystemContractTest However, they both produce hundreds of warnings: (s3) 2008-11-21 15:51:28,800 WARN httpclient.RestS3Service (RestS3Service.java:performRequest(317)) - Response '/%2Ftest' - Unexpected response code 404, expected 200 Any ideas? Never mind about the warnings from Jets3t during testing. They are expected.
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12394458/hadoop-s3n-nocreate.patch against trunk revision 719787. +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs warnings. +1 Eclipse classpath. The patch retains Eclipse classpath integrity. +1 core tests. The patch passed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3638/testReport/ This message is automatically generated. Integrated in Hadoop-trunk #670 (See http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/670/
. S3 file systems should not create bucket. Contributed by David Phillips. Edit release note for publication.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||