You can set hive.start.cleanup.scratchdir to false (default), but that only deals with startup time. Other than that, when does the scratch directory get deleted?
I grepped "scratch" in the HiveConf.java file of every branch, and only found these parameters: - hive.exec.scratchdir - hive.exec.local.scratchdir (0.10+) - hive.scratch.dir.permission (0.12+) - hive.start.cleanup.scratchdir (0.8.1+) -- Lefty On Tue, Dec 23, 2014 at 7:51 PM, Navis류승우 <navis....@nexr.com> wrote: > I think once there was a configuration for it. But cannot find recent > releases. > > Thanks, > Navis > > 2014-12-24 10:46 GMT+09:00 Jeff Zhang <zjf...@gmail.com>: > > > Hi, > > > > Is there any property for don't deleting scratch dir ? I'd like check the > > intermediate data to know the internal of hive better. > > > > -- > > Best Regards > > > > Jeff Zhang > > >