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

Amareshwari Sriramadasu commented on LENS-564:
----------------------------------------------

[~angadsingh], Clients can override any configuration by setting 
<property><name><name/><value><value/></property> in lens-client-site.xml. 
There should not be any need for taking comma separated key-value pairs for 
lens.session.params. 

In REST api, all session config can be passed as map of key-value pairs, which 
open session accepts.

Can you see if you are facing any problem overriding property through 
lens-client-site.xml? 

> Add ability to set lens session params via config
> -------------------------------------------------
>
>                 Key: LENS-564
>                 URL: https://issues.apache.org/jira/browse/LENS-564
>             Project: Apache Lens
>          Issue Type: Bug
>          Components: server
>            Reporter: Angad Singh
>            Assignee: Amareshwari Sriramadasu
>
> We need to set a bunch of hive session params (job conf). It works when sets 
> it via the lens cli through the "set x=y" api, which calls the 
> "/lensapi/session/params" api on the server, which in turn calls 
> HiveSessionService - setSessionParameter method. Only config-driven way to 
> set these for the hive driver is by setting them in hivedriver-site.xml. This 
> seems to be a lens limitation. Only "lens.session.aux.jars" can be set. 
> Similarly we should be able to set "lens.session.params" with a list of 
> comma-seperated key-value pairs as well. Also this, along with 
> lens.session.aux.jars should be settable via a lens-cli config (not just 
> server-side)



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

Reply via email to