Github user steveloughran commented on a diff in the pull request:
https://github.com/apache/spark/pull/12004#discussion_r113749812
--- Diff: docs/storage-openstack-swift.md ---
@@ -19,41 +20,32 @@ Although not mandatory, it is recommended to configure
the proxy server of Swift
# Dependencies
-The Spark application should include <code>hadoop-openstack</code>
dependency.
+The Spark application should include <code>hadoop-openstack</code>
dependency, which can
+be done by including the `spark-hadoop-cloud` module for the specific
version of spark used.
For example, for Maven support, add the following to the
<code>pom.xml</code> file:
{% highlight xml %}
<dependencyManagement>
...
<dependency>
- <groupId>org.apache.hadoop</groupId>
- <artifactId>hadoop-openstack</artifactId>
- <version>2.3.0</version>
+ <groupId>org.apache.spark</groupId>
+ <artifactId>spark-hadoop-cloud_2.11</artifactId>
+ <version>${spark.version}</version>
</dependency>
...
</dependencyManagement>
{% endhighlight %}
+If using the Scala 2.10-compatible version of Spark, the artifact is of
course `spark-hadoop-cloud_2.10`.
--- End diff --
will do
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]