From d9fcb8710d988c009424175c0332156ee03b5880 Mon Sep 17 00:00:00 2001 From: Hanieh Rajabi Date: Tue, 21 Jun 2016 12:50:34 +0200 Subject: [PATCH] doc improvement change, fixed spelling errors Change-Id: I91c657ee8b5bbdbdc0eeee02570f1aebc1a59641 --- hadoop-swiftfs/README.rst | 16 ++++++++++------ .../java/org/apache/hadoop/fs/swift/package.html | 4 ++-- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/hadoop-swiftfs/README.rst b/hadoop-swiftfs/README.rst index 7f3de10..7326ffb 100644 --- a/hadoop-swiftfs/README.rst +++ b/hadoop-swiftfs/README.rst @@ -1,13 +1,17 @@ -======================= +====================================================== Sources for Swift filesystem implementation for Hadoop -======================= +====================================================== -These sources were originally published at https://issues.apache.org/jira/secure/attachment/12583703/HADOOP-8545-033.patch . -The sources were obtained by running "patch" command. All the files related to Hadoop-common were skiped during patching. +These sources were originally published at +https://issues.apache.org/jira/secure/attachment/12583703/HADOOP-8545-033.patch +The sources were obtained by running "patch" command. All the files related to +Hadoop-common were skipped during patching. Changes were made after patching: -* pom.xml was updated to use hadoop-core 1.1.2 dependency and adds hadoop2 profile -* removed dependency on 2.x hadoop in code (@Override and isDirectory() -> isDir()) +* pom.xml was updated to use hadoop-core 1.1.2 dependency and adds hadoop2 + profile +* removed dependency on 2.x hadoop in code (@Override and isDirectory() + -> isDir()) * removed Hadoop 2.X tests There are no unit-tests, only integration. diff --git a/hadoop-swiftfs/src/main/java/org/apache/hadoop/fs/swift/package.html b/hadoop-swiftfs/src/main/java/org/apache/hadoop/fs/swift/package.html index 0ccca32..e291596 100644 --- a/hadoop-swiftfs/src/main/java/org/apache/hadoop/fs/swift/package.html +++ b/hadoop-swiftfs/src/main/java/org/apache/hadoop/fs/swift/package.html @@ -58,14 +58,14 @@ single set of login credentials for S3 (username and key), which are used to authenticate the HTTP operations. For swift, we need to know not only which "container" name, but which credentials -to use to authenticate with it -and which URL to use for authentication. +to use to authenticate with it and which URL to use for authentication. This has led to a different design pattern from S3, as instead of simple bucket names, the hostname of an S3 container is two-level, the name of the service provider being the second path: swift://bucket.service/ The service portion of this domainame is used as a reference into -the client settings -and so identify the service provider of that container. +the client settings and so identify the service provider of that container.

Testing