NJ_315
NJ_315

Reputation: 1883

In what mode is Hive installed?

Does hive installation have any specific mode?

Like for example, Hadoop installation has 3 modes: standalone, pseudo-distributed and fully distributed. Similarly does Hive has any specific type of distribution? Can Hive be installed in distributed mode?

Upvotes: 2

Views: 2773

Answers (1)

Tariq
Tariq

Reputation: 34184

Hive actually provides you the option to run queries in 2 modes :

1- Map-Reduce mode
2- Local mode

Normally Hive compiler generates map-reduce jobs for most queries under the hood. These jobs are then submitted to the Map-Reduce cluster indicated by the variable:

mapred.job.tracker

While this usually points to a map-reduce cluster with multiple nodes, Hadoop also provided you the ability to run map-reduce jobs locally on the your standalone workstation. In order to run Hive queries in local mode you need to do this :

hive> SET mapred.job.tracker=local;

Details can be found here.

Upvotes: 3

Related Questions