Automic VaultAutomic Vault

brew

使用 Homebrew, chocolatey, MacPorts, Nix 安装 hadoop

查看 hadoop 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install hadoop

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install hadoop

MacPorts ports tree · java/hadoop/Portfile · 来源: api.github.com

概览

软件包摘要

Framework for distributed processing of large data sets

命令和别名

  • FederationStateStore
  • distribute-exclude.sh
  • hadoop
  • hadoop-daemon.sh
  • hadoop-daemons.sh
  • hdfs
  • httpfs.sh
  • kms.sh
  • mapred
  • mr-jobhistory-daemon.sh
  • refresh-namenodes.sh
  • start-all.sh
  • start-balancer.sh
  • start-dfs.sh
  • start-secure-dns.sh
  • start-yarn.sh
  • stop-all.sh
  • stop-balancer.sh
  • stop-dfs.sh
  • stop-secure-dns.sh
  • stop-yarn.sh
  • workers.sh
  • yarn-daemon.sh
  • yarn-daemons.sh

历史

项目历史与用法

Apache Hadoop is the Apache Software Foundation framework for reliable, scalable, distributed computing across clusters. The Homebrew package exposes the command-line surface around Hadoop Common, HDFS, YARN, and MapReduce, making it a developer workstation entry point into a historically server-oriented big-data stack.

项目历史

Apache's early Hadoop documentation records the project split from Nutch MapReduce and distributed filesystem code in 2006, with Hadoop code moved into its own source tree in February, project approval in March, and release 0.1.0 in April. The project grew around a practical abstraction: store data across many machines with HDFS and run distributed computation with MapReduce.

Hadoop 1.0.0 arrived in December 2011 after what Apache called six years of gestation. That release came from the 0.20-security line and included security, HBase-related HDFS append/sync work, WebHDFS, and performance improvements. The 1.x era established Hadoop as a deployable foundation for large-scale storage and batch processing.

The 2.x line changed Hadoop's architecture by introducing YARN, described in Apache release notes as NextGen MapReduce. YARN separated cluster resource management from the MapReduce programming model, letting Hadoop run a wider set of distributed applications while keeping HDFS as a common storage layer. Apache's 2.0.2-alpha notes also recorded YARN deployment on a 2000-node cluster at release time.

Hadoop 3.x continued the infrastructure evolution. The 3.0.0 documentation highlights erasure coding in HDFS for lower storage overhead than three-way replication, along with a broader set of HDFS, YARN, MapReduce, and operational features. Later Apache site news documents 3.4 and 3.5 lines as large maintenance and enhancement releases.

采用历史

Hadoop's adoption history is tied to the rise of commodity-cluster data processing. The Apache homepage describes a framework designed to scale from single servers to thousands of machines, with failure detection and handling in the application layer rather than relying only on hardware high availability.

The broader ecosystem made Hadoop more than one binary. Apache release notes and docs refer to HBase, Pig, Oozie, Hive, Sqoop, WebHDFS, and YARN applications as downstream or companion systems. For package managers, that ecosystem means Hadoop often arrives as a dependency, local test harness, or compatibility target even when production clusters are provisioned by other means.

使用方式

On a workstation, the package is commonly used for command-line tools such as `hadoop`, `hdfs`, `yarn`, and `mapred`, for local pseudo-distributed testing, for interacting with HDFS-compatible services, or for building software that expects Hadoop client libraries and scripts. The single-node setup docs are a common starting point because they let developers run Hadoop locally before touching a cluster.

Operational Hadoop usage is configuration-heavy. Apache cluster setup documentation names site-specific XML files under `etc/hadoop`, including core-site.xml, hdfs-site.xml, yarn-site.xml, and mapred-site.xml, plus environment scripts such as hadoop-env.sh and yarn-env.sh. The same docs instruct administrators to distribute configuration to HADOOP_CONF_DIR across machines.

为什么软件包爱好者会关心

Hadoop is a heavyweight formula by package-manager standards: a Java-centric distributed-systems stack with many scripts, XML configs, daemon roles, and ecosystem expectations. It matters to package nerds because installing it locally can satisfy client tooling, build-time assumptions, demos, and compatibility tests without standing up a full distribution.

