Hive - Scratch Directory

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

3 - Management

3.1 - Default value

The default value is /tmp/hive

3.2 - Configuration

3.2.1 - Location

conf value


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

3.2.2 - Permission

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

Data Science
Data Analysis
Data Science
Linear Algebra Mathematics

Powered by ComboStrap