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

Arshad Matin commented on LENS-325:
-----------------------------------

Actually the issue is with HiveInputFormat, currently the default value 
lens.query.result.parent.dir is "/tmp/lensreports" which is not a fully 
qualified path. if you set lens.query.result.parent.dir to 
"file:///tmp/lensreports" then it will work.

>From lens side we can change the default value to "file:///tmp/lensreports". 
>Will raise a JIRA for that

> Wrong url of the persistent query result
> ----------------------------------------
>
>                 Key: LENS-325
>                 URL: https://issues.apache.org/jira/browse/LENS-325
>             Project: Apache Lens
>          Issue Type: Bug
>            Reporter: Sharad Agarwal
>            Assignee: Raju Bairishetti
>
> Using the default configs:
> lens-shell>set lens.query.enable.persistent.resultset=false
> Set param succeeded
> lens-shell>set lens.query.enable.persistent.resultset.indriver=true
> Set param succeeded
> lens-shell>query execute select * from local_fact1
> local_fact1.dim1    local_fact1.measure2    local_fact1.measure3    
> local_fact1.measure4    local_fact1.dt    
> Results of query stored at : 
> file:/tmp/lensreports/hdfsout/179095f1-f692-4850-93d8-402bbe37ba32 -1 rows 
> process in (61) seconds.
> The result is in HDFS but the url is wrong



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

Reply via email to