我安装了spark 1.4.1版本,如果我private void executeCommand(String command) {
try {
Process proc = Runtime.getRuntime().exec(command);
BufferedReader in = new BufferedReader(new InputStreamReader(proc.getInputStream()));
proc.waitFor();
while (in.ready()) {
System.out.println(in.readLine());
}
} catch (Exception e) {
e.printStackTrace();
}
}
它安装了最新版本。如何升级到2.0?请帮忙!
答案 0 :(得分:0)