It is also a naming and dependency landmark. Many big-data packages historically needed to say which Hadoop line, HDFS client, YARN API, or MapReduce compatibility level they targeted. That makes the package less about a single executable and more about a versioned contract with the surrounding data ecosystem.

时间线

  • 2006: Hadoop code moved out of Nutch, the project was approved, and release 0.1.0 was published.
  • 2011: Hadoop 1.0.0 was released from the 0.20-security code line.
  • 2012: Hadoop 2.0.0-alpha introduced HDFS HA, YARN, HDFS Federation, and protobuf wire compatibility.
  • 2012: Hadoop 2.0.2-alpha notes recorded a more stable YARN deployed on a 2000-node cluster.
  • 2017: Hadoop 3.0.0 documentation described HDFS erasure coding and other 3.x architecture updates.
  • 2024: Apache announced the Hadoop 3.4 line with thousands of fixes, improvements, and enhancements since 3.3.
  • 2026: Apache announced the Hadoop 3.5 line with hundreds of fixes, improvements, and enhancements since 3.4.

Related projects

  • Apache Nutch: origin project from which Hadoop's early MapReduce and distributed filesystem code split.
  • HDFS: Hadoop Distributed File System storage layer.
  • YARN: Hadoop cluster resource-management framework.
  • MapReduce: batch-processing framework and command surface in Hadoop.
  • Apache HBase, Hive, Pig, Oozie, and Sqoop: common Hadoop-era ecosystem projects referenced in Apache release and setup material.

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:http

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
$HADOOP_CONF_DIR/core-site.xml$HADOOP_CONF_DIR/hdfs-site.xml$HADOOP_CONF_DIR/mapred-site.xml$HADOOP_CONF_DIR/yarn-site.xmletc/hadoop/core-site.xmletc/hadoop/hdfs-site.xmletc/hadoop/mapred-site.xmletc/hadoop/yarn-site.xml

可执行文件

已安装的可执行文件

命令类型暴露范围备注
FederationStateStorecli全局可执行文件
distribute-exclude.shcli全局可执行文件
hadoopcli全局可执行文件
hadoop-daemon.shcli全局可执行文件
hadoop-daemons.shcli全局可执行文件
hdfscli全局可执行文件
httpfs.shcli全局可执行文件
kms.shcli全局可执行文件
mapredcli全局可执行文件
mr-jobhistory-daemon.shcli全局可执行文件
refresh-namenodes.shcli全局可执行文件
start-all.shcli全局可执行文件
start-balancer.shcli全局可执行文件
start-dfs.shcli全局可执行文件
start-secure-dns.shcli全局可执行文件
start-yarn.shcli全局可执行文件
stop-all.shcli全局可执行文件
stop-balancer.shcli全局可执行文件
stop-dfs.shcli全局可执行文件
stop-secure-dns.shcli全局可执行文件
stop-yarn.shcli全局可执行文件
workers.shcli全局可执行文件
yarn-daemon.shcli全局可执行文件
yarn-daemons.shcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本3.5.0
管理器更新时间2026-06-22
本地数据OK
上游not checked
检测到的最新版本未检测到

https://hadoop.apache.org/

安装元数据

软件包元数据

软件包键brew:hadoop
版本3.5.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/hadoop
主页https://hadoop.apache.org/
仓库https://gitbox.apache.org/repos/asf?p=hadoop.git
上游文档https://hadoop.apache.org/
许可证Apache-2.0
源码归档https://www.apache.org/dyn/closer.lua?path=hadoop/common/hadoop-3.5.0/hadoop-3.5.0.tar.gz
最后更新2026-06-22T14:03:41-07:00
Pulseupdated
依赖openjdk@17
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namehadoop
Version Scheme0
Revision0
Conflicts With
  • corepack
  • yarn
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

hadoop

nix profile install nixpkgs#hadoop
  • normalized package name match
  • 匹配方式:Hadoop
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: hadoop from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
MacPorts95%

hadoop

sudo port install hadoop
  • normalized package name match
  • 匹配方式:Hadoop
MacPorts ports tree · api.github.com · MacPorts ports tree: java/hadoop/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

hadoop

choco install hadoop
  • normalized package name match
  • 匹配方式:Hadoop
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: hadoop from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='8.884','vim-x64'

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment