2017-08-16 52 views

回答

4

hive documentation看來,quit和exit執行完全相同的功能來退出配置單元CLI。

此外,根據source code這兩個命令在功能上是相同的。

if (cmd_trimmed.toLowerCase().equals("quit") || cmd_trimmed.toLowerCase().equals("exit")) { 

    // if we have come this far - either the previous commands 
    // are all successful or this is command line. in either case 
    // this counts as a successful run 
    ss.close(); 
    System.exit(0); 

} else if (... 
+0

鏈接可能會斷開,因此建議將相關部分添加到答案中(除了鏈接) –

相關問題