pkg.sopackage field notes

brew / 順位 1338

apache-spark を Homebrew でインストール

apache-spark のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install apache-spark

provider-native install command

概要

パッケージ概要

Engine for large-scale data processing

コマンドとエイリアス

  • docker-image-tool.sh
  • find-spark-home
  • load-spark-env.sh
  • pyspark
  • run-example
  • spark-beeline
  • spark-class
  • spark-connect-shell
  • spark-pipelines
  • spark-shell
  • spark-sql
  • spark-submit
  • sparkR

履歴

プロジェクトの歴史と使われ方

Apache Spark is a general-purpose engine for large-scale data processing. For package-manager users, it is the canonical install that gives you `spark-submit`, language shells, SQL tooling, example runners, and runtime scripts for local and cluster-oriented workflows.

プロジェクトの歴史

Spark originated at the UC Berkeley AMPLab as a faster, more interactive alternative to earlier MapReduce-centered data processing systems. Its project history is closely tied to resilient distributed datasets, in-memory computation, and developer-friendly APIs for Scala, Python, Java, SQL, and R.

Spark became an Apache project and grew into a broad analytics engine rather than a single-purpose batch runner. The official project history notes its Apache Software Foundation path and the release line that made Spark a standard part of the big-data toolchain.

Over time Spark absorbed major adjacent workloads: Spark SQL and DataFrames for structured data, MLlib for machine learning, GraphX for graph processing, Structured Streaming for stream processing, and Spark Connect for client-server connectivity.

採用の歴史

Spark's adoption history is unusually deep for a package-manager formula because it crossed from research project to de facto data-platform component. It is used for ETL, interactive analytics, machine learning pipelines, and streaming workloads across local machines, YARN, Mesos-era clusters, Kubernetes, and managed cloud services.

The supplied Homebrew package data shows a CLI-heavy install surface: `spark-submit`, `spark-shell`, `pyspark`, `spark-sql`, `sparkR`, `spark-class`, and helper scripts. That executable set mirrors the way Spark became both an application runtime and a command-line toolbox.

使われ方

The main package workflow is submitting applications with `spark-submit`, opening interactive shells with `spark-shell` or `pyspark`, running SQL through `spark-sql`, and configuring behavior through files in `$SPARK_HOME/conf`.

Spark users often install it locally even when production jobs run elsewhere, because the local CLI is useful for testing jobs, validating dependencies, developing notebooks or scripts, and matching cluster runtime behavior.

パッケージ好きにとっての重要性

Spark is a classic heavyweight formula: it is mostly scripts plus a large JVM distribution, but those scripts define the ergonomics of a whole data ecosystem. Packagers care about Java compatibility, Python/R bindings, shell wrappers, classpaths, examples, and config file layout.

It is also one of the packages that turns a laptop into a miniature data platform. A formula install can run local mode, submit to clusters, or serve as a client for remote compute, which makes it more than a simple CLI utility.

タイムライン

  • 2009: Spark begins at UC Berkeley AMPLab.
  • 2010: Spark is open sourced.
  • 2013: Spark enters the Apache Incubator.
  • 2014: Spark becomes an Apache top-level project.
  • 2020s: Spark continues expanding SQL, streaming, Kubernetes, and client-server features.

Related projects

  • Apache Hadoop and YARN are central to Spark's early cluster deployment history.
  • Apache Hive influenced Spark SQL's data-warehouse compatibility story.
  • Delta Lake, Apache Iceberg, and Apache Hudi are common table-format companions in modern Spark deployments.

セキュリティ状態

リスクレベル: yellow

broad file, network, media, or database tool signal. generalized runtime or code generation signal.

リスク分類器

リスク yellow · 信頼度 中 · runtime

理由

  • broad file, network, media, or database tool signal
  • generalized runtime or code generation signal

信号

  • text:shell
  • text:sql,image

インストール挙動

  • Homebrew bottle メタデータは記録されていません。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

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
$SPARK_HOME/conf/spark-defaults.conf$SPARK_HOME/conf/spark-env.sh$SPARK_HOME/conf/log4j2.properties

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
docker-image-tool.sh実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
find-spark-home実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
load-spark-env.sh実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
pyspark実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
run-example実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
spark-beeline実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
spark-class実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
spark-connect-shell実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
spark-pipelines実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
spark-shell実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
spark-sql実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
spark-submit実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
sparkR実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-08-03
マネージャ版4.2.0
マネージャ更新日2026-07-15
ローカルデータ不明
上流利用不可
検出された最新未検出
  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:apache-spark
バージョン4.2.0
パッケージマネージャHomebrew
ホームページhttps://spark.apache.org/
リポジトリhttps://github.com/apache/spark
最終更新2026-07-15T03:07:47Z
Pulseupdated
Bottle未記録
サービス宣言なし

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • curated configuration and credential file locations
  • curated package history
  • pkgdb category and tag curation