You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Angad Singh (JIRA)" <ji...@apache.org> on 2015/05/19 10:00:59 UTC

[jira] [Resolved] (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 ]

Angad Singh resolved LENS-564.
------------------------------
    Resolution: Not A Problem

> 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)