You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by Apache Wiki <wi...@apache.org> on 2013/06/20 07:09:02 UTC
[Hadoop Wiki] Trivial Update of "HCFS/FileSystem-2.0-Tests" by JayVyas
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.
The "HCFS/FileSystem-2.0-Tests" page has been changed by JayVyas:
https://wiki.apache.org/hadoop/HCFS/FileSystem-2.0-Tests?action=diff&rev1=4&rev2=5
- Tests added in package org.apache.hadoop.fs , for the FileSystem API, in 2.0:
+ = Tests added in package org.apache.hadoop.fs , for the FileSystem API, in 2.0: =
+
+ There are essentially 2 major types of tests in this package which are relevant to the HCFS working group.
+ 1) Those that exercise the FileSystem and
+ 2) Those that exercise the new AbstractFileSystem.
+
+ == FileSystem Tests ==
These tests build off of the [[HCFS/FileSystem-1.0-Tests|FileSystem-1.0]] test library.
@@ -22, +28 @@
||S3 ||TestS3_LocalFileContextURI || ||
||Generic ||TestTrash ||Tests trash intervals ||
-
+ == AbstractFileSystem Tests ==
+
- AbstractFileSystem tests. Many of these tests define a protected parameter which for the FileContext which
+ These are new to Hadoop 2.X. Many of these tests define a protected parameter which for the FileContext which
can be overriden by extending classes, making them well suited for HCFS testing in 2.0 AbstractFileSystem implementations.
|| HCFS || FCStatisticsBaseTest || Base Test to FileContext ||
@@ -40, +47 @@
|| HCFS || TestFileContextResolveAfs || ||
|| || TestFilterFs || ||
- Other Tests:
+ == Other Tests ==
|| FileContextTestHelper ||
|| TestAvroFSInput ||
@@ -51, +58 @@
|| TestFsOptions ||
|| TestFsShellCopy ||
- Sub packages:
+ == Sub packages, specific implementation tests ==
|| kfs ||
|| loadGenerator ||
@@ -62, +69 @@
|| slive ||
|| viewfs ||
- This page will be expanded upon in the near future and augmented by an evaluation of the test coverage for the newer FileContext API.
+ == Conclusions ==
+ Hadoop 2.X adds several new tests and the FileContext related tests provide extension points for other HCFS tests.
+
+ This is an initial analysis. Comparison of missing tests would be much appreciated.
+
+ We have used the JDiff tool to diff between 1.X (1.1) and the 2.X branches (2.1-beta) and summarized classes by inspection in order to identify the ability to generalize these tests, but this may be prone to error. Comments and/or edits are welcome.
+