在Cygwin中运行配置单元时出现问题

在Cygwin中运行配置单元时出现问题,cygwin,hive,Cygwin,Hive,我按照以下步骤在Cygwin中配置Hive0.8.1。当输入Hive时,我将获得Hive CLI,因此配置单元已正确启动。但是,当在配置单元中运行任何命令时,它不会返回任何响应,并且该命令运行在一个无限循环中 如果我遗漏了什么,请帮忙 配置配置单元的步骤 配置单元文件夹的Chown 将配置单元文件夹的权限更改为755 将其设置为hive-site.xml 在hive-env.sh中更改以下内容: # Set HADOOP_HOME to point to a specific hadoop in

我按照以下步骤在Cygwin中配置Hive0.8.1。当输入Hive时,我将获得Hive CLI,因此配置单元已正确启动。但是,当在配置单元中运行任何命令时,它不会返回任何响应,并且该命令运行在一个无限循环中

如果我遗漏了什么,请帮忙

配置配置单元的步骤

配置单元文件夹的Chown 将配置单元文件夹的权限更改为755 将其设置为hive-site.xml

在hive-env.sh中更改以下内容:

# Set HADOOP_HOME to point to a specific hadoop install directory

#here instead of path what i have given you give your own path where hadoop #isthere
export HADOOP_HOME=/home/user/Hadoop/hadoop-0.20.205

# Hive Configuration Directory can be controlled by:

#here you specify the conf directory path of hive
export HIVE_CONF_DIR=/home/user/Hadoop/hive-0.8.1/conf

#Folder containing extra ibraries required for hive compilation/execution

#can be controlled by:

#here you specify the lib file directory, here you can specify the lib

我遇到了这个问题,我可以在启动所有hadoop deamons(如namenode、datanode、jobtracker和TaskTracker)后成功运行HIVE。并使用hive-f从文件运行查询,而不是直接在hive命令提示符下编写查询。您也可以使用bin/hive-e“SHOW TABLES”

了解如何再现这些信息会很有用,比如您使用的确切命令,包括输出,以及您如何知道它遇到了无限循环。我正在尝试在本地模式下运行,而我没有像NN、DN、JT和TT这样的hadoop deamons。我也面临同样的问题。我可以在cygwin上打开猪壳/咕噜壳和蜂巢壳,但当我键入一些东西时,它会以无限的外观出现,并有点挂起。我在这里添加了更多细节:请检查您是否提供了帮助。提前谢谢。
hadoop-0.20-core.jar
hive/lib/hive-exec-0.7.1.jar
hive/lib/hive-jdbc-0.7.1.jar
hive/lib/hive-metastore-0.7.1.jar
hive/lib/hive-service-0.7.1.jar
hive/lib/libfb303.jar
lib/commons-logging-1.0.4.jar
slf4j-api-1.6.1.jar
slf4j-log4j12-1.6.1.jar
# Set HADOOP_HOME to point to a specific hadoop install directory

#here instead of path what i have given you give your own path where hadoop #isthere
export HADOOP_HOME=/home/user/Hadoop/hadoop-0.20.205

# Hive Configuration Directory can be controlled by:

#here you specify the conf directory path of hive
export HIVE_CONF_DIR=/home/user/Hadoop/hive-0.8.1/conf

#Folder containing extra ibraries required for hive compilation/execution

#can be controlled by:

#here you specify the lib file directory, here you can specify the lib