mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
add tip
This commit is contained in:
parent
2c81a3f98b
commit
ec7d152549
1 changed files with 15 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ public class InstallInterpreter {
|
|||
|
||||
private void readAvailableInterpreters() throws IOException {
|
||||
if (!interpreterListFile.isFile()) {
|
||||
System.err.print("Can't find interpreter list " + interpreterListFile.getAbsolutePath());
|
||||
System.err.println("Can't find interpreter list " + interpreterListFile.getAbsolutePath());
|
||||
return;
|
||||
}
|
||||
String text = FileUtils.readFileToString(interpreterListFile);
|
||||
|
|
@ -234,9 +234,23 @@ public class InstallInterpreter {
|
|||
if (names != null) {
|
||||
if (artifacts != null) {
|
||||
installer.install(names.split(","), artifacts.split(","));
|
||||
configurationTip();
|
||||
interpreterSettingTip();
|
||||
} else {
|
||||
installer.install(names.split(","));
|
||||
interpreterSettingTip();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private static void configurationTip() {
|
||||
System.out.println("Add interpreter class name to '"
|
||||
+ ZeppelinConfiguration.ConfVars.ZEPPELIN_INTERPRETERS.getVarName() + "' property "
|
||||
+ "in your conf/zeppelin-site.xml file");
|
||||
}
|
||||
|
||||
private static void interpreterSettingTip() {
|
||||
System.out.println("Create interpreter setting in 'Interpreter' menu on GUI."
|
||||
+ "And then you can bind interpreter to your notebook to use");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue