~/talk

Scaling the Namenode - Lessons learnt

Talkat ApacheCon@Home 2021 · 2021-09-21..09-23· [databases, distributed-systems]
links:none on file
slides:none on file

Common causes of NameNode failure: millions of small files bloating metadata, suboptimal heap sizing (rule‑of‑thumb: ~1 GB heap per 1M blocks), excessive logging and synchronous audit/getFileInfo calls, and co‑located heavy services. Actionable fixes include disabling getFileInfo audit logging and using async logging, enabling service RPC, congestion control and RPC call queues, and the data node lifeline protocol for clusters >200 datanodes. Also throttle fsimage transfer (example: 65 GB image froze nodes), reduce max replication (default 512 → ~10–20), and tune zkfc timeout (45s → ~120s carefully).

AI-written summary · about

  1. 0:00Introduction
  2. 1:31Common Namenode problems
  3. 3:16Small files and heap issues
  4. 5:43Underutilized HDFS features
  5. 8:31Optimizing logging settings
  6. 11:17RPC performance improvements
  7. 15:11Host-level scalability tips
  8. 17:15CPU and kernel tuning
  9. 20:07Group lookup performance
  10. 22:58Failover and startup tuning
  11. 28:49Heap size calculation guide
  12. 31:37Managing block reports
  13. 33:06Controlling small files
  14. 35:35Resources and summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.