Skip to content

Instantly share code, notes, and snippets.

@arundasan91
Created December 10, 2016 05:33
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arundasan91/21276de73b75b307834729adfe94d4a9 to your computer and use it in GitHub Desktop.
Save arundasan91/21276de73b75b307834729adfe94d4a9 to your computer and use it in GitHub Desktop.
core-site.xml file for integrating openstack swift with hadoop
<configuration>
<property>
<name>fs.defaultFS</name>
<value>hdfs://localhost:9000</value>
</property>
<property>
<name>fs.swift.impl</name>
<value>org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem</value>
</property>
<property>
<name>fs.swift.service.chameleoncloud.auth.url</name>
<value>AUTH URL</value>
</property>
<property>
<name>fs.swift.service.chameleoncloud.username</name>
<value>USERNAME</value>
</property>
<property>
<name>fs.swift.service.chameleoncloud.region</name>
<value>REGION</value>
</property>
<property>
<name>fs.swift.service.chameleoncloud.public</name>
<value>true</value>
</property>
<property>
<name>fs.swift.service.chameleoncloud.password</name>
<value>PASSWORD</value>
</property>
<property>
<name>fs.swift.service.chameleoncloud.tenant</name>
<value>TENANT NAME</value>
</property>
<property>
<name>fs.swift.service.chameleoncloud.https.port</name>
<value>HTTPS PORT</value>
</property>
<property>
<name>fs.swift.service.chameleoncloud.auth.endpoint.prefix</name>
<value>/AUTH_</value>
</property>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment