SlideShare a Scribd company logo
Challenges to Error
Diagnosis in Hadoop
Ecosystems
Jim Li, Siyuan He, Liming Zhu,
Xiwei Xu, Min Fu, Len Bass, Anna
Liu, An Binh Tran

NICTA Copyright 2012

From imagination to impact
About NICTA
National ICT Australia
• Federal and state funded research
company established in 2002
• Largest ICT research resource in
Australia
• National impact is an important
success metric
• ~700 staff/students working in 5 labs
across major capital cities
• 7 university partners
• Providing R&D services, knowledge
transfer to Australian (and global) ICT
industry

NICTA technology is
in over 1 billion mobile
phones

2
NICTA Copyright 2012

From imagination to impact
Problem
• Operator invokes some process in cloud (e.g. rolling
upgrade or installation)
• 45 minutes or an hour later – the process fails
– Usually with an error message
– Possibly with a silent failure that manifests itself much
later
• Operator must then
diagnose failure
• Problem is most
complicated when
multiple components
are involved.
NICTA Copyright 2012

From imagination to impact

3
But aren’t there tools and recipes?
• Yes – but …
• Recipes for deployment tools make assumptions
about what you want.
• In many cases, these assumptions are wrong.
• In these cases, you must troubleshoot
installation problems.
• Troubleshooting is based on examination of
generated logs.

NICTA Copyright 2012

From imagination to impact

4
What are the difficulties associated with
using logs?
• The system being deployed is an ecosystem
with multiple independently developed
systems. Each component’s logging is
independently determined and not under
central control.
– Events and state deemed worthy to log
may be different from different
components
• Results in
– Sequence of events leading to failure may
be difficult to reproduce
– Missing or contradictory information in
combined logs From imagination to impact
NICTA Copyright 2012

5
Our envisioned deployment solution
• A solution will
– Execute the correct steps in a correct order
– The execution of a step will result in a correct state of the
environment

• Use a process model annotated with assertions to detect
incorrect steps or incorrect state
• The detection of an error will trigger a look up in a
repository that maps symptoms to fault trees to root
causes.

NICTA Copyright 2012

From imagination to impact

6
Rolling upgrade process model example
• Attach assertions to process
model to test state
• Use progress within process
to determine which
assertions to test.
• This approach restricts root
cause determination to
particular step in the
process.

Update Auto Scaling
Group
Sort Instances
Confirm Upgrade Spec

Remove & Deregister
Old Instance from ELB

Terminate Old
Instance

Wait for ASG to Start
New Instance

Register New Instance
with ELB

NICTA Copyright 2012

From imagination to impact

7
This paper
• Makes a contribution to the envisioned
repository
– Present 15 examples of systems/possible root causes
for Hbase/Hadoop deployment

• Provides a classification of errors into
–
–
–
–

Operational
Configuration
Software
Resource

• Identifies specific error diagnosis challenges in
multi-layer ecosystems.
NICTA Copyright 2012

From imagination to impact

8
What did we do?
• We manually deployed HBase/Hadoop on
EC2
– 5 NICTA people from 2 different groups
– 10 installations in total

• We diagnosed and recorded errors we
discovered
– With help from a Citibank person

NICTA Copyright 2012

From imagination to impact

9
Case study
Hbase Cluster on Amazon EC2

NICTA Copyright 2012

From imagination to impact

10
Sample Errors - 1
• Source – HDFS
• Logging Exception: “DataNode is Shutting Down”
• Possible Causes/diagnostics
– Instance is down/ping ssh connection
– Access permission/check authentication keys, ssh
connection
– HDFS configuration/check “conf/slaves”
– HDFS missing component/check data node settings
and directories

NICTA Copyright 2012

From imagination to impact

11
Sample errors - 2
• Source: Zookeeper
• Logging exception:
“java.net.UnknownHostException”
• Possible causes/diagnostics:
–
–
–
–
–

DSN/check DSN configuration
Network connection/check with ssh
Zookeeper configuration: zoo.cfg
Zookeeper status/processes (PID and JPS)
Cross-node configuration error/check consistency

NICTA Copyright 2012

From imagination to impact

12
Comments on Errors
• Paper has
– 15 enumerated exceptions and potential causes
– Discussion of classification of errors and samples

• Most useful to non-expert installers
• Information could potentially be found on
– Stack Overflow
– Specific source forums

• Better to have
– Consistent form for fault trees
– Known place to find them
– Standard environmental description
NICTA Copyright 2012

From imagination to impact

13
Different types of errors
• Operational errors
– Start up/shutdown errors
– Artifacts not created or created incorrectly

• Configuration errors
– Syntactic errors
– Cross system inconsistency

• Software errrors
– Compatibility errors
– Bugs in the software

• Resource errors
– Resource unavailability or exhaustion
NICTA Copyright 2012

From imagination to impact

14
Challenges to trouble shooting
from logs
• Inconsistency among logs
• Signal to noise ratio
• Uncertain correlations

NICTA Copyright 2012

From imagination to impact

15
Inconsistency among logs
• IP address is used as ID but IP addresses can
change in the cloud. For example, if an instance
is restarted.
• Inconsistent time stamps in a distributed
environment due to network latency makes
determination of a sequence of events difficult.

NICTA Copyright 2012

From imagination to impact

16
Signal to noise ratio
• Logs contain huge amount of information
• Tools exist to collect logs into a central source
–
–
–
–

Scribe
Flume
Logstash
Chukwa

• Tools that search logs need guidance to filter
information
• We propose an approach that uses a process
model to guide diagnosis (to be explained
shortly).
NICTA Copyright 2012

From imagination to impact

17
Uncertain correlation
• Between exceptions
– Connections among exceptions arising from the same
cause are difficult to detect.

• Between component states
– Dependent relations among component states not
shown in log messages and are difficult to detect.

• Between events
– Connections among distributed events are difficult to
detect.

• Between states and events
– Diagnosis depends on connecting state and events
and these may not be obvious from log messages.
NICTA Copyright 2012

From imagination to impact

18
Summary
• Deploying or updating ecosystems is an error
prone activity
• Determining root cause of an error is difficult and
time consuming
• We provided a list of 15 specific errors and their
potential root causes for Hbase/Hadoop
deployment
• We categorized types of errors and uncertainties
in error diagnosis

NICTA Copyright 2012

From imagination to impact

19

More Related Content

What's hot (20)

PDF
Webinar Slides: Tungsten Connector / Proxy – The Secret Sauce Behind Zero-Dow...
Continuent
 
PPT
The Architect's Two Hats
Ben Stopford
 
PDF
Designing large scale distributed systems
Ashwani Priyedarshi
 
PDF
Simple Solutions for Complex Problems
Tyler Treat
 
PPTX
Dynamo and BigTable in light of the CAP theorem
Grisha Weintraub
 
PPTX
Cloud computing
Aaron Tushabe
 
PPTX
Base paper ppt-. A load balancing model based on cloud partitioning for the ...
Lavanya Vigrahala
 
PPTX
load balancing in public cloud ppt
Krishna Kumar
 
PPT
Design principles of scalable, distributed systems
Tinniam V Ganesh (TV)
 
PDF
The Economics of Scale: Promises and Perils of Going Distributed
Tyler Treat
 
PPTX
Big Data for QAs
Ahmed Misbah
 
PPTX
Optimal load balancing in cloud computing
Priyanka Bhowmick
 
PPT
Continuent Tungsten - Scalable Saa S Data Management
guest2e11e8
 
PPTX
My Dissertation 2016
Vrushali Lanjewar
 
PDF
Distributed Database practicals
Vrushali Lanjewar
 
PDF
Load Balancing in Cloud Computing Environment: A Comparative Study of Service...
Eswar Publications
 
PDF
Case Study - How Rackspace Query Terabytes Of Data
Schubert Zhang
 
PDF
Why Distributed Databases?
Sargun Dhillon
 
PDF
10 Tricks to Ensure Your Oracle Coherence Cluster is Not a "Black Box" in Pro...
SL Corporation
 
PPTX
Running MariaDB in multiple data centers
MariaDB plc
 
Webinar Slides: Tungsten Connector / Proxy – The Secret Sauce Behind Zero-Dow...
Continuent
 
The Architect's Two Hats
Ben Stopford
 
Designing large scale distributed systems
Ashwani Priyedarshi
 
Simple Solutions for Complex Problems
Tyler Treat
 
Dynamo and BigTable in light of the CAP theorem
Grisha Weintraub
 
Cloud computing
Aaron Tushabe
 
