As of 2026-08-16 (commit a9cf9661145f), apache/hadoop contains 5,928,231 total lines: 4,616,669 code, 862,761 comments, 448,801 blank, across 15,983 files in 37 languages (top: XML 47.7%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving apache/hadoop to commit a9cf9661145f, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.
This is a very large codebase by counted code lines. Code represents 77.9% of all lines, comments represent 14.6%, and the repository averages 289 code lines per file. XML accounts for 47.7% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| XML | 554 | 2264037 | 2203662 | 27487 | 32888 |
| Java | 12575 | 2977616 | 1992101 | 648341 | 337174 |
| JSON | 109 | 166160 | 166152 | 0 | 8 |
| C | 147 | 60870 | 44715 | 9094 | 7061 |
| JavaScript | 516 | 59531 | 41248 | 12263 | 6020 |
| C++ | 237 | 51153 | 35663 | 8658 | 6832 |
| C Header | 263 | 51132 | 27859 | 16853 | 6420 |
| TypeScript | 165 | 34341 | 25817 | 3962 | 4562 |
| TSX | 147 | 30841 | 23895 | 3153 | 3793 |
| CSS | 52 | 14230 | 12618 | 1027 | 585 |
| Protocol Buffers | 81 | 12691 | 10059 | 887 | 1745 |
| Shell | 100 | 11756 | 6319 | 3973 | 1464 |
Top language (XML 47.7%). Generated at 2026-08-16T06:20:05.276665981+00:00.
apache/hadoop has 5,928,231 total lines, including 4,616,669 code lines, 862,761 comment lines, and 448,801 blank lines.
OctoCounts resolved the public GitHub repository to commit a9cf9661145f, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from trunk at commit a9cf9661145f on 2026-08-16T06:20:05.276665981+00:00.