FAQ
Hi Benjamin,

I suspect you only added an HDFS Gateway role. You'll need to add one for
MapReduce. In fact, since MapReduce is a superset of HDFS configs, you
don't even need an HDFS Gateway role, just a MapReduce one.

You add it the same way you would for an HDFS Gateway role.

Thanks,

Brian Burton
Customer Operations Engineer, Cloudera

On Thu, Nov 29, 2012 at 3:10 PM, Benjamin Kim wrote:

Hi bc,

This is what I get.

hadoop-conf - status is auto.
link currently points to /etc/hadoop/conf.cloudera.mapreduce1
/etc/hadoop/conf.empty - priority 10
/etc/hadoop/conf.cloudera.hdfs1 - priority 90
/etc/hadoop/conf.cloudera.mapreduce1 - priority 91
Current `best' version is /etc/hadoop/conf.cloudera.mapreduce1.

It looks like Hive does not look in this directory. The mapped-site.xml
plus other config files are there.

How do I make Hive automatically look there? How do I find out where Hive
is looking?

Thanks,
Ben
On Thursday, November 29, 2012 11:51:38 AM UTC-8, bc Wong wrote:

Can you run `update-alternatives --display hadoop-conf' and tell me what
you see?

Cheers,
bc

On Thu, Nov 29, 2012 at 11:34 AM, Benjamin Kim wrote:

I noticed that when I want to deploy configuration changes to a Gateway
box that the mapped-site.xml does not get pushed to /etc/hadoop/conf/. Am I
missing something or is this the way it should be? I had to manually
download it from Client Configuration URLs and save it there. I noticed it
when using Hive to run a query. It kept doing a local mapreduce job. After
copying it over, it now uses the cluster.

Thanks,
Ben

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 4 of 10 | next ›
Discussion Overview
groupscm-users @
categorieshadoop
postedNov 29, '12 at 7:34p
activeNov 30, '12 at 12:49a
posts10
users3
websitecloudera.com
irc#hadoop

People

Translate

site design / logo © 2022 Grokbase