Github user rxin commented on a diff in the pull request:
https://github.com/apache/spark/pull/1010#discussion_r13526195
--- Diff: docs/openstack-integration.md ---
@@ -0,0 +1,83 @@
+---
+layout: global
+title: Accessing Openstack Swift storage from Spark
+---
+
+# Accessing Openstack Swift storage from Spark
+
+Spark's file interface allows it to process data in Openstack Swift using
the same URI formats that are supported for Hadoop. You can specify a path in
Swift as input through a URI of the form
`swift://<container.service_provider>/path`. You will also need to set your
Swift security credentials, through `SparkContext.hadoopConfiguration`.
+
+#Configuring Hadoop to use Openstack Swift
+Openstack Swift driver was merged in Hadoop verion 2.3.0 ([Swift
driver](https://issues.apache.org/jira/browse/HADOOP-8545)) Users that wish to
use previous Hadoop versions will need to configure Swift driver manually.
+<h2>Hadoop 2.3.0 and above.</h2>
+An Openstack Swift driver was merged into Haddop 2.3.0 . Current Hadoop
driver requieres Swift to use Keystone authentication. There are additional
efforts to support temp auth for Hadoop
[Hadoop-10420](https://issues.apache.org/jira/browse/HADOOP-10420).
+To configure Hadoop to work with Swift one need to modify core-sites.xml
of Hadoop and setup Swift FS.
+
+ <configuration>
+ <property>
+ <name>fs.swift.impl</name>
+
<value>org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem</value>
+ </property>
+ </configuration>
+
+
+<h2>Configuring Spark - stand alone cluster</h2>
+You need to configure the compute-classpath.sh and add Hadoop classpath
for
--- End diff --
Is the swift jar not included in hadoop-client? Is there a way to specify
this through Maven dependencies rather than manually including the path?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---