SlideShare a Scribd company logo
1 of 26
1 © Hortonworks Inc. 2011 – 2016. All Rights
Reserved
Hadoop & Cloud Storage:
Object Store Integration in
Production
Chris Nauroth
Rajesh Balamohan
Hadoop Summit 2016
2 © Hortonworks Inc. 2011 – 2016. All Rights
Reserved
About Us
Rajesh Balamohan, rbalamohan@hortonworks.com, Twitter: @rajeshbalamohan
– Apache Tez Committer, PMC Member
– Mainly working on performance in Tez
– Have been using Hadoop since 2009
Chris Nauroth, cnauroth@hortonworks.com, Twitter: @cnauroth
– Apache Hadoop committer, PMC member, and Apache Software Foundation member
– Working on HDFS and alternative file systems such as WASB and S3A
– Hadoop user since 2010
Steve Loughran, stevel@hortonworks.com, Twitter: @steveloughran
– Apache Hadoop committer, PMC member, and Apache Software Foundation member
– Hadoop deployment since 2008, especially Cloud integration, Filesystem Spec author.
– Working on: Apache Slider, Spark+cloud integration, Hadoop + Cloud
3 © Hortonworks Inc. 2011 – 2016. All Rights
Reserved
Agenda
⬢ Hadoop/Cloud Storage Integration Use Cases
⬢ Hadoop-compatible File System Architecture
⬢ Recent Enhancements in S3A FileSystem Connector
⬢ Hive Access Patterns
⬢ Performance Improvements and TPC-DS Benchmarks with Hive-TestBench
⬢ Next Steps for S3A and other Object Stores
⬢ Q & A
4 © Hortonworks Inc. 2011 – 2016. All Rights
Reserved
Why Hadoop in the Cloud?
5 © Hortonworks Inc. 2011 – 2016. All Rights
Reserved
Hadoop Cloud Storage Utilization Evolution
HDFS
Application
HDFS
Application
GoalEvolution towards cloud storage as the primary Data Lake
Input Output
Backup Restore
Input
Output
Copy
HDFS
Application
Input
Output
tmp
6 © Hortonworks Inc. 2011 – 2016. All Rights
Reserved
What is the Problem?
Cloud Object Stores designed for
⬢ Scale
⬢ Cost
⬢ Geographic Distribution
⬢ Availability
⬢ Cloud app writers often modify apps to deal with cloud storage semantics and limitations
Challenges - Hadoop apps should work on HDFS or Cloud Storage transparently
⬢ Eventual consistency
⬢ Performance - separated from compute
⬢ Cloud Storage not designed for file-like access patterns
⬢ Limitations in APIs (e.g. rename)
7 © Hortonworks Inc. 2011 – 2016. All Rights
Reserved
Goal and Approach
Goals
⬢ Integrate with unique functionality of each cloud
⬢ Optimize each cloud’s object store connector
⬢ Optimize upper layers for cloud object stores
Overall Approach
⬢ Consistency in face of eventual consistency (use a secondary metadata store)
⬢ Performance in the connector (e.g. lazy seek)
⬢ Upper layer improvements (Hive, ORC, Tez, etc.)
8 © Hortonworks Inc. 2011 – 2016. All Rights
Reserved
Hadoop-compatible File System Architecture
9 © Hortonworks Inc. 2011 – 2016. All Rights
Reserved
Hadoop-compatible File System Architecture
⬢ Applications
– File system interactions coded to file system-agnostic abstraction layer.
• FileSystem class - traditional API
• FileContext/AbstractFileSystem classes - newer API providing split between client API and provider API
– Can be retargeted to a different file system by configuration changes (not code changes).
• Caveat: Different FileSystem implementations may offer limited feature set.
• Example: Only HDFS and WASB can run HBase.
⬢ File System Abstraction Layer
– Defines interface of common file system operations: create, open, rename, etc.
– Supports additional mix-in interfaces to indicate implementation of optional features.
– Semantics of each operation documented in formal specification, derived from HDFS behavior.
⬢ File System Implementation Layer
– Each file system provides a set of concrete classes implementing the interface.
– A set of common file system contract tests execute against each implementation to prove its adherence to specified
semantics.
1
0
© Hortonworks Inc. 2011 – 2016. All Rights
Reserved
Cloud Storage Connectors
Azure WASB ● Strongly consistent
● Good performance
● Well-tested on applications (incl. HBase)
ADL ● Strongly consistent
● Tuned for big data analytics workloads
Amazon Web Services S3A ● Eventually consistent - consistency work in
progress by Hortonworks
● Performance improvements in progress
● Active development in Apache
EMRFS ● Proprietary connector used in EMR
● Optional strong consistency for a cost
Google Cloud Platform GCS ● Multiple configurable consistency policies
● Currently Google open source
● Good performance
● Work under way for contribution to Apache
1
1
© Hortonworks Inc. 2011 – 2016. All Rights
Reserved
1
1
© Hortonworks Inc. 2011 – 2016. All Rights
Reserved
Case Study: S3A Functionality and
Performance
1
2
© Hortonworks Inc. 2011 – 2016. All Rights
Reserved
Authentication
⬢ Basic
– AWS Access Key ID and Secret Access Key in Hadoop Configuration Files
– Hadoop Credential Provider API to avoid using world-readable configuration files
⬢ EC2 Metadata
– Reads credentials published by AWS directly into EC2 VM instances
– More secure, because external distribution of secrets not required
⬢ AWS Environment Variables
– Less secure, but potentially easier integration for some applications
⬢ Session Credentials
– Temporary security credentials issued by Amazon Security Token Service
– Fixed lifetime reduces impact of credential leak
⬢ Anonymous Login
– Easy read-only access to public buckets for early prototyping
1
3
© Hortonworks Inc. 2011 – 2016. All Rights
Reserved
Encryption
⬢ S3 Server-Side Encryption
– Encryption of data at rest at S3
– Supports the SSE-S3 option: each object encrypted by a unique key using AES-256 cipher
– Now covered in S3A automated test suites
– Support for additional options under development (SSE-KMS and SSE-C)
1
4
© Hortonworks Inc. 2011 – 2016. All Rights
Reserved
Supportability
⬢ Documentation
– Backfill missing documentation, and include documentation in new enhancements
– To be published to hadoop.apache.org with Apache Hadoop 2.8.0 release
– Meanwhile, raw content visible on GitHub:
• https://github.com/apache/hadoop/blob/branch-2.8/hadoop-tools/hadoop-
aws/src/site/markdown/tools/hadoop-aws/index.md
⬢ Error Reporting
– Identify common user errors and provide more descriptive error messages
– S3 HTTP error codes examined and translated to specific error types
⬢ Instrumentation
– Internal metrics covering a wide range of metadata and data operations
– Already proven helpful in flagging a potential performance regression in a patch
1
5
© Hortonworks Inc. 2011 – 2016. All Rights
Reserved
Performance Improvements
⬢ Lazy Seek
– Earlier implementation
• Reopened file in every seek call; Aborted connection in every reopen
• Positional Read was expensive (seek, read, seek)
– Current implementation
• Seek is a no-op call
• Performs real seek on need basis
⬢ Connection Abort Problem
– Backward seeks caused connection aborts
– Recent modifications to S3AFileSystem fixes these and added support for sequential reads
and random reads
• fs.s3a.experimental.input.fadvise
1
6
© Hortonworks Inc. 2011 – 2016. All Rights
Reserved
Hive Access Patterns
⬢ ETL and Admin Activities
– Bringing in dataset / Creating Tables
– Cleansing / Transforming Data
– Analyze Tables, Compute Column Statistics
– MSCK to fix partition related information
⬢ Read
– Running Queries
⬢ Write
– Store Output
1
7
© Hortonworks Inc. 2011 – 2016. All Rights
Reserved
Hive - MSCK Improvements
⬢ MSCK helps in fixing metastore for partitioned dataset
– Scan table path to identify missing partitions (expensive in S3)
1
8
© Hortonworks Inc. 2011 – 2016. All Rights
Reserved
Hive - Analyze Column Statistics Improvements
⬢ Hive needs statistics to run queries efficiently
– Gathering table and column statistics can be expensive in partitioned datasets
1
9
© Hortonworks Inc. 2011 – 2016. All Rights
Reserved
Performance Considerations When Running Hive Queries
⬢ Splits Generation
– File formats like ORC provides threadpool in split generation
⬢ ORC Footer Cache
– hive.orc.cache.stripe.details.size > 0
– Caches footer details; Helps in reducing data reads during split generation
⬢ Reduce S3A reads in Task side
– hive.orc.splits.include.file.footer=true
– Sends ORC footer information in splits payload.
– Helps reducing the amount of data read in task side.
2
0
© Hortonworks Inc. 2011 – 2016. All Rights
Reserved
Performance Considerations When Running Hive Queries
⬢ Tez Splits Grouping
– Hive uses Tez as its default execution engine
– Tez groups splits based on min/max group setting, location details and so on
– S3A always provides “localhost” as its block location information
– When all splits-length falls below min group setting, Tez aggressively groups them into single
split. This causes issues with S3A as single task ends up doing sequential operations.
– Fixed in recent releases
⬢ Container Launches
– S3A always provides “localhost” for block locations.
– Good to set “yarn.scheduler.capacity.node-locality-delay=0”
2
1
© Hortonworks Inc. 2011 – 2016. All Rights
Reserved
Hive-TestBench Benchmark Results
⬢ Hive-TestBench has subset of queries from TPC-DS (https://github.com/hortonworks/hive-testbench)
⬢ m4x4x large - 5 nodes
⬢ TPC-DS @ 200 GB Scale in S3
⬢ “HDP 2.3 + S3 in cloud” vs “HDP 2.4 + S3 in cloud”
– Average speedup 2.5x
– Queries like 15,17, 25, 73,75 etc did not run in HDP 2.3 (throws AWS timeout exceptions)
2
2
© Hortonworks Inc. 2011 – 2016. All Rights
Reserved
Hive-TestBench Benchmark Results - LLAP
⬢ LLAP DAG runtime comparison with Hive
⬢ Reduces the amount of data to be read from S3 significantly; Improves runtime.
2
3
© Hortonworks Inc. 2011 – 2016. All Rights
Reserved
Best Practices
⬢ Tune multipart settings
– fs.s3a.multipart.threshold (default: Integer.MAX_VALUE)
– fs.s3a.multipart.size (default: 100 MB)
– fs.s3a.connection.timeout (default: 200 seconds)
⬢ Tune File Committer Algorithm
– mapreduce.fileoutputcommitter.algorithm.version=2
⬢ Disable node locality delay in YARN
– Set “yarn.scheduler.capacity.node-locality-delay=0” to avoid delays in container launches
⬢ Disable Storage Based authorization in Hive
– hive.security.metastore.authorization.manager=org.apache.hadoop.hive.ql.security.authorization.DefaultHiveMetas
toreAuthorizationProvider
– hive.metastore.pre.event.listeners= (set to empty value)
⬢ Tune ORC threads for reducing split generation times
– hive.orc.compute.splits.num.threads (default 10)
2
4
© Hortonworks Inc. 2011 – 2016. All Rights
Reserved
Next Steps for S3A and other Object Stores
⬢ S3A Phase III
– https://issues.apache.org/jira/browse/HADOOP-13204
⬢ Output Committers
– Logical commit operation decoupled from rename (non-atomic and costly in object stores)
⬢ Object Store Abstraction Layer
– Avoid impedance mismatch with FileSystem API
– Provide specific APIs for better integration with object stores: saving, listing, copying
⬢ Ongoing Performance Improvement
– Less chatty call pattern for object listings
– Metadata caching to mask latency of remote object store calls
⬢ Consistency
2
5
© Hortonworks Inc. 2011 – 2016. All Rights
Reserved
Summary
⬢ Evolution towards cloud storage
⬢ Hadoop-compatible File System Architecture fosters integration with cloud storage
⬢ Integration with multiple cloud providers available: Azure, AWS, Google
⬢ Recent enhancements in S3A
⬢ Hive usage and TPC-DS benchmarks show significant S3A performance
improvements
⬢ More coming soon for S3A and other object stores
2
6
© Hortonworks Inc. 2011 – 2016. All Rights
Reserved
Q & A
Thank You!

More Related Content

What's hot

Hive2.0 sql speed-scale--hadoop-summit-dublin-apr-2016
Hive2.0 sql speed-scale--hadoop-summit-dublin-apr-2016Hive2.0 sql speed-scale--hadoop-summit-dublin-apr-2016
Hive2.0 sql speed-scale--hadoop-summit-dublin-apr-2016alanfgates
 
Scaling Hadoop at LinkedIn
Scaling Hadoop at LinkedInScaling Hadoop at LinkedIn
Scaling Hadoop at LinkedInDataWorks Summit
 
LLAP: Building Cloud First BI
LLAP: Building Cloud First BILLAP: Building Cloud First BI
LLAP: Building Cloud First BIDataWorks Summit
 
Near Real-Time Network Anomaly Detection and Traffic Analysis using Spark bas...
Near Real-Time Network Anomaly Detection and Traffic Analysis using Spark bas...Near Real-Time Network Anomaly Detection and Traffic Analysis using Spark bas...
Near Real-Time Network Anomaly Detection and Traffic Analysis using Spark bas...DataWorks Summit/Hadoop Summit
 
Scaling HDFS to Manage Billions of Files with Distributed Storage Schemes
Scaling HDFS to Manage Billions of Files with Distributed Storage SchemesScaling HDFS to Manage Billions of Files with Distributed Storage Schemes
Scaling HDFS to Manage Billions of Files with Distributed Storage SchemesDataWorks Summit
 
Scale-Out Resource Management at Microsoft using Apache YARN
Scale-Out Resource Management at Microsoft using Apache YARNScale-Out Resource Management at Microsoft using Apache YARN
Scale-Out Resource Management at Microsoft using Apache YARNDataWorks Summit/Hadoop Summit
 
Operating and Supporting Apache HBase Best Practices and Improvements
Operating and Supporting Apache HBase Best Practices and ImprovementsOperating and Supporting Apache HBase Best Practices and Improvements
Operating and Supporting Apache HBase Best Practices and ImprovementsDataWorks Summit/Hadoop Summit
 
Sub-second-sql-on-hadoop-at-scale
Sub-second-sql-on-hadoop-at-scaleSub-second-sql-on-hadoop-at-scale
Sub-second-sql-on-hadoop-at-scaleYifeng Jiang
 
Rich placement constraints: Who said YARN cannot schedule services?
Rich placement constraints: Who said YARN cannot schedule services?Rich placement constraints: Who said YARN cannot schedule services?
Rich placement constraints: Who said YARN cannot schedule services?DataWorks Summit
 
Apache Hadoop 3.0 Community Update
Apache Hadoop 3.0 Community UpdateApache Hadoop 3.0 Community Update
Apache Hadoop 3.0 Community UpdateDataWorks Summit
 
Network for the Large-scale Hadoop cluster at Yahoo! JAPAN
Network for the Large-scale Hadoop cluster at Yahoo! JAPANNetwork for the Large-scale Hadoop cluster at Yahoo! JAPAN
Network for the Large-scale Hadoop cluster at Yahoo! JAPANDataWorks Summit/Hadoop Summit
 
CBlocks - Posix compliant files systems for HDFS
CBlocks - Posix compliant files systems for HDFSCBlocks - Posix compliant files systems for HDFS
CBlocks - Posix compliant files systems for HDFSDataWorks Summit
 

What's hot (20)

Hive2.0 sql speed-scale--hadoop-summit-dublin-apr-2016
Hive2.0 sql speed-scale--hadoop-summit-dublin-apr-2016Hive2.0 sql speed-scale--hadoop-summit-dublin-apr-2016
Hive2.0 sql speed-scale--hadoop-summit-dublin-apr-2016
 
Ingest and Stream Processing - What will you choose?
Ingest and Stream Processing - What will you choose?Ingest and Stream Processing - What will you choose?
Ingest and Stream Processing - What will you choose?
 
Scaling Hadoop at LinkedIn
Scaling Hadoop at LinkedInScaling Hadoop at LinkedIn
Scaling Hadoop at LinkedIn
 
LLAP: Building Cloud First BI
LLAP: Building Cloud First BILLAP: Building Cloud First BI
LLAP: Building Cloud First BI
 
Evolving HDFS to Generalized Storage Subsystem
Evolving HDFS to Generalized Storage SubsystemEvolving HDFS to Generalized Storage Subsystem
Evolving HDFS to Generalized Storage Subsystem
 
LLAP: Sub-Second Analytical Queries in Hive
LLAP: Sub-Second Analytical Queries in HiveLLAP: Sub-Second Analytical Queries in Hive
LLAP: Sub-Second Analytical Queries in Hive
 
The state of SQL-on-Hadoop in the Cloud
The state of SQL-on-Hadoop in the CloudThe state of SQL-on-Hadoop in the Cloud
The state of SQL-on-Hadoop in the Cloud
 
Near Real-Time Network Anomaly Detection and Traffic Analysis using Spark bas...
Near Real-Time Network Anomaly Detection and Traffic Analysis using Spark bas...Near Real-Time Network Anomaly Detection and Traffic Analysis using Spark bas...
Near Real-Time Network Anomaly Detection and Traffic Analysis using Spark bas...
 
Scaling HDFS to Manage Billions of Files with Distributed Storage Schemes
Scaling HDFS to Manage Billions of Files with Distributed Storage SchemesScaling HDFS to Manage Billions of Files with Distributed Storage Schemes
Scaling HDFS to Manage Billions of Files with Distributed Storage Schemes
 
Empower Data-Driven Organizations with HPE and Hadoop
Empower Data-Driven Organizations with HPE and HadoopEmpower Data-Driven Organizations with HPE and Hadoop
Empower Data-Driven Organizations with HPE and Hadoop
 
Scale-Out Resource Management at Microsoft using Apache YARN
Scale-Out Resource Management at Microsoft using Apache YARNScale-Out Resource Management at Microsoft using Apache YARN
Scale-Out Resource Management at Microsoft using Apache YARN
 
Operating and Supporting Apache HBase Best Practices and Improvements
Operating and Supporting Apache HBase Best Practices and ImprovementsOperating and Supporting Apache HBase Best Practices and Improvements
Operating and Supporting Apache HBase Best Practices and Improvements
 
Apache Eagle - Monitor Hadoop in Real Time
Apache Eagle - Monitor Hadoop in Real TimeApache Eagle - Monitor Hadoop in Real Time
Apache Eagle - Monitor Hadoop in Real Time
 
Breaking the 1 Million OPS/SEC Barrier in HOPS Hadoop
Breaking the 1 Million OPS/SEC Barrier in HOPS HadoopBreaking the 1 Million OPS/SEC Barrier in HOPS Hadoop
Breaking the 1 Million OPS/SEC Barrier in HOPS Hadoop
 
Sub-second-sql-on-hadoop-at-scale
Sub-second-sql-on-hadoop-at-scaleSub-second-sql-on-hadoop-at-scale
Sub-second-sql-on-hadoop-at-scale
 
Rich placement constraints: Who said YARN cannot schedule services?
Rich placement constraints: Who said YARN cannot schedule services?Rich placement constraints: Who said YARN cannot schedule services?
Rich placement constraints: Who said YARN cannot schedule services?
 
HDFS Tiered Storage: Mounting Object Stores in HDFS
HDFS Tiered Storage: Mounting Object Stores in HDFSHDFS Tiered Storage: Mounting Object Stores in HDFS
HDFS Tiered Storage: Mounting Object Stores in HDFS
 
Apache Hadoop 3.0 Community Update
Apache Hadoop 3.0 Community UpdateApache Hadoop 3.0 Community Update
Apache Hadoop 3.0 Community Update
 
Network for the Large-scale Hadoop cluster at Yahoo! JAPAN
Network for the Large-scale Hadoop cluster at Yahoo! JAPANNetwork for the Large-scale Hadoop cluster at Yahoo! JAPAN
Network for the Large-scale Hadoop cluster at Yahoo! JAPAN
 
CBlocks - Posix compliant files systems for HDFS
CBlocks - Posix compliant files systems for HDFSCBlocks - Posix compliant files systems for HDFS
CBlocks - Posix compliant files systems for HDFS
 

Similar to Hadoop & cloud storage object store integration in production (final)

Moving towards enterprise ready Hadoop clusters on the cloud
Moving towards enterprise ready Hadoop clusters on the cloudMoving towards enterprise ready Hadoop clusters on the cloud
Moving towards enterprise ready Hadoop clusters on the cloudDataWorks Summit/Hadoop Summit
 
Cloudy with a chance of Hadoop - real world considerations
Cloudy with a chance of Hadoop - real world considerationsCloudy with a chance of Hadoop - real world considerations
Cloudy with a chance of Hadoop - real world considerationsDataWorks Summit
 
Big data spain keynote nov 2016
Big data spain keynote nov 2016Big data spain keynote nov 2016
Big data spain keynote nov 2016alanfgates
 
The Enterprise and Connected Data, Trends in the Apache Hadoop Ecosystem by A...
The Enterprise and Connected Data, Trends in the Apache Hadoop Ecosystem by A...The Enterprise and Connected Data, Trends in the Apache Hadoop Ecosystem by A...
The Enterprise and Connected Data, Trends in the Apache Hadoop Ecosystem by A...Big Data Spain
 
Dancing Elephants - Efficiently Working with Object Stores from Apache Spark ...
Dancing Elephants - Efficiently Working with Object Stores from Apache Spark ...Dancing Elephants - Efficiently Working with Object Stores from Apache Spark ...
Dancing Elephants - Efficiently Working with Object Stores from Apache Spark ...DataWorks Summit
 
Dancing elephants - efficiently working with object stores from Apache Spark ...
Dancing elephants - efficiently working with object stores from Apache Spark ...Dancing elephants - efficiently working with object stores from Apache Spark ...
Dancing elephants - efficiently working with object stores from Apache Spark ...DataWorks Summit
 
Cloudy with a chance of Hadoop - DataWorks Summit 2017 San Jose
Cloudy with a chance of Hadoop - DataWorks Summit 2017 San JoseCloudy with a chance of Hadoop - DataWorks Summit 2017 San Jose
Cloudy with a chance of Hadoop - DataWorks Summit 2017 San JoseMingliang Liu
 
Micro services vs hadoop
Micro services vs hadoopMicro services vs hadoop
Micro services vs hadoopGergely Devenyi
 
Driving Enterprise Data Governance for Big Data Systems through Apache Falcon
Driving Enterprise Data Governance for Big Data Systems through Apache FalconDriving Enterprise Data Governance for Big Data Systems through Apache Falcon
Driving Enterprise Data Governance for Big Data Systems through Apache FalconDataWorks Summit
 
Data Governance in Apache Falcon - Hadoop Summit Brussels 2015
Data Governance in Apache Falcon - Hadoop Summit Brussels 2015 Data Governance in Apache Falcon - Hadoop Summit Brussels 2015
Data Governance in Apache Falcon - Hadoop Summit Brussels 2015 Seetharam Venkatesh
 
Standalone metastore-dws-sjc-june-2018
Standalone metastore-dws-sjc-june-2018Standalone metastore-dws-sjc-june-2018
Standalone metastore-dws-sjc-june-2018alanfgates
 
Sharing metadata across the data lake and streams
Sharing metadata across the data lake and streamsSharing metadata across the data lake and streams
Sharing metadata across the data lake and streamsDataWorks Summit
 
Ozone- Object store for Apache Hadoop
Ozone- Object store for Apache HadoopOzone- Object store for Apache Hadoop
Ozone- Object store for Apache HadoopHortonworks
 
Hive acid and_2.x new_features
Hive acid and_2.x new_featuresHive acid and_2.x new_features
Hive acid and_2.x new_featuresAlberto Romero
 
Future of Data New Jersey - HDF 3.0 Deep Dive
Future of Data New Jersey - HDF 3.0 Deep DiveFuture of Data New Jersey - HDF 3.0 Deep Dive
Future of Data New Jersey - HDF 3.0 Deep DiveAldrin Piri
 
Hadoop Present - Open Enterprise Hadoop
Hadoop Present - Open Enterprise HadoopHadoop Present - Open Enterprise Hadoop
Hadoop Present - Open Enterprise HadoopYifeng Jiang
 

Similar to Hadoop & cloud storage object store integration in production (final) (20)

Moving towards enterprise ready Hadoop clusters on the cloud
Moving towards enterprise ready Hadoop clusters on the cloudMoving towards enterprise ready Hadoop clusters on the cloud
Moving towards enterprise ready Hadoop clusters on the cloud
 
Cloudy with a chance of Hadoop - real world considerations
Cloudy with a chance of Hadoop - real world considerationsCloudy with a chance of Hadoop - real world considerations
Cloudy with a chance of Hadoop - real world considerations
 
Big data spain keynote nov 2016
Big data spain keynote nov 2016Big data spain keynote nov 2016
Big data spain keynote nov 2016
 
The Enterprise and Connected Data, Trends in the Apache Hadoop Ecosystem by A...
The Enterprise and Connected Data, Trends in the Apache Hadoop Ecosystem by A...The Enterprise and Connected Data, Trends in the Apache Hadoop Ecosystem by A...
The Enterprise and Connected Data, Trends in the Apache Hadoop Ecosystem by A...
 
Dancing Elephants - Efficiently Working with Object Stores from Apache Spark ...
Dancing Elephants - Efficiently Working with Object Stores from Apache Spark ...Dancing Elephants - Efficiently Working with Object Stores from Apache Spark ...
Dancing Elephants - Efficiently Working with Object Stores from Apache Spark ...
 
Dancing elephants - efficiently working with object stores from Apache Spark ...
Dancing elephants - efficiently working with object stores from Apache Spark ...Dancing elephants - efficiently working with object stores from Apache Spark ...
Dancing elephants - efficiently working with object stores from Apache Spark ...
 
Cloudy with a chance of Hadoop - DataWorks Summit 2017 San Jose
Cloudy with a chance of Hadoop - DataWorks Summit 2017 San JoseCloudy with a chance of Hadoop - DataWorks Summit 2017 San Jose
Cloudy with a chance of Hadoop - DataWorks Summit 2017 San Jose
 
Micro services vs hadoop
Micro services vs hadoopMicro services vs hadoop
Micro services vs hadoop
 
Apache Hadoop YARN: Past, Present and Future
Apache Hadoop YARN: Past, Present and FutureApache Hadoop YARN: Past, Present and Future
Apache Hadoop YARN: Past, Present and Future
 
Driving Enterprise Data Governance for Big Data Systems through Apache Falcon
Driving Enterprise Data Governance for Big Data Systems through Apache FalconDriving Enterprise Data Governance for Big Data Systems through Apache Falcon
Driving Enterprise Data Governance for Big Data Systems through Apache Falcon
 
Data Governance in Apache Falcon - Hadoop Summit Brussels 2015
Data Governance in Apache Falcon - Hadoop Summit Brussels 2015 Data Governance in Apache Falcon - Hadoop Summit Brussels 2015
Data Governance in Apache Falcon - Hadoop Summit Brussels 2015
 
Hadoop 3 in a Nutshell
Hadoop 3 in a NutshellHadoop 3 in a Nutshell
Hadoop 3 in a Nutshell
 
Apache Hadoop 3.0 What's new in YARN and MapReduce
Apache Hadoop 3.0 What's new in YARN and MapReduceApache Hadoop 3.0 What's new in YARN and MapReduce
Apache Hadoop 3.0 What's new in YARN and MapReduce
 
Standalone metastore-dws-sjc-june-2018
Standalone metastore-dws-sjc-june-2018Standalone metastore-dws-sjc-june-2018
Standalone metastore-dws-sjc-june-2018
 
Sharing metadata across the data lake and streams
Sharing metadata across the data lake and streamsSharing metadata across the data lake and streams
Sharing metadata across the data lake and streams
 
Ozone- Object store for Apache Hadoop
Ozone- Object store for Apache HadoopOzone- Object store for Apache Hadoop
Ozone- Object store for Apache Hadoop
 
Hive acid and_2.x new_features
Hive acid and_2.x new_featuresHive acid and_2.x new_features
Hive acid and_2.x new_features
 
Running Services on YARN
Running Services on YARNRunning Services on YARN
Running Services on YARN
 
Future of Data New Jersey - HDF 3.0 Deep Dive
Future of Data New Jersey - HDF 3.0 Deep DiveFuture of Data New Jersey - HDF 3.0 Deep Dive
Future of Data New Jersey - HDF 3.0 Deep Dive
 
Hadoop Present - Open Enterprise Hadoop
Hadoop Present - Open Enterprise HadoopHadoop Present - Open Enterprise Hadoop
Hadoop Present - Open Enterprise Hadoop
 

Recently uploaded

Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)Intelisync
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyFrank van der Linden
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about usDynamic Netsoft
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 

