You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Raj Bains (JIRA)" <ji...@apache.org> on 2015/07/30 22:13:04 UTC
[jira] [Created] (ZEPPELIN-191) Parameterize Notebooks
Raj Bains created ZEPPELIN-191:
----------------------------------
Summary: Parameterize Notebooks
Key: ZEPPELIN-191
URL: https://issues.apache.org/jira/browse/ZEPPELIN-191
Project: Zeppelin
Issue Type: New Feature
Components: Core
Affects Versions: 0.6.0
Reporter: Raj Bains
We're writing notebooks to do some analysis, let's say for the query performance for a Hive query, by reading logs.
Now, this loads particular log files (maybe in .zip) associated with a query. Later, we want to run the same analysis on another similar set of log files. Rather than use having to change notebook code every time, it will be useful to have parameters to a notebook.
This will require some design work to figure out how exactly to do this (off-course this should work across interpreters)
The goal is for notebook to not look like this
{code}
var atsParser = new ATSFileParser(new File("/grid/4/home/rajesh/dag_1433813751839_0518_1.zip"));
var dagInfo = atsParser.getDAGData("dag_1433813751839_0520_1");
{code}
But rather,
{code}
var atsParser = new ATSFileParser(new File(${DagZipFile}));
var dagInfo = atsParser.getDAGData(${DagId});
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)