mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
Log absolute path of ruby source
This commit is contained in:
parent
69755ad7b3
commit
9924784ed6
1 changed files with 2 additions and 1 deletions
|
|
@ -97,10 +97,11 @@ 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();
|
||||
sysProps.setProperty("hbase.ruby.sources", abs_ruby_src.toString());
|
||||
|
||||
|
||||
Path abs_hirb_path = Paths.get(hbase_home, "bin/hirb.rb");
|
||||
try {
|
||||
FileInputStream fis = new FileInputStream(abs_hirb_path.toFile());
|
||||
|
|
|
|||
Loading…
Reference in a new issue