简体   繁体   English

使用hadoop配置配置单元

[英]configure hive with hadoop

I have configured hadoop 2.2.0 as single node cluster ( was able to run example jar) 我已经将hadoop 2.2.0配置为单节点集群(能够运行示例jar)

Now I need to make hive perform queries using this hadoop 现在,我需要使用此hadoop使配置单元执行查询

should I set 我应该设置

mapred.job.tracker

to

yarn.resourcemanager.resource-tracker.address

property? 属性?

tried so, but can't see the data loaded into hive tables in hdfs 这样做了,但看不到HDFS中加载到Hive表中的数据

I don't have enough reputation points to add a comment, so trying to help via an answer. 我的信誉点不足,无法添加评论,因此尝试通过答案提供帮助。

  1. What are the daemons currently running for Hadoop? Hadoop当前正在运行哪些守护程序? Use ps -eaf | 使用ps -eaf | grep "java" to check. grep“ java”进行检查。
  2. Do you see the JobTracker running or the ResourceManager? 您看到JobTracker正在运行还是ResourceManager?

Also, can you elaborate on the steps you performed to install Hive? 另外,您能否详细说明安装Hive的步骤?

I have screen cast, Installing Apache Hive that walks you through installing Hive. 我进行了屏幕投射, 安装Apache Hive ,它引导您完成安装Hive。 Next, you can follow my blog post Apache Hive - Getting Started . 接下来,您可以关注我的博客文章Apache Hive-入门 Hope this helps. 希望这可以帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM