Github user rxin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/1010#discussion_r13635058
  
    --- Diff: docs/openstack-integration.md ---
    @@ -0,0 +1,110 @@
    +yout: 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. 
Current Swift driver 
    +requieres Swift to use Keystone authentication method. There are recent 
efforts to support 
    +also temp auth 
[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>
    --- End diff --
    
    Is this needed? Can we just put this in core-site.xml under conf? 
(Basically removing the configuring Hadoop section)


---
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.
---

Reply via email to