You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Szehon Ho (JIRA)" <ji...@apache.org> on 2014/05/16 13:19:19 UTC

[jira] [Commented] (HIVE-6847) Improve / fix bugs in Hive scratch dir setup

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

Szehon Ho commented on HIVE-6847:
---------------------------------

This seems like a nice addition, but wondering do we need to escape special characters in generating user-scratch dir, like the logic we use in generating the partition names (FileUtils.escapePathName)?  Also there is some extra formatting diffs, and it'd be clearer to see it in the review board if you could

> 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
>             Fix For: 0.14.0
>
>         Attachments: HIVE-6847.1.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.2#6252)