# hdfs

HDFS is the Hadoop Distributed File System, a distributed file system designed to store very large files across machine clusters.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Hedging Erasure-Coded Reads in HDFS

DevFeed: [Hedging Erasure-Coded Reads in HDFS](<https://devfeed.tech/articles/hedging-erasure-coded-reads-in-hdfs-127005.md>)

Original publisher: [Read original article](<https://product.hubspot.com/blog/hedging-erasure-coded-reads-in-hdfs>)

Author: Ray Mattingly

Published: 2026-11-09T21:30:20Z

Content type: article

Language: en

Sources: [HubSpot](<https://devfeed.tech/sources/hubspot.md>)

Topics: [hdfs](<https://devfeed.tech/topics/hdfs.md>), [Hadoop](<https://devfeed.tech/topics/hadoop.md>), [performance-engineering](<https://devfeed.tech/topics/performance-engineering.md>), [reliability-engineering](<https://devfeed.tech/topics/reliability-engineering.md>), [big-data](<https://devfeed.tech/topics/big-data.md>), [data-engineering](<https://devfeed.tech/topics/data-engineering.md>)

Tags: [apache](<https://devfeed.tech/tags/apache.md>), [big-data](<https://devfeed.tech/tags/big-data.md>), [circuit-breaker](<https://devfeed.tech/tags/circuit-breaker.md>), [customers](<https://devfeed.tech/tags/customers.md>), [data](<https://devfeed.tech/tags/data.md>), [distributed-systems](<https://devfeed.tech/tags/distributed-systems.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [erasure-coding](<https://devfeed.tech/tags/erasure-coding.md>), [hdfs](<https://devfeed.tech/tags/hdfs.md>), [hubspot](<https://devfeed.tech/tags/hubspot.md>)

### AI overview

HubSpot added latency-triggered hedged reads for erasure-coded HDFS: when a cell read exceeds a cluster threshold, the HDFS client reconstructs it from other stripe cells and races that work against the original read. The approach preserves erasure coding's stated 50% storage savings versus triple replication while reducing dependence on a slow DataNode. On the case-study cluster, slow-read host-minutes fell 98%; hedges won 90% of the time and occurred about once per million reads. Each hedge costs six additional reads plus decoding, so thresholds tune the latency and resource tradeoff. A per-RegionServer circuit breaker disables hedging during broader slowdowns, with a separate cap on hedge rate. For HBase Gets, the timer also covers connection setup; during two reported DataNode failures, this avoided the over-five-second stalls seen when only data transfer was hedged.

### Source excerpt

Written by Ray Mattingly, Staff Engineering Manager, Big Data @ HubSpot

## Hadoop Components Installation Guide

DevFeed: [Hadoop Components Installation Guide](<https://devfeed.tech/articles/hadoop-components-installation-guide-65416.md>)

Original publisher: [Read original article](<https://blog.devops.dev/hadoop-components-installation-guide-28b8b5f6d596?source=rss----33f8b2d9a328---4>)

Author: Rahul Patidar

Published: 2026-10-06T13:04:10Z

Content type: tutorial

Language: en

Sources: [DevOps.dev](<https://devfeed.tech/sources/devops-dev.md>)

Topics: [Hadoop](<https://devfeed.tech/topics/hadoop.md>), [hdfs](<https://devfeed.tech/topics/hdfs.md>), [Homebrew](<https://devfeed.tech/topics/homebrew.md>), [openjdk](<https://devfeed.tech/topics/openjdk.md>), [Bash](<https://devfeed.tech/topics/bash.md>), [OpenSSH](<https://devfeed.tech/topics/openssh.md>), [Terminal](<https://devfeed.tech/topics/terminal.md>), [version](<https://devfeed.tech/topics/version.md>)

Tags: [apache](<https://devfeed.tech/tags/apache.md>), [components](<https://devfeed.tech/tags/components.md>), [guide](<https://devfeed.tech/tags/guide.md>), [hadoop](<https://devfeed.tech/tags/hadoop.md>), [hdfs](<https://devfeed.tech/tags/hdfs.md>), [hive](<https://devfeed.tech/tags/hive.md>), [homebrew](<https://devfeed.tech/tags/homebrew.md>), [installation](<https://devfeed.tech/tags/installation.md>), [java](<https://devfeed.tech/tags/java.md>), [kafka](<https://devfeed.tech/tags/kafka.md>), [macos](<https://devfeed.tech/tags/macos.md>), [mysql](<https://devfeed.tech/tags/mysql.md>), [scala](<https://devfeed.tech/tags/scala.md>), [spark](<https://devfeed.tech/tags/spark.md>)

### AI overview

The guide gives a local macOS setup sequence for Homebrew, Java, Scala, Hadoop, Spark, Hive, MySQL, SBT, and Kafka. Its Hadoop section configures SSH, environment paths, and core-site.xml, hdfs-site.xml, yarn-site.xml, mapred-site.xml, and hadoop-env.sh; it then formats the NameNode, starts services, and checks processes, web interfaces, and basic HDFS file commands. Spark is installed with Homebrew and checked with spark-shell. Hive depends on a running Hadoop/HDFS setup and a MySQL metastore: the guide creates the database and user, places the MySQL connector JAR, configures hive-site.xml, initializes the schema, and starts the metastore before launching Hive. SBT and Kafka steps are also listed. The instructions use fixed paths and versions, and some listed components receive only brief setup directions.

### Source excerpt

Hi Everyone, In This article we will cover installation of Hadoop Components Locally. In MacOs You need to install brew if it's not there already. Installation which we will cover. 1. brew2. Java3. scala4. hadoop5. spark6. mysql7. hive8. sbt9. Kafka Setup brew in Mac: $ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" 2. Install java $ brew install java above command will download and install Java in Mac.Now Set the Path for java using below command. $ vi ~/.bash_profile Enter Below Lines in File and save it. ## JAVA env variables export JAVA_HOME="/usr/local/Cellar/openjdk/18.0.2/libexec/openjdk.jdk/Contents/Home"export PATH=$PATH:$JAVA_HOME/bin execute below Command. $ source ~/.bash_profile verify the java Installation: $ java -version 3. Install Scala $ brew Install Scala verify the scala Installation: $ scala -version$ scala 4. Install Hadoop Run below commands to Install SSH $ ssh-keygen -t rsa -P '' -f ~/.ssh/id_rsa $ cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys $ brew install hadoop above command will download and install hadoop in Mac.Now Set the Path for hadoop using below command. $ vi ~/.bash_profile Enter Below Lines in File and save it. ## HADOOP env variables export HADOOP_HOME="/opt/homebrew/Cellar/hadoop/3.3.4/libexec" export PATH=$PATH:$HADOOP_HOME/bin export PATH=$PATH:$HADOOP_HOME/sbin export HADOOP_CONF_DIR=$HADOOP_HOME/etc/hadoop export HADOOP_MAPRED_HOME=$HADOOP_HOME export HADOOP_COMMON_HOME=$HADOOP_HOME export HADOOP_HDFS_HOME=$HADOOP_HOME export YARN_HOME=$HADOOP_HOME export HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_HOME/lib/native export HADOOP_OPTS="-Djava.library.path=$HADOOP_HOME/lib" export HADOOP_CLASSPATH=${JAVA_HOME}/lib/tools.jar Execute Below command on terminal. $ source ~/.bash_profile After the installation is complete, enter "hadoop version" to view the version. If there is an information receipt, the installation is successful. $ hadoop versionHadoop 3.3.4 Source code repository ht

## Inside Cilium CNI: solving mysterious Kubernetes pod setup timeouts

DevFeed: [Inside Cilium CNI: solving mysterious Kubernetes pod setup timeouts](<https://devfeed.tech/articles/inside-cilium-cni-solving-mysterious-kubernetes-pod-setup-timeouts-26260.md>)

Original publisher: [Read original article](<https://medium.com/adyen/inside-cilium-cni-solving-mysterious-kubernetes-pod-setup-timeouts-8529dacd5e81?source=rss----64941d9fbc09---4>)

Author: Adyen

Published: 2026-07-13T09:17:40Z

Content type: article

Language: en

Sources: [Adyen Tech](<https://devfeed.tech/sources/adyen-tech.md>)

Topics: [Cilium](<https://devfeed.tech/topics/cilium.md>), [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Network](<https://devfeed.tech/topics/network.md>), [eBPF](<https://devfeed.tech/topics/ebpf.md>), [hdfs](<https://devfeed.tech/topics/hdfs.md>), [Distributed Systems & Parallel Computing](<https://devfeed.tech/topics/distributed-systems-parallel-computing.md>)

Tags: [adyen](<https://devfeed.tech/tags/adyen.md>), [algorithm](<https://devfeed.tech/tags/algorithm.md>), [batch](<https://devfeed.tech/tags/batch.md>), [behavior](<https://devfeed.tech/tags/behavior.md>), [big-data](<https://devfeed.tech/tags/big-data.md>), [churn](<https://devfeed.tech/tags/churn.md>), [cilium](<https://devfeed.tech/tags/cilium.md>), [clusters](<https://devfeed.tech/tags/clusters.md>), [cni](<https://devfeed.tech/tags/cni.md>), [collection](<https://devfeed.tech/tags/collection.md>), [complex](<https://devfeed.tech/tags/complex.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [critical](<https://devfeed.tech/tags/critical.md>), [data](<https://devfeed.tech/tags/data.md>), [data-extraction](<https://devfeed.tech/tags/data-extraction.md>), [devops](<https://devfeed.tech/tags/devops.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [download](<https://devfeed.tech/tags/download.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [pod](<https://devfeed.tech/tags/pod.md>), [setup](<https://devfeed.tech/tags/setup.md>)

### AI overview

At Adyen, Cilium CNI pod setup timeouts were traced to slow connection-tracking garbage collection: a sequential scan took about 35 seconds for 7 million entries and could reach 80 seconds at a 16-million-entry peak, preventing new pods from starting on affected nodes. The excerpt attributes the pressure to big-data workloads that create many short-lived connections, especially Trino fetching files from more than 500 HDFS datanodes, alongside frequent batch-pod churn. It describes syscall tracing, code inspection and eBPF analysis as methods used to uncover the linear-time bottleneck. The excerpt does not include the remediation.

### Source excerpt

By Jorrick Sleijster - Senior Data Platform Engineer, Adyen I was fully aware a year ago that a single configuration line could break the Kubernetes networking stack. But if they told me that leftovers from Kubernetes pods which terminated hours prior could block new ones from starting, I would have thought they were joking. In high-performance networking, 35 seconds is a lifetime. This was the latency required to iterate through our connection tracking table of 7 million entries at a maximum speed of 200,000 entries per second. At our 16-million-entry peak, this sequential lookup could take up to 80 seconds, leading to Cilium CNI timeouts preventing new pods from starting on affected nodes. We uncovered this linear-time behavior at Adyen by tracing syscalls, inspecting codebases, and analyzing eBPF internals. This investigation revealed how our varied workloads turned the connection tracking table's garbage collection algorithm into a critical bottleneck. Our setup: why we're different At Adyen, we run Cilium CNI across all our 100+ Kubernetes clusters. When we switched from Calico to Cilium, we knew we'd face challenges adapting it to our production workloads. Our production big data Kubernetes clusters have a unique usage pattern compared to the other Kubernetes environments within Adyen: Data extraction from HDFS. Our infrastructure relies on more than 500 datanodes. Trino represents one of our most demanding HDFS workloads, processing analytical queries against data stored on HDFS. Due to the distributed nature of HDFS, each file you download requires a new connection to any of these 500 nodes. Therefore, during peak hours, a single pod can produce approximately 50,000 connections every minute. Pod churn. Many pods we spawn on the Kubernetes cluster run batch jobs, such as Spark jobs. They stay around for anywhere from a second to a couple of hours. Wide variety of workloads. Some workloads are very CPU-intensive, like Spark pods executing complex joins and tra

## Release 1.18: What's new with the database engine?

DevFeed: [Release 1.18: What's new with the database engine?](<https://devfeed.tech/articles/release-1-18-what-s-new-with-the-database-engine-45028.md>)

Original publisher: [Read original article](<https://www.netdata.cloud/blog/release-1-18/>)

Published: 2019-10-19T00:00:00Z

Content type: release

Language: en

Sources: [Netdata](<https://devfeed.tech/sources/blog-on-netdata.md>)

Topics: [Monitoring](<https://devfeed.tech/topics/monitoring.md>), [Database](<https://devfeed.tech/topics/database.md>), [telemetry](<https://devfeed.tech/topics/telemetry.md>), [Hadoop](<https://devfeed.tech/topics/hadoop.md>), [hdfs](<https://devfeed.tech/topics/hdfs.md>), [systems](<https://devfeed.tech/topics/systems.md>)

Tags: [bug-fixes](<https://devfeed.tech/tags/bug-fixes.md>), [database](<https://devfeed.tech/tags/database.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [hadoop](<https://devfeed.tech/tags/hadoop.md>), [hdfs](<https://devfeed.tech/tags/hdfs.md>), [improvements](<https://devfeed.tech/tags/improvements.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [metrics](<https://devfeed.tech/tags/metrics.md>), [monitoring](<https://devfeed.tech/tags/monitoring.md>), [release](<https://devfeed.tech/tags/release.md>), [version](<https://devfeed.tech/tags/version.md>), [what-s-new](<https://devfeed.tech/tags/what-s-new.md>)

### AI overview

Netdata 1.18 makes its database engine the default method for storing long-term metrics, using RAM for recent data and disk for historical data. The release also adds collectors, bug fixes, documentation updates, service plugin history, Hadoop HDFS and ZooKeeper monitoring modules, and dimension templates for alarms.

### Source excerpt

As your infrastructure grows more complex, storing long-term metrics becomes difficult and costly to retain. Your team stars to limit the amount of historical data they archive, causing gaps in coverage. Anomalies start to slip through the cracks. Version 1.18 of Netdata aims to solve the monitoring metrics storage problem once and for all. Aside from 5 new collectors, 16 bug fixes, 27 improvements, and 20 documentation updates, here's what you need to know.

## Hadoop Contributors Meetup at Oath

DevFeed: [Hadoop Contributors Meetup at Oath](<https://devfeed.tech/articles/hadoop-contributors-meetup-at-oath-20493.md>)

Original publisher: [Read original article](<https://yahooeng.tumblr.com/post/179901430546>)

Author: amberwilsonla-blog

Published: 2018-11-08T19:07:25Z

Content type: news

Language: en

Sources: [Yahoo](<https://devfeed.tech/sources/yahoo.md>)

Topics: [Hadoop](<https://devfeed.tech/topics/hadoop.md>), [Developer Events](<https://devfeed.tech/topics/developer-events.md>), [hdfs](<https://devfeed.tech/topics/hdfs.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [Tez](<https://devfeed.tech/topics/tez.md>), [container](<https://devfeed.tech/topics/container.md>)

Tags: [california](<https://devfeed.tech/tags/california.md>), [career](<https://devfeed.tech/tags/career.md>), [cloudera](<https://devfeed.tech/tags/cloudera.md>), [containers](<https://devfeed.tech/tags/containers.md>), [contributors](<https://devfeed.tech/tags/contributors.md>), [hadoop](<https://devfeed.tech/tags/hadoop.md>), [hdfs](<https://devfeed.tech/tags/hdfs.md>), [hiring](<https://devfeed.tech/tags/hiring.md>), [low-latency](<https://devfeed.tech/tags/low-latency.md>), [meetup](<https://devfeed.tech/tags/meetup.md>), [microsoft](<https://devfeed.tech/tags/microsoft.md>), [oath](<https://devfeed.tech/tags/oath.md>), [recordings](<https://devfeed.tech/tags/recordings.md>), [slides](<https://devfeed.tech/tags/slides.md>), [software-engineering](<https://devfeed.tech/tags/software-engineering.md>), [tez](<https://devfeed.tech/tags/tez.md>), [twitter](<https://devfeed.tech/tags/twitter.md>), [yahoo](<https://devfeed.tech/tags/yahoo.md>), [yahoo-engineering](<https://devfeed.tech/tags/yahoo-engineering.md>), [youtube](<https://devfeed.tech/tags/youtube.md>)

### AI overview

Oath hosted a day-long Hadoop Contributors Meetup in Sunnyvale, bringing together more than 80 users, contributors, committers, and PMC members. Speakers from Ampool, Cloudera, Hortonworks, Microsoft, Oath, and Twitter presented challenges and solutions across the Hadoop ecosystem. Breakout sessions covered HDFS, Tez, containers, and low-latency processing. The event's presentation recordings are available in a YouTube playlist, with links to slides in each video description.

### Source excerpt

yahoodevelopers: By Scott Bush, Director, Hadoop Software Engineering, Oath On Tuesday, September 25, we hosted a special day-long Hadoop Contributors Meetup at our Sunnyvale, California campus. Much of the early Hadoop development work started at Yahoo, now part of Oath, and has continued over the past decade. Our campus was the perfect setting for this meetup, as we continue to make Hadoop a priority. More than 80 Hadoop users, contributors, committers, and PMC members gathered to hear talks on key issues facing the Hadoop user community. Speakers from Ampool, Cloudera, Hortonworks, Microsoft, Oath, and Twitter detailed some of the challenges and solutions pertinent to their parts of the Hadoop ecosystem. The talks were followed by a number of parallel, birds of a feather breakout sessions to discuss HDFS, Tez, containers and low latency processing. The day ended with a reception and consensus that the event went well and should be repeated in the near future. Presentation recordings (YouTube playlist) and slides (links included in the video description) are available here: Hadoop {Submarine} Project: Running deep learning workloads on YARN, Wangda Tan, Hortonworks Apache YARN Federation and Tez at Microsoft, Anupam Upadhyay, Adrian Nicoara, Botong Huang "HDFS Scalability and Security", Daryn Sharp, Senior Engineer, Oath The Future of Hadoop in an AI World, Milind Bhandarkar, CEO, Ampool Moving the Oath Grid to Docker, Eric Badger, Software Developer Engineer, Oath Vespa: Open Source Big Data Serving Engine, Jon Bratseth, Distinguished Architect, Oath Containerized Services on Apache Hadoop YARN: Past, Present, and Future, Shane Kumpf, Hortonworks How Twitter Hadoop Chose Google Cloud, Joep Rottinghuis, Lohit VijayaRenu Thank you to all the presenters and the attendees both in person and remote! P.S. We're hiring! Learn more about career opportunities at Oath.

## Storm vs. Heron, Part 1: Reusing a Storm topology for Heron

DevFeed: [Storm vs. Heron, Part 1: Reusing a Storm topology for Heron](<https://devfeed.tech/articles/storm-vs-heron-part-1-reusing-a-storm-topology-for-heron-41472.md>)

Original publisher: [Read original article](<https://chollinger.com/blog/2016/10/storm-vs.-heron-part-1-reusing-a-storm-topology-for-heron/>)

Author: Christian Hollinger

Published: 2016-10-15T00:00:00Z

Content type: article

Language: en

Sources: [Christian Hollinger](<https://devfeed.tech/sources/christian-hollinger.md>)

Topics: [stream-processing](<https://devfeed.tech/topics/stream-processing.md>), [Hadoop](<https://devfeed.tech/topics/hadoop.md>), [hdfs](<https://devfeed.tech/topics/hdfs.md>), [Maven](<https://devfeed.tech/topics/maven.md>), [Deployment](<https://devfeed.tech/topics/deployment.md>)

Tags: [apache](<https://devfeed.tech/tags/apache.md>), [big-data](<https://devfeed.tech/tags/big-data.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [data](<https://devfeed.tech/tags/data.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [github](<https://devfeed.tech/tags/github.md>), [hadoop](<https://devfeed.tech/tags/hadoop.md>), [hdfs](<https://devfeed.tech/tags/hdfs.md>), [heron](<https://devfeed.tech/tags/heron.md>), [java](<https://devfeed.tech/tags/java.md>), [maven](<https://devfeed.tech/tags/maven.md>), [processing](<https://devfeed.tech/tags/processing.md>), [spark](<https://devfeed.tech/tags/spark.md>), [storm](<https://devfeed.tech/tags/storm.md>), [topology](<https://devfeed.tech/tags/topology.md>), [vs](<https://devfeed.tech/tags/vs.md>)

### AI overview

This article examines upgrading an Apache Storm topology to Twitter Heron. Using a Twitter analysis pipeline that processes tweets and stores results in HDFS, it reports compatibility problems with the storm-hdfs library, including a missing Storm class, and discusses integrating or rewriting the library as possible workarounds.

### Source excerpt

This article is part 1 of an upcoming article series, Storm vs. Heron.

## Announcing Apache Flink 1.0.0

DevFeed: [Announcing Apache Flink 1.0.0](<https://devfeed.tech/articles/announcing-apache-flink-1-0-0-48284.md>)

Original publisher: [Read original article](<https://flink.apache.org/2016/03/08/announcing-apache-flink-1.0.0/>)

Published: 2016-03-08T13:00:00Z

Content type: release

Language: en

Sources: [Apache Flink](<https://devfeed.tech/sources/apache-flink-stateful-computations-over-data-streams-on-apache-flink.md>)

Topics: [Apache Flink](<https://devfeed.tech/topics/apache-flink.md>), [releases](<https://devfeed.tech/topics/releases.md>), [stream-processing](<https://devfeed.tech/topics/stream-processing.md>), [rocksdb](<https://devfeed.tech/topics/rocksdb.md>), [API](<https://devfeed.tech/topics/api.md>), [Amazon S3](<https://devfeed.tech/topics/amazon-s3.md>), [hdfs](<https://devfeed.tech/topics/hdfs.md>), [migration](<https://devfeed.tech/topics/migration.md>)

Tags: [announce](<https://devfeed.tech/tags/announce.md>), [apache](<https://devfeed.tech/tags/apache.md>), [apache-flink](<https://devfeed.tech/tags/apache-flink.md>), [availability](<https://devfeed.tech/tags/availability.md>), [compatibility](<https://devfeed.tech/tags/compatibility.md>), [database](<https://devfeed.tech/tags/database.md>), [features](<https://devfeed.tech/tags/features.md>), [file-system](<https://devfeed.tech/tags/file-system.md>), [flink](<https://devfeed.tech/tags/flink.md>), [hdfs](<https://devfeed.tech/tags/hdfs.md>), [improvements](<https://devfeed.tech/tags/improvements.md>), [migration](<https://devfeed.tech/tags/migration.md>), [new-features](<https://devfeed.tech/tags/new-features.md>), [release](<https://devfeed.tech/tags/release.md>), [releases](<https://devfeed.tech/tags/releases.md>), [rocksdb](<https://devfeed.tech/tags/rocksdb.md>), [stable](<https://devfeed.tech/tags/stable.md>), [stream](<https://devfeed.tech/tags/stream.md>), [stream-processing](<https://devfeed.tech/tags/stream-processing.md>), [with](<https://devfeed.tech/tags/with.md>)

### AI overview

Apache Flink 1.0.0 introduces the 1.x release series with backwards compatibility for stable APIs, new user-facing features, bug fixes, interface stability annotations, a RocksDB-backed state backend, and savepoints for upgrades, maintenance, and migration.

### Source excerpt

The Apache Flink community is pleased to announce the availability of the 1.0.0 release. The community put significant effort into improving and extending Apache Flink since the last release, focusing on improving the experience of writing and executing data stream processing pipelines in production. Flink version 1.0.0 marks the beginning of the 1.X.X series of releases, which will maintain backwards compatibility with 1.0.0. This means that applications written against stable APIs of Flink 1.

## Real-time Big Data at Target

DevFeed: [Real-time Big Data at Target](<https://devfeed.tech/articles/real-time-big-data-at-target-20394.md>)

Original publisher: [Read original article](<https://target.github.io/analytics/big-data-storm>)

Author: Target Brands, Inc

Published: 2015-11-11T06:00:00Z

Content type: article

Language: en

Sources: [Target](<https://devfeed.tech/sources/target.md>)

Topics: [Event-Streaming](<https://devfeed.tech/topics/event-streaming.md>), [stream-processing](<https://devfeed.tech/topics/stream-processing.md>), [Apache Kafka](<https://devfeed.tech/topics/apache-kafka.md>), [big-data](<https://devfeed.tech/topics/big-data.md>), [Hadoop](<https://devfeed.tech/topics/hadoop.md>), [Latency](<https://devfeed.tech/topics/latency.md>), [hdfs](<https://devfeed.tech/topics/hdfs.md>), [real-time](<https://devfeed.tech/topics/real-time.md>), [streaming data analytics](<https://devfeed.tech/topics/streaming-data-analytics.md>)

Tags: [ambari](<https://devfeed.tech/tags/ambari.md>), [analytics](<https://devfeed.tech/tags/analytics.md>), [apache](<https://devfeed.tech/tags/apache.md>), [apache-kafka](<https://devfeed.tech/tags/apache-kafka.md>), [apache-projects](<https://devfeed.tech/tags/apache-projects.md>), [big-data](<https://devfeed.tech/tags/big-data.md>), [data-platform](<https://devfeed.tech/tags/data-platform.md>), [framework](<https://devfeed.tech/tags/framework.md>), [hadoop](<https://devfeed.tech/tags/hadoop.md>), [hdfs](<https://devfeed.tech/tags/hdfs.md>), [latency](<https://devfeed.tech/tags/latency.md>), [low-latency](<https://devfeed.tech/tags/low-latency.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [open-source-components](<https://devfeed.tech/tags/open-source-components.md>), [real-time](<https://devfeed.tech/tags/real-time.md>), [resiliency](<https://devfeed.tech/tags/resiliency.md>), [storm](<https://devfeed.tech/tags/storm.md>), [target](<https://devfeed.tech/tags/target.md>)

### AI overview

Target's Big Data platform team sought a resilient, low-latency way to stream varied message formats from Apache Kafka into Hadoop and make the data immediately usable, using adaptable open source components. Apache Storm fit the team's preference for managing streaming through Apache Ambari. In a test that disabled and restored HDFS, however, the Storm topology became unrecoverable and needed a manual restart. Storm's one-message-at-a-time processing can provide low latency, but destination bolts often batch writes; batches set too large can delay delivery until they fill. The excerpt ends as the team examines Storm's source code, so it does not show the eventual solution or outcome.

### Source excerpt

An enterprise as large as Target generates a lot of data and on my Big Data platform team we want to make it as easy as possible for our users to get it into Hadoop in real-time. I want to discuss how we are starting to approach this problem, what we've done so far, and what is still to come. Our requirements We wanted to build a system with flexible open source components. Our experience with proprietary products on Hadoop is that they tend to be inflexible and only work with a narrow set of use cases. That can also be true of open source products, but we have found them to be easier to adapt to our needs. Indeed, that ended up being the case as we went through this journey and made several contributions to Apache projects. More specifically, we wanted to create a system that: was highly resilient to the failure of any individual component supported a variety of message formats delivered data to Hadoop with very low latency made the data immedaiately usable streamed data from Apache Kafka sources A Streaming Framework There are many excellent comparisons of streaming frameworks available, and I won't attempt to recreate them here. The first criteria we considered was what tooling was needed to monitor and administer the streaming framework, with a strong preference to use our primary Hadoop administration tool, Apache Ambari. Apache Storm fit that bill and was also a proven solution for stream processing. If Storm could meet our other requirements, it would be our first choice. To test its resiliency we ran a simple scenario: start a data stream into Hadoop, disable HDFS, and then reenable it. Streaming would obviously fail while HDFS was disabled, but we needed the system to recover gracefully when HDFS came back online. Unfortunately our first test of this scenario left our Storm topology in an unrecoverable state, which required a manual restart. That's not something we could live with. We also needed very fine control over the latency of arriving data. In gener

## How Degraded Hardware Can Slow Distributed Systems

DevFeed: [How Degraded Hardware Can Slow Distributed Systems](<https://devfeed.tech/articles/slowlock-77715.md>)

Original publisher: [Read original article](<https://danluu.com/limplock/>)

Published: 2015-09-30T00:00:00Z

Content type: article

Language: en

Sources: [Danluu](<https://devfeed.tech/sources/danluu.md>)

Topics: [Hadoop](<https://devfeed.tech/topics/hadoop.md>), [hdfs](<https://devfeed.tech/topics/hdfs.md>), [Apache Cassandra](<https://devfeed.tech/topics/cassandra.md>), [Chaos Engineering](<https://devfeed.tech/topics/chaos-engineering.md>)

Tags: [distributed](<https://devfeed.tech/tags/distributed.md>), [distributed-systems](<https://devfeed.tech/tags/distributed-systems.md>), [hadoop](<https://devfeed.tech/tags/hadoop.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [hdfs](<https://devfeed.tech/tags/hdfs.md>), [zookeeper](<https://devfeed.tech/tags/zookeeper.md>)

### AI overview

The article discusses research on how degraded but functioning hardware can cause major slowdowns in distributed systems. It explains operation, node, and cluster limplock, with examples from HDFS, Hadoop, ZooKeeper, Cassandra, and HBase. It reports that these failures are rare in the examined sample but can cause cascading performance problems, and considers testing and monitoring approaches.

### Source excerpt

Every once in awhile, you hear a story like "there was a case of a 1-Gbps NIC card on a machine that suddenly was transmitting only at 1 Kbps, which then caused a chain reaction upstream in such a way that the performance of the entire workload of a 100-node cluster was crawling at a snail's pace, effectively making the system unavailable for all practical purposes". The stories are interesting and the postmortems are fun to read, but it's not really clear how vulnerable systems are to this kind of failure or how prevalent these failures are. The situation reminds me of distributed systems failures before Jepsen. There are lots of anecdotal horror stories, but a common response to those is "works for me", even when talking about systems that are now known to be fantastically broken. A handful of companies that are really serious about correctness have good tests and metrics, but they mostly don't talk about them publicly, and the general public has no easy way of figuring out if the systems they're running are sound. Thanh Do et al. have tried to look at this systematically -- what's the effect of hardware that's been crippled but not killed, and how often does this happen in practice? It turns out that a lot of commonly used systems aren't robust against against "limping" hardware, but that the incidence of these types of failures are rare (at least until you have unreasonably large scale). The effect of a single slow node can be quite dramatic: The job completion rate slowed down from 172 jobs per hour to 1 job per hour, effectively killing the entire cluster. Facebook has mechanisms to deal with dead machines, but they apparently didn't have any way to deal with slow machines at the time. When Do et al. looked at widely used open source software (HDFS, Hadoop, ZooKeeper, Cassandra, and HBase), they found similar problems. Each subgraph is a different failure condition. F is HDFS, H is Hadoop, Z is Zookeeper, C is Cassandra, and B is HBase. The leftmost (white) ba