[jira] [Created] (ZEPPELIN-1422) fix InterpreterProperty equals methods, add null check

2016-09-09 Thread Weichen Xu (JIRA)
Weichen Xu created ZEPPELIN-1422:


 Summary: fix InterpreterProperty equals methods, add null check
 Key: ZEPPELIN-1422
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1422
 Project: Zeppelin
  Issue Type: Bug
  Components: zeppelin-interpreter
Affects Versions: 0.7.0
Reporter: Weichen Xu


there is a small bug that `InterpreterProperty.equals` do not check `null`.
jdk lib request the `null` check otherwise it has the risk causing java 
collections operation throw exception.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (ZEPPELIN-1391) print error while existing registedInterpreter with the same key but different settings

2016-08-29 Thread Weichen Xu (JIRA)
Weichen Xu created ZEPPELIN-1391:


 Summary: print error while existing registedInterpreter with the 
same key but different settings
 Key: ZEPPELIN-1391
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1391
 Project: Zeppelin
  Issue Type: Bug
  Components: Interpreters
Reporter: Weichen Xu


In `Interpreter.register`,
we should check the case in which registeredInterpreter's key already exists, 
but the old interpreter has different settings, and print error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (ZEPPELIN-1383) remove SparkInterpreter.getSystemDefault and update relative code

2016-08-27 Thread Weichen Xu (JIRA)
Weichen Xu created ZEPPELIN-1383:


 Summary: remove SparkInterpreter.getSystemDefault and update 
relative code
 Key: ZEPPELIN-1383
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1383
 Project: Zeppelin
  Issue Type: Improvement
  Components: Interpreters, r-interpreter
Affects Versions: 0.7.0
Reporter: Weichen Xu


As the TODO in `InterpreterProperty` says,
we should remove `SparkInterpreter.getSystemDefault` methods,
because it can be replaced with `InterpreterProperty.getValue`
so that we can remove redundant code.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (ZEPPELIN-1302) RInterpreter props initial error, when calling getSystemDefault

2016-08-06 Thread Weichen Xu (JIRA)
Weichen Xu created ZEPPELIN-1302:


 Summary: RInterpreter props initial error, when calling 
getSystemDefault
 Key: ZEPPELIN-1302
 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1302
 Project: Zeppelin
  Issue Type: Bug
Reporter: Weichen Xu


In RInterpreter, when initialize props, calling getSystemDefault pass wrong 
parameter order.
it should be 
SparkInterpreter.getSystemDefault(envName, propName, defaultValue) 
but the code here is
SparkInterpreter.getSystemDefault(propName, envName, defaultValue) 

and, the rhadoop.sparkstreamingjar props name is also wrong (in code use 
rhadoop.cmd) 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)