Hi guys,
I am struggling a bit to make Hive submit it's MR jobs to a remote
Hadoop cluster. According to the documentation that should be possible
but it seems that's not really the case, at least not when we are
talking about Hadoop 2.
I am trying to connect Hive 0.13 to Hadoop 2.4.0. Please find attached
my hive-site xml.
In short I am telling it, using the mapred.job.tracker property where my
rm manager is. I know that mapred.job.tracker no longer exists in Hadoop
2, but it seems that hive still uses the old property.
<property>
<name>mapred.job.tracker</name>
<value>hadoop-rm.mo-data.com:8032</value>
</property>
Can you guys share some tips or info, if any of you have had success
connecting Hive 0.13 to Hadoop 2. Basically any version of hive to
hadoop2. I am using vanila versions of both Hive and Hadoop.
Regards,
Peter
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<configuration>
<property>
<name>yarn.resourcemanager.hostname</name>
<value>hadoop-rm.mo-data.com</value>
</property>
<property>
<name>yarn.web-proxy.address</name>
<value>hadoop-ps.mo-data.com:8080</value>
</property>
<property>
<name>yarn.timeline-service.hostname</name>
<value>hadoop-jh.mo-data.com</value>
<description>The hostname of the Timeline service web application.</description>
</property>
<property>
<name>mapred.job.tracker</name>
<value>hadoop-rm.mo-data.com:8032</value>
</property>
<property>
<name>mapreduce.jobhistory.address</name>
<value>hadoop-jh.mo-data.com:10200</value>
</property>
<property>
<name>fs.defaultFS</name>
<value>hdfs://hadoop-nn.mo-data.com:9000/</value>
</property>
<property>
<name>hdfs.root</name>
<value>hdfs://hadoop-nn.mo-data.com:9000/</value>
</property>
<property>
<name>hbase.zookeeper.quorum</name>
<value>hadoop-hb</value>
</property>
<property>
<name>hbase.zookeeper.property.clientPort</name>
<value>2181</value>
</property>
<property>
<name>hbase.master</name>
<value>hadoop-hb:60000</value>
</property>
</configuration>