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 (...
链接可能会断开,因此建议将相关部分添加到答案中(除了链接) –