Base paper ppt-. A load balancing model based on cloud partitioning for the ...
Lavanya Vigrahala
 
load balancing in public cloud ppt
Krishna Kumar
 
Design principles of scalable, distributed systems
Tinniam V Ganesh (TV)
 
The Economics of Scale: Promises and Perils of Going Distributed
Tyler Treat
 
Big Data for QAs
Ahmed Misbah
 
Optimal load balancing in cloud computing
Priyanka Bhowmick
 
Continuent Tungsten - Scalable Saa S Data Management
guest2e11e8
 
My Dissertation 2016
Vrushali Lanjewar
 
Distributed Database practicals
Vrushali Lanjewar
 
Load Balancing in Cloud Computing Environment: A Comparative Study of Service...
Eswar Publications
 
Case Study - How Rackspace Query Terabytes Of Data
Schubert Zhang
 
Why Distributed Databases?
Sargun Dhillon
 
10 Tricks to Ensure Your Oracle Coherence Cluster is Not a "Black Box" in Pro...
SL Corporation
 
Running MariaDB in multiple data centers
MariaDB plc
 

Similar to Error in hadoop (20)

PPT
Modelling and Analysing Operation Processes for Dependability
Liming Zhu
 
PPTX
POD-Diagnosis: Error Detection and Diagnosis of Sporadic Operations on Cloud ...
Liming Zhu
 
PPTX
Challenges in Practicing High Frequency Releases in Cloud Environments
Liming Zhu
 
PPTX
Dependable Operation - Performance Management and Capacity Planning Under Con...
Liming Zhu
 
PDF
Eliciting Operations Requirements for Applications
Hiroshi Wada
 
PPTX
Architectural Tactics for Large Scale Systems
Len Bass
 
PPTX
Supporting operations personnel a software engineers perspective
Len Bass
 
PPT
Cloud API Issues: an Empirical Study and Impact
Liming Zhu
 
PPT
Dependable Operations
Liming Zhu
 
PDF
Dev ops for software architects
Len Bass
 
PPTX
The quality attribute of upgradability
Len Bass
 
PDF
Deployability
Len Bass
 
PDF
Automatic Undo for Cloud Management via AI Planning
Hiroshi Wada
 
PPTX
Automate Hadoop Cluster Deployment in a Banking Ecosystem
Hellmar Becker
 
PPTX
WICSA 2012 tutorial
Len Bass
 
PDF
Continuous Improvement (GroupOn, Palo Alto 2013)
Noah Sussman
 
PPTX
Cloud Operations with Streaming Analytics using Apache NiFi and Apache Flink
DataWorks Summit
 
PDF
Detection as Code, Automation, and Testing: The Key to Unlocking the Power of...
MITRE ATT&CK
 
PDF
Principles of software architecture design
Len Bass
 
PPTX
Virtual Flink Forward 2020: Lessons learned on Apache Flink application avail...
Flink Forward
 
Modelling and Analysing Operation Processes for Dependability
Liming Zhu
 
POD-Diagnosis: Error Detection and Diagnosis of Sporadic Operations on Cloud ...
Liming Zhu
 
Challenges in Practicing High Frequency Releases in Cloud Environments
Liming Zhu
 
Dependable Operation - Performance Management and Capacity Planning Under Con...
Liming Zhu
 
Eliciting Operations Requirements for Applications
Hiroshi Wada
 
Architectural Tactics for Large Scale Systems
Len Bass
 
Supporting operations personnel a software engineers perspective
Len Bass
 
Cloud API Issues: an Empirical Study and Impact
Liming Zhu
 
Dependable Operations
Liming Zhu
 
Dev ops for software architects
Len Bass
 
The quality attribute of upgradability
Len Bass
 
Deployability
Len Bass
 
Automatic Undo for Cloud Management via AI Planning
Hiroshi Wada
 
Automate Hadoop Cluster Deployment in a Banking Ecosystem
Hellmar Becker
 
WICSA 2012 tutorial
Len Bass
 
Continuous Improvement (GroupOn, Palo Alto 2013)
Noah Sussman
 
Cloud Operations with Streaming Analytics using Apache NiFi and Apache Flink
DataWorks Summit
 
Detection as Code, Automation, and Testing: The Key to Unlocking the Power of...
MITRE ATT&CK
 
Principles of software architecture design
Len Bass
 
Virtual Flink Forward 2020: Lessons learned on Apache Flink application avail...
Flink Forward
 
Ad

More from Len Bass (20)

PDF
Devops syllabus
Len Bass
 
PDF
DevOps Syllabus summer 2020
Len Bass
 
PDF
11 secure development
Len Bass
 
PDF
10 disaster recovery
Len Bass
 
PDF
9 postproduction
Len Bass
 
PDF
8 pipeline
Len Bass
 
PDF
7 configuration management
Len Bass
 
PDF
6 microservice architecture
Len Bass
 
PDF
5 infrastructure security
Len Bass
 
PPTX
4 container management
Len Bass
 
PDF
3 the cloud
Len Bass
 
PDF
1 virtual machines
Len Bass
 
PDF
2 networking
Len Bass
 
PDF
Quantum talk
Len Bass
 
PDF
Icsa2018 blockchain tutorial
Len Bass
 
PDF
Experience in teaching devops
Len Bass
 
PDF
Understanding blockchains
Len Bass
 
PDF
What is a blockchain
Len Bass
 
PDF
Dev ops and safety critical systems
Len Bass
 
PDF
My first deployment pipeline
Len Bass
 
Devops syllabus
Len Bass
 
DevOps Syllabus summer 2020
Len Bass
 
11 secure development
Len Bass
 
10 disaster recovery
Len Bass
 
9 postproduction
Len Bass
 
8 pipeline
Len Bass
 
7 configuration management
Len Bass
 
6 microservice architecture
Len Bass
 
5 infrastructure security
Len Bass
 
4 container management
Len Bass
 
3 the cloud
Len Bass
 
1 virtual machines
Len Bass
 
2 networking
Len Bass
 
Quantum talk
Len Bass
 
Icsa2018 blockchain tutorial
Len Bass
 
Experience in teaching devops
Len Bass
 
Understanding blockchains
Len Bass
 
What is a blockchain
Len Bass
 
Dev ops and safety critical systems
Len Bass
 
My first deployment pipeline
Len Bass
 
Ad

Recently uploaded (20)

PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
PDF
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
PDF
Human-centred design in online workplace learning and relationship to engagem...
Tracy Tang
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PDF
Complete Network Protection with Real-Time Security
L4RGINDIA
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PPTX
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PPT
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PDF
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
PDF
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
Human-centred design in online workplace learning and relationship to engagem...
Tracy Tang
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
Complete Network Protection with Real-Time Security
L4RGINDIA
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 

