Skip to content

Commit dfb8fea

Browse files
committed
Updated based on Gil's suggestion.
1 parent 846f5cb commit dfb8fea

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

docs/storage-openstack-swift.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@ Swift security credentials, through <code>core-sites.xml</code> or via
1010
<code>SparkContext.hadoopConfiguration</code>.
1111
Current Swift driver requires Swift to use Keystone authentication method.
1212

13-
# Configuring Swift
14-
Proxy server of Swift should include <code>list_endpoints</code> middleware. More information
15-
available
16-
[here](https://github.com/openstack/swift/blob/master/swift/common/middleware/list_endpoints.py)
13+
# Configuring Swift for Better Data Locality
14+
15+
Although not mandatory, it is recommended to configure the proxy server of Swift with
16+
<code>list_endpoints</code> to have better data locality. More information is
17+
[available here](https://github.com/openstack/swift/blob/master/swift/common/middleware/list_endpoints.py).
18+
1719

1820
# Dependencies
1921

@@ -49,7 +51,7 @@ Configuration of Hadoop to use Swift File system achieved via
4951
</tr>
5052
</table>
5153

52-
Additional parameters required by Keystone and should be provided to the Swift driver. Those
54+
Additional parameters required by Keystone (v2.0) and should be provided to the Swift driver. Those
5355
parameters will be used to perform authentication in Keystone to access Swift. The following table
5456
contains a list of Keystone mandatory parameters. <code>PROVIDER</code> can be any name.
5557

@@ -98,7 +100,7 @@ contains a list of Keystone mandatory parameters. <code>PROVIDER</code> can be a
98100
</table>
99101

100102
For example, assume <code>PROVIDER=SparkTest</code> and Keystone contains user <code>tester</code> with password <code>testing</code>
101-
defined for tenant <code>tenant</code>. Than <code>core-sites.xml</code> should include:
103+
defined for tenant <code>test</code>. Than <code>core-sites.xml</code> should include:
102104

103105
{% highlight xml %}
104106
<configuration>

0 commit comments

Comments
 (0)