Uh oh!
There was an error while loading. Please reload this page.
ZEPPELIN-440 HiveInterpreter with multiple configuration - #455
Conversation
Leemoonsoo
commented
Nov 21, 2015
Like the idea about '('. |
jongyoul
commented
Nov 22, 2015
@Leemoonsoo Thanks. If you have any new or more Zeppelinous idea for specifying properties, feel free to talk. I'll make it pass to CI and add docs for this function. |
felixcheung
commented
Nov 22, 2015
It's nice. Would it be possible to make the interpreter group/name fully customizable? |
Leemoonsoo
commented
Nov 22, 2015
User can multiple settings (profiles) for an interpreter, in spark-dev settings can be made for the same %spark interpreter. Current restriction is, only one interpreter setting can be used in the single notebook, in the same time. If we use %[setting name] for selecting interpreter, Pros:
Cons:
I think, in the future, we need to invent some way to allow all 'settings' being used in the same notebook at the same time, without having Cons that i mentioned above. Until that time, I think this approach could be useful. |
felixcheung
commented
Nov 23, 2015
Good point - maybe we should save settings with notebook to make it portable? |
jongyoul
commented
Nov 23, 2015
@felixcheung First time, I also try to run interpreter by %{setting name}, but ... If it's possible to make notebook portable with settings, %{setting name} would be better. |
jongyoul
commented
Nov 23, 2015
trigger the CI again |
jongyoul
commented
Nov 23, 2015
travis fails while downloading dependencies |
jongyoul
commented
Nov 23, 2015
jongyoul
commented
Nov 23, 2015
@Leemoonsoo Could you please check the travis log? I think this is about ZeppelinSparkClusterTest. Do you have any idea? |
jongyoul
commented
Nov 24, 2015
this failure depends on #468 |
jongyoul
commented
Nov 25, 2015
I revised HiveInterpreter.executeSql from PostgresSqlInterpreter.executeSql. I think that would be more general way to implement |
jongyoul
commented
Nov 26, 2015
@Leemoonsoo@felixcheung Please review this PR, again. I've almost done. Additionally, @Leemoonsoo, after review, can I try to merge this PR into apache master branch by myself? If it's possible, could you please tell me a procedure for it? |
bzz
commented
Nov 26, 2015
@jongyoul merge a PR is very simple, you just:
|
Leemoonsoo
commented
Nov 26, 2015
About merging, you can use dev/merge_zeppelin_pr.py script. I suggest clone zeppelin git repo into separate dir (separate from development) and then you'll need to add remote repo 'apache' and 'apache-github' to use this script. Once it's done, just run dev/merge_zeppelin_pr.py will guide you merge the pull request. |
There was a problem hiding this comment.
What do you think, does horizontal alignment makes it more readable or just makes it longer?
According to the styleguide Zeppelin project uses - it is never required and has some cons https://google.github.io/styleguide/javaguide.html#s4.6.3-horizontal-alignment
There was a problem hiding this comment.
Basically, I think it doesn't need except when that one line violates the maximum number of columns. I'll fix this, too.
bzz
commented
Nov 26, 2015
👍 for test and docs! |
jongyoul
commented
Nov 27, 2015
@bzz Could you please verify this finally? |
There was a problem hiding this comment.
also use this relative path for the link (url has changed for multiple releases)../manual/dynamicform.html
There was a problem hiding this comment.
Or {{BASE_PATH}}/manual/dynamicform.html would work
Leemoonsoo
commented
Nov 30, 2015
You maybe also want to change a link https://github.com/apache/incubator-zeppelin/blob/master/docs/_includes/themes/zeppelin/_navigation.html#L41 |
- Enable multiple connection properties
- Revert log4j.properties
- Remove commented codes - Fixed license part
- Fixed linefeed to variable
- Fixed some tests
- Fixed getScriptBody return after trimming
- Restored some tests from the beginning
- Restored ParallelScheduler from FIFOScheduler
- Revised executeSql from Postgresql.executeSql
- Fixed test case to be more general
- Fixed test case to be more general
- Updated docs for hive
- Fixed Apaceh license header - Fixed some codestyle - Removed unused codes and classes
- Fixed typos on docs
- Rebased and fixed links of docs
jongyoul
commented
Nov 30, 2015
@Leemoonsoo I've rebased and fixed it |
jongyoul
commented
Dec 1, 2015
Merging if there is no more discussion. |

This PR enable HiveInterpreter to configure several connection information. For using specific configurations, you should use some tricks like
%hive(configuration_prefix). without it, you can use default settings starting withdefault.