• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » Integration of Apache Hadoop With OpenStack Swift

By Abhishek Ghosh May 14, 2017 1:27 am Updated on May 14, 2017

Integration of Apache Hadoop With OpenStack Swift

Advertisement

Commonly either peoples are versed with Apache Hadoop or Openstack Swift. The topic integration of Apache Hadoop with Openstack Swift is not exactly new. Good experience with both together may be rare. You can follow our this guide specially for handling OpenStack part without searching here and there. Further you can use this website’s search function to find our old guides apart from the linked articles.

 

Integration of Apache Hadoop With OpenStack Swift : Foreword

 

You must know what you are doing. Hadoop file system widely used with HDFS, but most of them are not built to work out of the box with object storage. It is not odd to get odd behaviour as response. OpenStack installations can differ from vendor to vendor. We have good number of guides on Rackspace and HP Cloud fully separately. Access can be API based or username password based.

Integration of Apache Hadoop With OpenStack Swift

 

Integration of Apache Hadoop With OpenStack Swift

 

We guess that you already have Apache Hadoop up and running, if not please follow our guide for installation and setup of Apache Hadoop on single server instance.

Advertisement

---

Coming to OpenStack Swift, it has client which we described on earlier series of guides like Installation and Setup of OpenStack Python Packages, Uploading to a Swift Container (HP Cloud), Emptying a Swift Container (HP Cloud), mount OpenStack Swift on Ubuntu server (Rackspace) and so an.

After getting used with ordinary files with OpenStack Swift, you can follow Apache Hadoop’s official guide :

Vim
1
https://hadoop.apache.org/docs/current2/hadoop-openstack/index.html

In the same way, OpenStack Swift has official guide :

Vim
1
https://docs.openstack.org/developer/sahara/userdoc/hadoop-swift.html

Regardless of cloud vendor, you’ll need these to configure Apache products including Hadoop, Spark to access :

  • username
  • region for your container
  • authorization URL
  • API key OR password

Please remember that we are not talking about tenant name. Above linked guides have easy integration of those basic things with bash or ZSH. To configure Hadoop for Swift, at location /usr/share/hadoop/etc/hadoop, you’ll find hadoop-env.sh. You need to add a line in this format :

Vim
1
export HADOOP_CLASSPATH=/usr/share/hadoop/share/hadoop/tools/lib/hadoop-openstack-VERSION.jar:/usr/share/hadoop/share/hadoop/tools/lib/httpclient-x.y.z.jar:/usr/share/hadoop/share/hadoop/tools/lib/httpcore-x.y.z.jar:$HADOOP_CLASSPATH

Another file is usr/share/hadoop/etc/hadoop/core-site.xml, swift_test is our example name :

Vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<property>
<name>fs.swift.service.swift_test.auth.url</name>
<value>https://identity.vendor.openstack.replace.this.url/v2.0/tokens</value>
<description>VendorName US (multiregion)</description>
</property>
<property>
<name>fs.swift.service.swift_test.username</name>
<value>OS_USER</value>
</property>
<property>
<name>fs.swift.service.swift_test.region</name>
<value>OS_REGION</value>
</property>
<property>
<name>fs.swift.service.swift_test.apikey</name>
<value>OS_APIKEY</value>
</property>

In those official guides you’ll find another variable in case you are running Hadoop outside of OpenStack Swift provider’s datacenter. We already talked about installation of Apache Spark with Hadoop. For, Spark you need to add these lines to /usr/share/spark/conf/spark-env.sh .

Vim
1
2
export SPARK_DIST_CLASSPATH=$(/usr/share/hadoop/bin/hadoop classpath)
export HADOOP_CONF_DIR=/usr/share/hadoop/etc/hadoop

Tagged With paperuri:(65a52f45cf9a751247a26023d6ed10c0)
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Integration of Apache Hadoop With OpenStack Swift

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • Install Apache Hadoop on Ubuntu on Single Cloud Server Instance

    Here is How Install Apache Hadoop on Ubuntu on Single Cloud Server Instance in Stand-Alone Mode With Minimum System Requirement and Commands.

  • Changing Data With cURL for OpenStack Swift (HP Cloud CDN)

    Changing Data With cURL For Object is Quite Easy in OpenStack Swift. Here Are Examples With HP Cloud CDN To Make it Clear. Official Examples Are Bad.

  • Installing Local Data Lake on Ubuntu Server : Part 1

    Here is Part 1 of Installing Local Data Lake on Ubuntu Server With Hadoop, Spark, Thriftserver, Jupyter etc To Build a Prediction System.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy