Commit History: Yahoo's Jubin Soni on Debugging Silent Failures in Data Pipelines

Commit History: Yahoo's Jubin Soni on Debugging Silent Failures in Data Pipelines

Welcome to HackerNoon's Commit History interview series, where we get to know the engineers behind the code, explore the technical challenges that have shaped their careers, and unpack the lessons they've learned along the way.In this edition, we speak with Jubin Soni, a Senior Software Engineer at Yahoo, about silent failures in distributed systems, the art of debugging, and why engineering judgment matters more than ever in the age of AI.Let's start with you. What do you build, who uses it, and what language do you spend most of your day in?I'm Jubin Soni. I'm a Senior Software Engineer at Yahoo, and I work on data and AI infrastructure. Most of my time goes to real-time data feeds. That means the pipelines and systems that move data fast enough for people to actually use it. I spend most of my day in Java and Scala, since that is where our Spark and Flink work lives. I also use Python and SQL a lot. I am an IEEE Senior Member and a Fellow of the British Computer Society.How did you get into software engineering: computer science degree, bootcamp, self-taught, or a happy accident?I have a Master's in Computer Science from NYU, and 14+ years of experience since then, but most of what I actually use day to day I learned by building production data systems and running into real failures at scale. When a pipeline breaks in production, you learn fast. You learn what actually matters and what was just theory. I still learn that way. I pick up a hard problem and work through it, and I keep notes on what went wrong.Walk us through a normal workday. How much of it is writing code versus reading, reviewing, and meetings?My days are a mix. Some of it is writing code, and a lot of it is reading code and reviewing other people's work. I spend time in meetings with the team, talking through design and what is blocked. I also spend time looking at how our pipelines are running and digging into anything that looks off. The split changes day to day. On a quiet day I can get a good stretch of coding done. On a rough day I am mostly debugging and helping other people unblock their work.What makes a codebase pleasant to work in, and what makes you want to rewrite it on day one?A codebase is pleasant when I can read it and understand what it does without asking someone. Clear names and good tests help a lot, because tests tell me what the code is supposed to do. I want to rewrite something when I cannot tell what happens when it fails. If errors are swallowed or retries are hidden, I do not trust the code, and that is usually the first thing I want to fix.Which tool, library, or framework would you uninstall from every laptop on Earth if you could?I would uninstall the monitoring tool that pages you for everything. When every threshold is an emergency, none of them is, and after the third 3 a.m. page for a metric that fixed itself, people stop looking at alerts altogether. I would rather have five alerts I believe than five hundred I have learned to ignore.Which "best practice" do you quietly ignore, or think isn't actually a best practice?I am skeptical of retries added by default. On paper they sound safe, and under burst load they pile up and turn a small failure into a bigger one, so I only add a retry once I have seen the failure it is meant to fix, and then with a limit, a backoff, and a circuit breaker. A retry you have never watched fail in production is a guess, not a safeguard.How have AI coding assistants changed the way you write, review, and debug code?AI tools changed the drafting part of my work, not the thinking part. I use them for boilerplate, for a first pass at a test, for untangling a stack trace I have already read myself, and they are genuinely useful there. But the review is still mine, and the final code is still mine, because if I cannot explain a line, it does not go in, no matter what wrote the first version. Debugging is the same. The tool can suggest where to look, but it cannot tell me what actually happened in production, and that part still takes reading logs, asking what changed, and being patient enough to wait for the real answer instead of the first plausible one.What's the most underrated skill for a software engineer that never shows up in a job description?Patience with debugging. A lot of people want to jump to a fix, but the real skill is slowing down and figuring out what actually happened. That means reading logs carefully and asking what changed. It also means writing down what you found so the next person does not have to start over. That skill never shows up in a job description, but it is what keeps a system running.Tell us about a bug or design decision that taught you something you still think about.The one I still think about came from Flink CDC, pull request #4410 in apache/flink-cdc, fixing FLINK-39478, and it is still open, waiting for review. With scan.newly-added-table.enabled turned on, a job that restarted in the middle of a snapshot of a newly added table could leave that table behind. Nothing crashed, nothing went red, the job looked healthy and kept running, but the table produced zero events for the rest of the job's lifetime. In production it hit two tables of around 100 million rows each, as documented in the public issue, and the pattern is what made it so hard to chase: a table could survive the first restart and die on the second, because the field that gated the state machine, checkpointIdToFinish, was transient and needed two more checkpoint cycles to come back, so if a second restart landed inside that window, the state machine stalled.My mistake was the obvious one in hindsight. I trusted the green checkmarks. The job was running, the dashboard was quiet, and I assumed quiet meant healthy, so I spent the first round of debugging looking everywhere except at what the assigner was actually doing. The change I put up persists that field into a checkpointed state and adds enumerator metrics, so an operator can see whether the assigner is making progress during a long snapshot instead of guessing.I also traced a quieter one in apache/spark, pull request #59094 for SPARK-59818. The loud part was easy to see, a NULL sketch state crashed approx_top_k_estimate and approx_top_k_combine, but the quiet part was worse: the estimate declared its result non-nullable even when the state was NULL, so the optimizer reasoned about it incorrectly with no error at all. The fix returns NULL when the state is NULL, lets the declared nullability follow the state, and adds tests for it. It merged in October.Both bugs taught me the same thing, and it is the reason I keep coming back to observability: a system that fails quietly is worse than a system that fails loudly, because the quiet one lets you believe everything is fine while the data underneath is wrong.How has HackerNoon been part of your journey as a builder, and why would you recommend it to a fellow developer?I have not published on HackerNoon before, so this interview is my first piece here, and that is exactly why I wanted to do it. What pulled me in was reading how other engineers here write about their own work, like Miki Szeles open-sourcing his whole thinking process through his commit history and Pragati Verma walking through a single git command, reflog, and showing what it actually saved her. The lesson I took from those pieces is that the work itself tells the story better than a polished summary does, the commits, the dead ends, the fix that only made sense afterwards, and that is the kind of writing I would recommend to a fellow developer. It is a good place to learn from real work instead of just theory.What do you think the job "software engineer" will mean by 2030?I think the job will change, but it will not go away. A lot of the routine coding will get easier, and AI tools will take on more of the drafting. What will matter more is judgment. Engineers will need to understand how a whole system behaves and make good calls about architecture. Writing code is only part of it now, and I think that will be even more true by 2030. The people who do well will be the ones who can think about a whole system and take responsibility for how it behaves in production.What advice would you give someone writing their first production code this year?Keep it simple, and think about what happens when it fails. Your first production code will break at some point, and that is normal. What matters is whether you can see the failure and fix it fast. Ask someone to review your work, and listen to what they say. I still ask a lot of questions, and it saves time.What are you building or learning next, and where can people follow your work?I am continuing my work on real-time data infrastructure at Yahoo, and I am preparing my AWS re:Invent 2026 talks for December 2 and 3. One is about moving a large fleet of production pipelines to the cloud, from Hadoop to EMR and Airflow. The other is about modernizing real-time data feeds with Amazon Kinesis and Apache Flink. I am also speaking at the AWS Japan meetup on November 20. I have published 10 peer-reviewed papers in 2025 and 2026 on distributed systems and real-time analytics, and some of that work is on AI infrastructure too. I keep contributing to Spark and Flink, and I write and speak about scaling real-time systems. Three of my recent contributions are already merged, a Spark null-safety fix for approx_top_k on NULL sketch states (apache/spark #59094), a Flink runtime change exposing maxExceptions on exception messages (apache/flink #28202), and a Flink CDC change mounting a shared data volume on Flink containers for the Paimon sink (apache/flink-cdc #4408).You can follow my work on GitHub at github.com/jubins and on LinkedIn at linkedin.com/in/jubinsoni, and you can find my papers on Google Scholar.

Original Source

Read the full article at Hackernoon →

KhanList aggregates and links to publicly available news content. We do not host full articles from third-party sources. Always verify important information with original sources.