| <!-- |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. See accompanying LICENSE file. |
| --> |
| {{partial "header.html" .}} |
| <div class="container"> |
| |
| <h1>Download</h1> |
| |
| <p>Hadoop is released as source code tarballs with corresponding binary |
| tarballs for convenience. The downloads are distributed via mirror sites |
| and should be checked for tampering using GPG or SHA-512.</p> |
| |
| <p> |
| <table class="table table-striped"> |
| <thead> |
| <tr> |
| <th>Version</th> |
| <th>Release date</th> |
| <th>Source download</th> |
| <th>Binary download</th> |
| <th>Release notes</th> |
| </tr> |
| </thead> |
| {{range first 5 (where (where .Site.Pages "Section" "release") ".Params.linked" true) }} |
| |
| <!-- Define the suffix of the checksum file for each release --> |
| {{ $checksum_suffix := "mds" }} |
| <!-- if the version >= 3.3 --> |
| {{ if .File.BaseFileName | replaceRE "^([0-9]+.[0-9]+).*" "$1" | float | le 3.3 }} |
| {{ $checksum_suffix = "sha512" }} |
| <!-- else if the version > 3.2.0, 3.1.2, 2.9.2, 2.8.5 --> |
| {{ else if .File.BaseFileName | replaceRE "^([0-9]+.[0-9]).*" "$1" | eq "3.2" }} |
| {{ if .File.BaseFileName | replaceRE "^[0-9]+.[0-9]+.([0-9]+).*" "$1" | float | lt 0 }} |
| {{ $checksum_suffix = "sha512" }} |
| {{ end }} |
| {{ else if .File.BaseFileName | replaceRE "^([0-9]+.[0-9]).*" "$1" | eq "3.1" }} |
| {{ if .File.BaseFileName | replaceRE "^[0-9]+.[0-9]+.([0-9]+).*" "$1" | float | lt 2 }} |
| {{ $checksum_suffix = "sha512" }} |
| {{ end }} |
| {{ else if .File.BaseFileName | replaceRE "^([0-9]+.[0-9]).*" "$1" | eq "2.9" }} |
| {{ if .File.BaseFileName | replaceRE "^[0-9]+.[0-9]+.([0-9]+).*" "$1" | float | lt 2 }} |
| {{ $checksum_suffix = "sha512" }} |
| {{ end }} |
| {{ else if .File.BaseFileName | replaceRE "^([0-9]+.[0-9]).*" "$1" | eq "2.8" }} |
| {{ if .File.BaseFileName | replaceRE "^[0-9]+.[0-9]+.([0-9]+).*" "$1" | float | lt 5 }} |
| {{ $checksum_suffix = "sha512" }} |
| {{ end }} |
| <!-- else if the version >= 2.10.0 --> |
| {{ else if .File.BaseFileName | replaceRE "^([0-9]+.[0-9]+).*" "$1" | eq "2.10" }} |
| {{ $checksum_suffix = "sha512" }} |
| {{ end }} |
| |
| <tr> |
| <td>{{.File.BaseFileName }}</td> |
| <td>{{dateFormat "2006 Jan 2 " .Date}}</td> |
| <td> |
| <a href="https://www.apache.org/dyn/closer.cgi/hadoop/common/hadoop-{{.File.BaseFileName }}/hadoop-{{.File.BaseFileName }}-src.tar.gz">source</a> |
| (<a href="https://downloads.apache.org/hadoop/common/hadoop-{{.File.BaseFileName }}/hadoop-{{.File.BaseFileName }}-src.tar.gz.{{ $checksum_suffix }}">checksum</a> |
| <a href="https://downloads.apache.org/hadoop/common/hadoop-{{.File.BaseFileName }}/hadoop-{{.File.BaseFileName }}-src.tar.gz.asc">signature</a>) |
| </td> |
| <td> |
| <a href="https://www.apache.org/dyn/closer.cgi/hadoop/common/hadoop-{{.File.BaseFileName }}/hadoop-{{.File.BaseFileName }}.tar.gz">binary</a> |
| (<a href="https://downloads.apache.org/hadoop/common/hadoop-{{.File.BaseFileName }}/hadoop-{{.File.BaseFileName }}.tar.gz.{{ $checksum_suffix }}">checksum</a> |
| <a href="https://downloads.apache.org/hadoop/common/hadoop-{{.File.BaseFileName }}/hadoop-{{.File.BaseFileName }}.tar.gz.asc">signature</a>) |
| <!-- Include aarch64 binaries included in releases after 3.3.0 --> |
| {{ if .File.BaseFileName | replaceRE "^([0-9]+.[0-9]+).*" "$1" | float | le 3.3 }} |
| <br/> |
| <a href="https://www.apache.org/dyn/closer.cgi/hadoop/common/hadoop-{{.File.BaseFileName }}/hadoop-{{.File.BaseFileName }}-aarch64.tar.gz">binary-aarch64</a> |
| (<a href="https://downloads.apache.org/hadoop/common/hadoop-{{.File.BaseFileName }}/hadoop-{{.File.BaseFileName }}-aarch64.tar.gz.{{ $checksum_suffix }}">checksum</a> |
| <a href="https://downloads.apache.org/hadoop/common/hadoop-{{.File.BaseFileName }}/hadoop-{{.File.BaseFileName }}-aarch64.tar.gz.asc">signature</a>) |
| {{ end }} |
| </td> |
| <td> |
| <a href="/release/{{.File.BaseFileName }}.html">Announcement</a> |
| </td> |
| </tr> |
| {{end}} |
| </table> |
| </p> |
| |
| {{.Content}} |
| </div> |
| {{partial "footer.html" .}} |