Hive - Scratch Directory

> Database > Apache - Hive (HS|Hive Server)

1 - About

Scratch space for Hive jobs.

This directory is used by Hive to store:

  • the plans for different map/reduce stages for the query
  • intermediate outputs of plan operations
Advertising

3 - Management

3.1 - Default value

The default value is /tmp/hive

3.2 - Configuration

3.2.1 - Location

conf value

Example:

bin/hive or bin/beeline --hiveconf hive.exec.scratchdir=/tmp/mydir

3.2.2 - Permission

winutils.exe chmod -R 777 c:\tmp\hive 
db/hive/scratchdir.txt · Last modified: 2018/06/30 22:57 by gerardnico