apache/hadoop has 3,464,154 source lines of code out of 4,399,552 total lines across 10,922 files, counted from the trunk ref at commit 35bbaa10e886 by the OctoCounts tokei engine on 2026-10-22. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-22 (commit 35bbaa10e886), apache/hadoop contains 4,399,552 total lines: 3,464,154 code, 650,006 comments, 285,392 blank, across 10,922 files in 36 languages (top: XML 62.5%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving apache/hadoop to commit 35bbaa10e886, 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 78.7% of all lines, comments represent 14.8%, and the repository averages 317 code lines per file. XML accounts for 62.5% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| XML | 412 | 2220945 | 2164596 | 24882 | 31467 |
| Java | 8169 | 1676664 | 1046661 | 448241 | 181762 |
| C | 140 | 57380 | 41942 | 8762 | 6676 |
| JavaScript | 345 | 51733 | 37400 | 9063 | 5270 |
| JSON | 25 | 30839 | 30837 | 0 | 2 |
| C Header | 223 | 47781 | 26198 | 15636 | 5947 |
| C++ | 141 | 35652 | 24566 | 6367 | 4719 |
| TSX | 139 | 27094 | 20945 | 2964 | 3185 |
| TypeScript | 141 | 23188 | 16741 | 3438 | 3009 |
| CSS | 51 | 14209 | 12618 | 1006 | 585 |
| Protocol Buffers | 73 | 12150 | 9593 | 887 | 1670 |
| Shell | 87 | 11056 | 5991 | 3673 | 1392 |
Top language (XML 62.5%). Generated at .
apache/hadoop has 4,399,552 total lines, including 3,464,154 code lines, 650,006 comment lines, and 285,392 blank lines.
OctoCounts resolved the public GitHub repository to commit 35bbaa10e886, 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 35bbaa10e886 on 2026-10-22T05:57:26.254590946+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for apache/hadoop on this page — 3,464,154 code lines across 12 languages, counted by tokei.