Uh oh!
There was an error while loading. Please reload this page.
ZEPPELIN-46: set only non-empty values for for spark.* properties - #38
ZEPPELIN-46: set only non-empty values for for spark.* properties#38bzz wants to merge 11 commits into
Conversation
bzz
commented
Apr 16, 2015
So far this does not have any tests. |
jongyoul
commented
Apr 16, 2015
@bzz Simply add this test in SparkInterpreterTest.java |
jongyoul
commented
Apr 16, 2015
@bzz My test is not perfect. I'll change it |
jongyoul
commented
Apr 16, 2015
There was a problem hiding this comment.
what about if val is whitespace? eg. " "
There was a problem hiding this comment.
@felixcheung trim() will make whitespace removed. Tests case is not covered all of cases. I make a PR of @bzz and he will fix this.
There was a problem hiding this comment.
Then val.trim().isEmpty() is true, so it will be set for any property, that does not start with "spark." (i.e whitespace as a password)
- Fixed styles - Fixed some test cases
- Fixed unused imports
[ZEPPELIN-46] Some spark env must have a valid value
There was a problem hiding this comment.
@bzz Sorry, I didn't reformat this. This needs one space between 'if' and '('.
bzz
commented
Apr 17, 2015
Ready to merge |
felixcheung
commented
Apr 17, 2015
LGTM |
syepes
commented
Apr 17, 2015
I have just applied this patch and there still seems to be an issue. |
Leemoonsoo
commented
Apr 19, 2015
bzz
commented
Apr 20, 2015
Merging if there is no discussion |


https://issues.apache.org/jira/browse/ZEPPELIN-46