update some text

This commit is contained in:
Lee moon soo 2016-06-21 14:04:57 -07:00
parent ec7d152549
commit 1b558fd145

View file

@ -107,7 +107,7 @@ public class InstallInterpreter {
public List<AvailableInterpreterInfo> list() {
for (AvailableInterpreterInfo info : availableInterpreters) {
System.out.println(info.name + "\t\t" + info.description);
System.out.println(info.name + "\t\t\t" + info.description);
}
return availableInterpreters;
@ -162,7 +162,7 @@ public class InstallInterpreter {
try {
depResolver.load(artifact, installDir);
System.out.println("Interpreter " + name + " installed under " +
installDir.getAbsolutePath());
installDir.getAbsolutePath() + ".");
} catch (RepositoryException e) {
e.printStackTrace();
} catch (IOException e) {
@ -176,7 +176,7 @@ public class InstallInterpreter {
System.out.println(" -a, --all Install all available interpreters");
System.out.println(" -n, --name [NAMES] Install interpreters (comma separated list)" +
"e.g. spark,md,shell");
System.out.println(" -t, --artifact [ARTIFACT] (Optional with -n) custom artifact names. " +
System.out.println(" -t, --artifact [ARTIFACTS] (Optional with -n) custom artifact names. " +
"(comma separated list correspond to --name) " +
"e.g. customGroup:customArtifact:customVersion");
}
@ -234,15 +234,21 @@ public class InstallInterpreter {
if (names != null) {
if (artifacts != null) {
installer.install(names.split(","), artifacts.split(","));
startTip();
configurationTip();
interpreterSettingTip();
} else {
installer.install(names.split(","));
startTip();
interpreterSettingTip();
}
}
}
private static void startTip() {
System.out.println("");
}
private static void configurationTip() {
System.out.println("Add interpreter class name to '"
+ ZeppelinConfiguration.ConfVars.ZEPPELIN_INTERPRETERS.getVarName() + "' property "
@ -251,6 +257,6 @@ public class InstallInterpreter {
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");
+ " And then you can bind interpreter on your notebook");
}
}