DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
  1. DZone
  2. Data Engineering
  3. Big Data
  4. How to Access Data From Both HDFS and Cloud Storage

How to Access Data From Both HDFS and Cloud Storage

An engineer briefly discusses the problems you can run into when merging data from two different sources and a free solution that can help.

Bin Fan user avatar by
Bin Fan
CORE ·
May. 09, 19 · Analysis
Like (3)
Save
Tweet
Share
5.53K Views

Join the DZone community and get the full member experience.

Join For Free

Problem

Sometimes big data analytics need process input data from two different storage systems at the same time. For instance, a data scientists may need to join two tables one from a HDFS cluster and one from S3.

Existing Solutions

Certain computation frameworks may be able to connect to storage systems including HDFS and popular cloud storages like S3 or Azure blob store. For example, in Hive one can point each external table to a different storage system in HIive metastore. While straightforward to set up, this approach may have performance issues. For example, running the computation in a data warehouse but reading data from cloud storage can be slow even the compute is colocated with HDFS. Similarly, running a workload in cloud environment may be efficient to read cloud storage but fetching data from the on-premise HDFS can be slow. This problem can be worse if the same input data is read repeatedly for machine-learning or scientific computing algorithms.

Another common solution is to prepare the input data by moving the input data from one cluster (e.g. the cloud storage) to HDFS. This typically requires data engineers to build ETL pipelines before hand and creates complexity in data management and synchronization.

How Alluxio Helps

Alluxio can serve as a data abstraction layer on top of both HDFS and S3 or other cloud storage systems, providing a unified file system namespace. In this case, data applications can assume one “logical file system” with different directories linking to external storage systems. Reading data from remote storage is transparent to the user application. Alluxio will also provide benefits like data caching to speed up repeated reads on the same set of files.

Data science Big data Cloud storage Cloud hadoop

Published at DZone with permission of Bin Fan, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • How Observability Is Redefining Developer Roles
  • Upgrade Guide To Spring Data Elasticsearch 5.0
  • Spring Cloud: How To Deal With Microservice Configuration (Part 1)
  • What Is Testing as a Service?

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: