diff --git a/docs/storage-openstack-swift.md b/docs/storage-openstack-swift.md index 931e995e0f014..ad0d3c6d7deaf 100644 --- a/docs/storage-openstack-swift.md +++ b/docs/storage-openstack-swift.md @@ -10,10 +10,12 @@ Swift security credentials, through core-sites.xml or via SparkContext.hadoopConfiguration. Current Swift driver requires Swift to use Keystone authentication method. -# Configuring Swift -Proxy server of Swift should include list_endpoints middleware. More information -available -[here](https://github.com/openstack/swift/blob/master/swift/common/middleware/list_endpoints.py) +# Configuring Swift for Better Data Locality + +Although not mandatory, it is recommended to configure the proxy server of Swift with +list_endpoints to have better data locality. More information is +[available here](https://github.com/openstack/swift/blob/master/swift/common/middleware/list_endpoints.py). + # Dependencies @@ -49,7 +51,7 @@ Configuration of Hadoop to use Swift File system achieved via -Additional parameters required by Keystone and should be provided to the Swift driver. Those +Additional parameters required by Keystone (v2.0) and should be provided to the Swift driver. Those parameters will be used to perform authentication in Keystone to access Swift. The following table contains a list of Keystone mandatory parameters. PROVIDER can be any name. @@ -98,7 +100,7 @@ contains a list of Keystone mandatory parameters. PROVIDER can be a For example, assume PROVIDER=SparkTest and Keystone contains user tester with password testing -defined for tenant tenant. Than core-sites.xml should include: +defined for tenant test. Than core-sites.xml should include: {% highlight xml %}