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

Example:


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
Statistics
Data Science
Linear Algebra Mathematics
Trigonometry

Powered by ComboStrap