You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Rajat Khandelwal (JIRA)" <ji...@apache.org> on 2015/07/24 12:08:04 UTC

[jira] [Updated] (LENS-564) Add ability to set lens session params via config

     [ https://issues.apache.org/jira/browse/LENS-564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rajat Khandelwal updated LENS-564:
----------------------------------
    Affects Version/s: 2.2

> 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
>    Affects Versions: 2.2
>            Reporter: Angad Singh
>            Assignee: Amareshwari Sriramadasu
>             Fix For: 2.2
>
>
> 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)