Recently uploaded (20)

Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Exploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the ProcessExploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the Process
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
Engage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The UglyEngage Usergroup 2024 - The Good The Bad_The Ugly
Engage Usergroup 2024 - The Good The Bad_The Ugly
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about us
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 

Hadoop & cloud storage object store integration in production (final)

  • 1. 1 © Hortonworks Inc. 2011 – 2016. All Rights Reserved Hadoop & Cloud Storage: Object Store Integration in Production Chris Nauroth Rajesh Balamohan Hadoop Summit 2016
  • 2. 2 © Hortonworks Inc. 2011 – 2016. All Rights Reserved About Us Rajesh Balamohan, rbalamohan@hortonworks.com, Twitter: @rajeshbalamohan – Apache Tez Committer, PMC Member – Mainly working on performance in Tez – Have been using Hadoop since 2009 Chris Nauroth, cnauroth@hortonworks.com, Twitter: @cnauroth – Apache Hadoop committer, PMC member, and Apache Software Foundation member – Working on HDFS and alternative file systems such as WASB and S3A – Hadoop user since 2010 Steve Loughran, stevel@hortonworks.com, Twitter: @steveloughran – Apache Hadoop committer, PMC member, and Apache Software Foundation member – Hadoop deployment since 2008, especially Cloud integration, Filesystem Spec author. – Working on: Apache Slider, Spark+cloud integration, Hadoop + Cloud
  • 3. 3 © Hortonworks Inc. 2011 – 2016. All Rights Reserved Agenda ⬢ Hadoop/Cloud Storage Integration Use Cases ⬢ Hadoop-compatible File System Architecture ⬢ Recent Enhancements in S3A FileSystem Connector ⬢ Hive Access Patterns ⬢ Performance Improvements and TPC-DS Benchmarks with Hive-TestBench ⬢ Next Steps for S3A and other Object Stores ⬢ Q & A
  • 4. 4 © Hortonworks Inc. 2011 – 2016. All Rights Reserved Why Hadoop in the Cloud?
  • 5. 5 © Hortonworks Inc. 2011 – 2016. All Rights Reserved Hadoop Cloud Storage Utilization Evolution HDFS Application HDFS Application GoalEvolution towards cloud storage as the primary Data Lake Input Output Backup Restore Input Output Copy HDFS Application Input Output tmp
  • 6. 6 © Hortonworks Inc. 2011 – 2016. All Rights Reserved What is the Problem? Cloud Object Stores designed for ⬢ Scale ⬢ Cost ⬢ Geographic Distribution ⬢ Availability ⬢ Cloud app writers often modify apps to deal with cloud storage semantics and limitations Challenges - Hadoop apps should work on HDFS or Cloud Storage transparently ⬢ Eventual consistency ⬢ Performance - separated from compute ⬢ Cloud Storage not designed for file-like access patterns ⬢ Limitations in APIs (e.g. rename)
  • 7. 7 © Hortonworks Inc. 2011 – 2016. All Rights Reserved Goal and Approach Goals ⬢ Integrate with unique functionality of each cloud ⬢ Optimize each cloud’s object store connector ⬢ Optimize upper layers for cloud object stores Overall Approach ⬢ Consistency in face of eventual consistency (use a secondary metadata store) ⬢ Performance in the connector (e.g. lazy seek) ⬢ Upper layer improvements (Hive, ORC, Tez, etc.)
  • 8. 8 © Hortonworks Inc. 2011 – 2016. All Rights Reserved Hadoop-compatible File System Architecture
  • 9. 9 © Hortonworks Inc. 2011 – 2016. All Rights Reserved Hadoop-compatible File System Architecture ⬢ Applications – File system interactions coded to file system-agnostic abstraction layer. • FileSystem class - traditional API • FileContext/AbstractFileSystem classes - newer API providing split between client API and provider API – Can be retargeted to a different file system by configuration changes (not code changes). • Caveat: Different FileSystem implementations may offer limited feature set. • Example: Only HDFS and WASB can run HBase. ⬢ File System Abstraction Layer – Defines interface of common file system operations: create, open, rename, etc. – Supports additional mix-in interfaces to indicate implementation of optional features. – Semantics of each operation documented in formal specification, derived from HDFS behavior. ⬢ File System Implementation Layer – Each file system provides a set of concrete classes implementing the interface. – A set of common file system contract tests execute against each implementation to prove its adherence to specified semantics.
  • 10. 1 0 © Hortonworks Inc. 2011 – 2016. All Rights Reserved Cloud Storage Connectors Azure WASB ● Strongly consistent ● Good performance ● Well-tested on applications (incl. HBase) ADL ● Strongly consistent ● Tuned for big data analytics workloads Amazon Web Services S3A ● Eventually consistent - consistency work in progress by Hortonworks ● Performance improvements in progress ● Active development in Apache EMRFS ● Proprietary connector used in EMR ● Optional strong consistency for a cost Google Cloud Platform GCS ● Multiple configurable consistency policies ● Currently Google open source ● Good performance ● Work under way for contribution to Apache
  • 11. 1 1 © Hortonworks Inc. 2011 – 2016. All Rights Reserved 1 1 © Hortonworks Inc. 2011 – 2016. All Rights Reserved Case Study: S3A Functionality and Performance
  • 12. 1 2 © Hortonworks Inc. 2011 – 2016. All Rights Reserved Authentication ⬢ Basic – AWS Access Key ID and Secret Access Key in Hadoop Configuration Files – Hadoop Credential Provider API to avoid using world-readable configuration files ⬢ EC2 Metadata – Reads credentials published by AWS directly into EC2 VM instances – More secure, because external distribution of secrets not required ⬢ AWS Environment Variables – Less secure, but potentially easier integration for some applications ⬢ Session Credentials – Temporary security credentials issued by Amazon Security Token Service – Fixed lifetime reduces impact of credential leak ⬢ Anonymous Login – Easy read-only access to public buckets for early prototyping
  • 13. 1 3 © Hortonworks Inc. 2011 – 2016. All Rights Reserved Encryption ⬢ S3 Server-Side Encryption – Encryption of data at rest at S3 – Supports the SSE-S3 option: each object encrypted by a unique key using AES-256 cipher – Now covered in S3A automated test suites – Support for additional options under development (SSE-KMS and SSE-C)
  • 14. 1 4 © Hortonworks Inc. 2011 – 2016. All Rights Reserved Supportability ⬢ Documentation – Backfill missing documentation, and include documentation in new enhancements – To be published to hadoop.apache.org with Apache Hadoop 2.8.0 release – Meanwhile, raw content visible on GitHub: • https://github.com/apache/hadoop/blob/branch-2.8/hadoop-tools/hadoop- aws/src/site/markdown/tools/hadoop-aws/index.md ⬢ Error Reporting – Identify common user errors and provide more descriptive error messages – S3 HTTP error codes examined and translated to specific error types ⬢ Instrumentation – Internal metrics covering a wide range of metadata and data operations – Already proven helpful in flagging a potential performance regression in a patch
  • 15. 1 5 © Hortonworks Inc. 2011 – 2016. All Rights Reserved Performance Improvements ⬢ Lazy Seek – Earlier implementation • Reopened file in every seek call; Aborted connection in every reopen • Positional Read was expensive (seek, read, seek) – Current implementation • Seek is a no-op call • Performs real seek on need basis ⬢ Connection Abort Problem – Backward seeks caused connection aborts – Recent modifications to S3AFileSystem fixes these and added support for sequential reads and random reads • fs.s3a.experimental.input.fadvise
  • 16. 1 6 © Hortonworks Inc. 2011 – 2016. All Rights Reserved Hive Access Patterns ⬢ ETL and Admin Activities – Bringing in dataset / Creating Tables – Cleansing / Transforming Data – Analyze Tables, Compute Column Statistics – MSCK to fix partition related information ⬢ Read – Running Queries ⬢ Write – Store Output
  • 17. 1 7 © Hortonworks Inc. 2011 – 2016. All Rights Reserved Hive - MSCK Improvements ⬢ MSCK helps in fixing metastore for partitioned dataset – Scan table path to identify missing partitions (expensive in S3)
  • 18. 1 8 © Hortonworks Inc. 2011 – 2016. All Rights Reserved Hive - Analyze Column Statistics Improvements ⬢ Hive needs statistics to run queries efficiently – Gathering table and column statistics can be expensive in partitioned datasets
  • 19. 1 9 © Hortonworks Inc. 2011 – 2016. All Rights Reserved Performance Considerations When Running Hive Queries ⬢ Splits Generation – File formats like ORC provides threadpool in split generation ⬢ ORC Footer Cache – hive.orc.cache.stripe.details.size > 0 – Caches footer details; Helps in reducing data reads during split generation ⬢ Reduce S3A reads in Task side – hive.orc.splits.include.file.footer=true – Sends ORC footer information in splits payload. – Helps reducing the amount of data read in task side.
  • 20. 2 0 © Hortonworks Inc. 2011 – 2016. All Rights Reserved Performance Considerations When Running Hive Queries ⬢ Tez Splits Grouping – Hive uses Tez as its default execution engine – Tez groups splits based on min/max group setting, location details and so on – S3A always provides “localhost” as its block location information – When all splits-length falls below min group setting, Tez aggressively groups them into single split. This causes issues with S3A as single task ends up doing sequential operations. – Fixed in recent releases ⬢ Container Launches – S3A always provides “localhost” for block locations. – Good to set “yarn.scheduler.capacity.node-locality-delay=0”
  • 21. 2 1 © Hortonworks Inc. 2011 – 2016. All Rights Reserved Hive-TestBench Benchmark Results ⬢ Hive-TestBench has subset of queries from TPC-DS (https://github.com/hortonworks/hive-testbench) ⬢ m4x4x large - 5 nodes ⬢ TPC-DS @ 200 GB Scale in S3 ⬢ “HDP 2.3 + S3 in cloud” vs “HDP 2.4 + S3 in cloud” – Average speedup 2.5x – Queries like 15,17, 25, 73,75 etc did not run in HDP 2.3 (throws AWS timeout exceptions)
  • 22. 2 2 © Hortonworks Inc. 2011 – 2016. All Rights Reserved Hive-TestBench Benchmark Results - LLAP ⬢ LLAP DAG runtime comparison with Hive ⬢ Reduces the amount of data to be read from S3 significantly; Improves runtime.
  • 23. 2 3 © Hortonworks Inc. 2011 – 2016. All Rights Reserved Best Practices ⬢ Tune multipart settings – fs.s3a.multipart.threshold (default: Integer.MAX_VALUE) – fs.s3a.multipart.size (default: 100 MB) – fs.s3a.connection.timeout (default: 200 seconds) ⬢ Tune File Committer Algorithm – mapreduce.fileoutputcommitter.algorithm.version=2 ⬢ Disable node locality delay in YARN – Set “yarn.scheduler.capacity.node-locality-delay=0” to avoid delays in container launches ⬢ Disable Storage Based authorization in Hive – hive.security.metastore.authorization.manager=org.apache.hadoop.hive.ql.security.authorization.DefaultHiveMetas toreAuthorizationProvider – hive.metastore.pre.event.listeners= (set to empty value) ⬢ Tune ORC threads for reducing split generation times – hive.orc.compute.splits.num.threads (default 10)
  • 24. 2 4 © Hortonworks Inc. 2011 – 2016. All Rights Reserved Next Steps for S3A and other Object Stores ⬢ S3A Phase III – https://issues.apache.org/jira/browse/HADOOP-13204 ⬢ Output Committers – Logical commit operation decoupled from rename (non-atomic and costly in object stores) ⬢ Object Store Abstraction Layer – Avoid impedance mismatch with FileSystem API – Provide specific APIs for better integration with object stores: saving, listing, copying ⬢ Ongoing Performance Improvement – Less chatty call pattern for object listings – Metadata caching to mask latency of remote object store calls ⬢ Consistency
  • 25. 2 5 © Hortonworks Inc. 2011 – 2016. All Rights Reserved Summary ⬢ Evolution towards cloud storage ⬢ Hadoop-compatible File System Architecture fosters integration with cloud storage ⬢ Integration with multiple cloud providers available: Azure, AWS, Google ⬢ Recent enhancements in S3A ⬢ Hive usage and TPC-DS benchmarks show significant S3A performance improvements ⬢ More coming soon for S3A and other object stores
  • 26. 2 6 © Hortonworks Inc. 2011 – 2016. All Rights Reserved Q & A Thank You!