[ 
https://issues.apache.org/jira/browse/HIVE-6847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14125147#comment-14125147
 ] 

Lefty Leverenz commented on HIVE-6847:
--------------------------------------

Doc note:  This changes the default value and description for 
*hive.exec.scratchdir*, which is already documented in the wiki (in Configuring 
Hive as well as Configuration Properties).  It also gives a description for 
*hive.scratch.dir.permission*, which is not documented in the wiki yet.  No 
change is made to *hive.downloaded.resources.dir*, it's just removed in one 
place and added elsewhere.

Here are all the places in the wiki that *hive.exec.scratchdir* is documented:

* [AdminManual Configuration -- Configuring Hive | 
https://cwiki.apache.org/confluence/display/Hive/AdminManual+Configuration#AdminManualConfiguration-ConfiguringHive]
* [AdminManual Configuration -- Temporary Folders | 
https://cwiki.apache.org/confluence/display/Hive/AdminManual+Configuration#AdminManualConfiguration-TemporaryFolders]
* [AdminManual Configuration -- Configuration Variables | 
https://cwiki.apache.org/confluence/display/Hive/AdminManual+Configuration#AdminManualConfiguration-ConfigurationVariables]
* [Configuration Properties -- hive.exec.scratchdir | 
https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-hive.exec.scratchdir]
* example of using hive.exec.scratchdir (2nd bullet):  [Hive CLI -- Examples | 
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Cli#LanguageManualCli-Examples]

> Improve / fix bugs in Hive scratch dir setup
> --------------------------------------------
>
>                 Key: HIVE-6847
>                 URL: https://issues.apache.org/jira/browse/HIVE-6847
>             Project: Hive
>          Issue Type: Bug
>          Components: CLI, HiveServer2
>    Affects Versions: 0.14.0
>            Reporter: Vikram Dixit K
>            Assignee: Vaibhav Gumashta
>              Labels: TODOC14
>             Fix For: 0.14.0
>
>         Attachments: HIVE-6847.1.patch, HIVE-6847.10.patch, 
> HIVE-6847.11.patch, HIVE-6847.2.patch, HIVE-6847.3.patch, HIVE-6847.4.patch, 
> HIVE-6847.5.patch, HIVE-6847.6.patch, HIVE-6847.7.patch, HIVE-6847.8.patch, 
> HIVE-6847.9.patch
>
>
> Currently, the hive server creates scratch directory and changes permission 
> to 777 however, this is not great with respect to security. We need to create 
> user specific scratch directories instead. Also refer to HIVE-6782 1st 
> iteration of the patch for approach.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to