Samuel Alexander created ZEPPELIN-331: -----------------------------------------
Summary: Scope of the variable with angular and zeppelin interpreter Key: ZEPPELIN-331 URL: https://issues.apache.org/jira/browse/ZEPPELIN-331 Project: Zeppelin Issue Type: Bug Components: Interpreters Affects Versions: 0.6.0 Environment: Zeppelin built from github, Spark1.5 and hadoop 2.4 Reporter: Samuel Alexander I want to get some values from angular JS to Spark. I tried using z.angular("variable_name"), it returns me null. But "%angular {{variable_name}} prints the value. But I can use the value returned "%angular {{variable_name}} as it just fetches the value and prints in notebook. When we do subString, it has the values as {{variable_name}}. I think while printing the value gets substituted. Since it can be used just for display I am not able to use it in spark paragraph. But in these links, https://github.com/apache/incubator-zeppelin/pull/27#issuecomment-90769401 and https://www.youtube.com/watch?v=QdjZyOkcG_w, Value of selectedTable is read using "z.angular("selectedTable")" in paragraph 3 and 4. So I tried the same sample in my zeppelin instance. In my local zeppelin the "selectedTable" is not passed to other paragraph. It is reflected only in angularJS paragraph. There is question in StackOverflow as well regarding the same. http://stackoverflow.com/questions/30709806/apache-zeppelin-scope-of-the-variable-with-angular-and-zeppelin-interpreter This seems to be a regression as it was working fine in demo video. -- This message was sent by Atlassian JIRA (v6.3.4#6332)