我是这个领域的新手。我正在检查CDH 5.8快速启动VM以尝试一些基本的配置单元/ impala示例。Hive:如果没有运行HiveServer2,应用程序将无法运行
但是我遇到了一个问题,当我打开HUE时,它给出了以下错误。我搜索解决方案,但没有得到任何可以解决我的问题。
Configuration files located in /etc/hue/conf.empty
Potential misconfiguration detected. Fix and restart Hue.
Hive The application won't work without a running HiveServer2.
我检查了它,它运行了&。试图重新启动服务& CDH,没有帮助。
Hive Server2 is running [ OK ]
当导航到Hive尝试了一些命令,它给了我下面的错误。
Could not connect to quickstart.cloudera:10000 (code THRIFTTRANSPORT): TTransportException('Could not connect to quickstart.cloudera:10000',
)
FOR因帕拉我越来越
AnalysisException: This Impala daemon is not ready to accept user requests. Status: Waiting for catalog update from the StateStore
。
试图启动蜂巢--service metastore但遇到错误
[[email protected] conf.empty]$ hive --service metastore
2017-03-03 05:37:14,502 WARN [main] mapreduce.TableMapReduceUtil: The hbase-prefix-tree module jar containing PrefixTreeCodec is not present. Continuing without it.
Starting Hive Metastore Server
org.apache.thrift.transport.TTransportException: Could not create ServerSocket on address 0.0.0.0/0.0.0.0:9083.
不知道什么是错的,或者如果我需要更改一些配置。你能指导我解决问题吗?
我们应该寻找什么输出? – thebluephantom
@thebluephantom你应该看到一个记录,以防使用这个端口的情况。您将可以看到应用程序的PID。然后您可以使用ps命令来了解有关该应用程序的更多详细信息。你应该杀掉它并重新配置到另一个端口,或者你可以重新配置Hive Metastore来使用另一个端口 – Alex
我认为这可能是很多问题。我检查并发现在HDFS中导致安全模式的数据块丢失。由于Win 7上的蓝屏影响Linux VM,我清除了这个问题。那很好。 @Alex – thebluephantom