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

Zoltan Haindrich commented on HIVE-19034:
-----------------------------------------

this feature worked in hive-cli
so...since we recommend to use beeline instead of hive-cli people might "find" 
this as a regression
HIVE-7136 have added this feature for hive-cli

+1 on the patch
please also document it in  (search for -f <file>)
https://cwiki.apache.org/confluence/display/Hive/HiveServer2+Clients
hive-cli documentation contained some examples(search for hdfs):
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Cli

> hadoop fs test can check srcipt ok, but beeline -f report no such file
> ----------------------------------------------------------------------
>
>                 Key: HIVE-19034
>                 URL: https://issues.apache.org/jira/browse/HIVE-19034
>             Project: Hive
>          Issue Type: Bug
>          Components: Beeline
>    Affects Versions: 1.3.0, beeline-cli-branch
>         Environment: java version: 1.8.0_112-b15
> hadoop version: 2.7.2
> hive version:1.3.0
> hive JDBS version: 1.3.0
> beeline version: 1.3.0
>            Reporter: fengxianghui
>            Assignee: Bruno Pusztahazi
>            Priority: Blocker
>              Labels: patch
>             Fix For: 1.3.0
>
>         Attachments: HIVE-19034.1.patch
>
>   Original Estimate: 0.05h
>  Remaining Estimate: 0.05h
>
> I test like this
> HQL=hdfs://hacluster/tmp/ff.hql
> if hadoop fs -test -f ${HQL}
> then
>        beeline -f ${HQL}
> fi
> test ${HQL} ok, but beeline report ${HQL} no such file or directory



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to