LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

hive

data warehouse system for Hadoop

TLDR

Start Hive shell
$ hive
copy
Execute query
$ hive -e "SELECT * FROM [table]"
copy
Run script file
$ hive -f [script.hql]
copy
Set configuration
$ hive --hiveconf [key=value]
copy
Silent mode
$ hive -S -e "[query]"
copy

SYNOPSIS

hive [options]

DESCRIPTION

Hive is a data warehouse system for Hadoop. It provides SQL-like query language (HiveQL) for querying large datasets stored in HDFS.The tool translates queries to MapReduce, Tez, or Spark jobs. It's used for data analysis and ETL on big data platforms.

PARAMETERS

-e QUERY

Execute query.
-f FILE
Execute script file.
-S, --silent
Silent mode.
--hiveconf KEY=VALUE
Set configuration.
--database DB
Use database.
-i FILE
Initialization file.
--help
Display help information.

INSTALL

brew install hive
copy

CAVEATS

Requires Hadoop cluster. Query latency higher than RDBMS. Schema on read.

HISTORY

Apache Hive was developed at Facebook and contributed to the Apache project for SQL-based big data analytics.

SEE ALSO

beeline(1), yarn(1), impala(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid