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

WangMeng commented on HIVE-11695:
---------------------------------

if  hive user  can not  create local target directory  and return false, this 
should throw an exception rather than fail sliently.
[~ashutoshc] Can you please take a look at this small patch? Thanks.


>  Hql "insert  overwrite  LOCAL DIRECTORY " does not throw exception if Hive 
> user does not have write-permission of the DIRECTORY
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-11695
>                 URL: https://issues.apache.org/jira/browse/HIVE-11695
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.13.0, 0.14.0, 1.0.0, 1.2.0, 1.1.0, 1.2.1
>            Reporter: WangMeng
>            Assignee: WangMeng
>             Fix For: 1.3.0, 1.2.1
>
>         Attachments: HIVE-11695.01.patch
>
>
> If user have no write permission to LOCAL DIRECTORY such as   
> "/data/wangmeng/"  ,the query "insert  overwrite LOCAL  DIRECTORY  
> "/data/wangmeng/hiveserver2" does not throw any exception and fail silently.



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

Reply via email to