2017-08-16 50 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

链接可能会断开,因此建议将相关部分添加到答案中(除了链接) –

相关问题