Error in hadoop

  • 1. Challenges to Error Diagnosis in Hadoop Ecosystems Jim Li, Siyuan He, Liming Zhu, Xiwei Xu, Min Fu, Len Bass, Anna Liu, An Binh Tran NICTA Copyright 2012 From imagination to impact
  • 2. About NICTA National ICT Australia • Federal and state funded research company established in 2002 • Largest ICT research resource in Australia • National impact is an important success metric • ~700 staff/students working in 5 labs across major capital cities • 7 university partners • Providing R&D services, knowledge transfer to Australian (and global) ICT industry NICTA technology is in over 1 billion mobile phones 2 NICTA Copyright 2012 From imagination to impact
  • 3. Problem • Operator invokes some process in cloud (e.g. rolling upgrade or installation) • 45 minutes or an hour later – the process fails – Usually with an error message – Possibly with a silent failure that manifests itself much later • Operator must then diagnose failure • Problem is most complicated when multiple components are involved. NICTA Copyright 2012 From imagination to impact 3
  • 4. But aren’t there tools and recipes? • Yes – but … • Recipes for deployment tools make assumptions about what you want. • In many cases, these assumptions are wrong. • In these cases, you must troubleshoot installation problems. • Troubleshooting is based on examination of generated logs. NICTA Copyright 2012 From imagination to impact 4
  • 5. What are the difficulties associated with using logs? • The system being deployed is an ecosystem with multiple independently developed systems. Each component’s logging is independently determined and not under central control. – Events and state deemed worthy to log may be different from different components • Results in – Sequence of events leading to failure may be difficult to reproduce – Missing or contradictory information in combined logs From imagination to impact NICTA Copyright 2012 5
  • 6. Our envisioned deployment solution • A solution will – Execute the correct steps in a correct order – The execution of a step will result in a correct state of the environment • Use a process model annotated with assertions to detect incorrect steps or incorrect state • The detection of an error will trigger a look up in a repository that maps symptoms to fault trees to root causes. NICTA Copyright 2012 From imagination to impact 6
  • 7. Rolling upgrade process model example • Attach assertions to process model to test state • Use progress within process to determine which assertions to test. • This approach restricts root cause determination to particular step in the process. Update Auto Scaling Group Sort Instances Confirm Upgrade Spec Remove & Deregister Old Instance from ELB Terminate Old Instance Wait for ASG to Start New Instance Register New Instance with ELB NICTA Copyright 2012 From imagination to impact 7
  • 8. This paper • Makes a contribution to the envisioned repository – Present 15 examples of systems/possible root causes for Hbase/Hadoop deployment • Provides a classification of errors into – – – – Operational Configuration Software Resource • Identifies specific error diagnosis challenges in multi-layer ecosystems. NICTA Copyright 2012 From imagination to impact 8
  • 9. What did we do? • We manually deployed HBase/Hadoop on EC2 – 5 NICTA people from 2 different groups – 10 installations in total • We diagnosed and recorded errors we discovered – With help from a Citibank person NICTA Copyright 2012 From imagination to impact 9
  • 10. Case study Hbase Cluster on Amazon EC2 NICTA Copyright 2012 From imagination to impact 10
  • 11. Sample Errors - 1 • Source – HDFS • Logging Exception: “DataNode is Shutting Down” • Possible Causes/diagnostics – Instance is down/ping ssh connection – Access permission/check authentication keys, ssh connection – HDFS configuration/check “conf/slaves” – HDFS missing component/check data node settings and directories NICTA Copyright 2012 From imagination to impact 11
  • 12. Sample errors - 2 • Source: Zookeeper • Logging exception: “java.net.UnknownHostException” • Possible causes/diagnostics: – – – – – DSN/check DSN configuration Network connection/check with ssh Zookeeper configuration: zoo.cfg Zookeeper status/processes (PID and JPS) Cross-node configuration error/check consistency NICTA Copyright 2012 From imagination to impact 12
  • 13. Comments on Errors • Paper has – 15 enumerated exceptions and potential causes – Discussion of classification of errors and samples • Most useful to non-expert installers • Information could potentially be found on – Stack Overflow – Specific source forums • Better to have – Consistent form for fault trees – Known place to find them – Standard environmental description NICTA Copyright 2012 From imagination to impact 13
  • 14. Different types of errors • Operational errors – Start up/shutdown errors – Artifacts not created or created incorrectly • Configuration errors – Syntactic errors – Cross system inconsistency • Software errrors – Compatibility errors – Bugs in the software • Resource errors – Resource unavailability or exhaustion NICTA Copyright 2012 From imagination to impact 14
  • 15. Challenges to trouble shooting from logs • Inconsistency among logs • Signal to noise ratio • Uncertain correlations NICTA Copyright 2012 From imagination to impact 15
  • 16. Inconsistency among logs • IP address is used as ID but IP addresses can change in the cloud. For example, if an instance is restarted. • Inconsistent time stamps in a distributed environment due to network latency makes determination of a sequence of events difficult. NICTA Copyright 2012 From imagination to impact 16
  • 17. Signal to noise ratio • Logs contain huge amount of information • Tools exist to collect logs into a central source – – – – Scribe Flume Logstash Chukwa • Tools that search logs need guidance to filter information • We propose an approach that uses a process model to guide diagnosis (to be explained shortly). NICTA Copyright 2012 From imagination to impact 17
  • 18. Uncertain correlation • Between exceptions – Connections among exceptions arising from the same cause are difficult to detect. • Between component states – Dependent relations among component states not shown in log messages and are difficult to detect. • Between events – Connections among distributed events are difficult to detect. • Between states and events – Diagnosis depends on connecting state and events and these may not be obvious from log messages. NICTA Copyright 2012 From imagination to impact 18
  • 19. Summary • Deploying or updating ecosystems is an error prone activity • Determining root cause of an error is difficult and time consuming • We provided a list of 15 specific errors and their potential root causes for Hbase/Hadoop deployment • We categorized types of errors and uncertainties in error diagnosis NICTA Copyright 2012 From imagination to impact 19