Hive 在蜂巢中退出和退出有什么区别

Hive 在蜂巢中退出和退出有什么区别,hive,exit,Hive,Exit,当我退出配置单元时,“退出”和“退出”之间有什么区别吗?从中,似乎退出和退出执行与退出配置单元CLI完全相同的功能 此外,根据定义,这两个命令在功能上是相同的 if (cmd_trimmed.toLowerCase().equals("quit") || cmd_trimmed.toLowerCase().equals("exit")) { // if we have come this far - either the previous commands // are all suc

当我退出配置单元时,“退出”和“退出”之间有什么区别吗?

从中,似乎退出和退出执行与退出配置单元CLI完全相同的功能

此外,根据定义,这两个命令在功能上是相同的

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 (...

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