mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
Do not use ruby 1.9 and do not bother setting paths
This commit is contained in:
parent
9924784ed6
commit
3efc892bb2
1 changed files with 0 additions and 4 deletions
|
|
@ -78,7 +78,6 @@ public class HbaseInterpreter extends Interpreter {
|
|||
this.scriptingContainer = new ScriptingContainer(LocalContextScope.SINGLETON);
|
||||
this.writer = new StringWriter();
|
||||
scriptingContainer.setOutput(this.writer);
|
||||
scriptingContainer.setCompatVersion(org.jruby.CompatVersion.RUBY1_9);
|
||||
|
||||
if (!Boolean.parseBoolean(getProperty("hbase.test.mode"))) {
|
||||
String hbase_home = getProperty("hbase.home");
|
||||
|
|
@ -94,9 +93,6 @@ public class HbaseInterpreter extends Interpreter {
|
|||
+ "'");
|
||||
}
|
||||
|
||||
List<String> paths = new ArrayList<>(Arrays.asList(abs_ruby_src.toAbsolutePath().toString()));
|
||||
this.scriptingContainer.setLoadPaths(paths);
|
||||
|
||||
logger.info("Absolute Ruby Source:" + abs_ruby_src.toString());
|
||||
// hirb.rb:41 requires the following system property to be set.
|
||||
Properties sysProps = System.getProperties();
|
||||
|
|
|
|||
Loading…
Reference in a new issue