Hive - Scratch Directory

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

Management

Default value

The default value is /tmp/hive

Configuration

Location

conf value

Example:

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

Permission

winutils.exe chmod -R 777 c:\tmp\hive 

Powered by ComboStrap