Registry / database / spark-hive-2-10

spark-hive-2-10

JSON →
library2.2.3javamavenunverified

Provides integration between Apache Spark and Apache Hive for Scala 2.10.

<dependency> <groupId>org.apache.spark</groupId> <artifactId>spark-hive_2.10</artifactId> <version>2.2.3</version> </dependency>
INSTALL
IMPORT
SIG · SPARK-HIVE-2-10
S
spark-hive-2-10
databasejavav2.2.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

HiveContext
org.apache.spark.sql.hive.HiveContext

Creates a HiveContext to run SQL queries on Hive tables.

import org.apache.spark.sql.hive.HiveContext; import org.apache.spark.SparkConf; import org.apache.spark.SparkContext; public class HiveExample { public static void main(String[] args) { SparkConf conf = new SparkConf().setAppName("HiveExample"); SparkContext sc = new SparkContext(conf); HiveContext hiveContext = new HiveContext(sc); hiveContext.sql("SELECT 1").show(); } }
Debug
Known issues
breakingSpark 2.2.3 is outdated; consider upgrading to a newer version for security and performance.
fix
Migrate to a newer Spark version (e.g., 3.x) and use spark-hive with appropriate Scala version.
affects: 2.2.3
Upgrade
Version history
2.2.3latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Meta
1
Resources
spark-hive-2-10 — mvn dependency:get spark-hive-2-10 · libregistry