hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Marc Spaggiari <jean-m...@spaggiari.org>
Subject MapReduce vs hosts (Cannot resolve the host name)
Date Thu, 11 Oct 2012 13:17:36 GMT

I'm facing a small issue, most probably configuration related, that
I'm not able to solve.

I'm trying to run the rowcounter.

Here is the command line:
export HADOOP_HOME=/home/hadoop/hadoop-1.0.3/; export
HADOOP_CLASSPATH=`${HBASE_HOME}/bin/hbase classpath`
${HADOOP_HOME}/bin/hadoop jar ${HBASE_HOME}/hbase-0.94.0.jar
rowcounter work_proposed -Dhbase.client.scanner.cachi=10

I'm getting errors for each of my regions:
12/10/11 09:10:45 ERROR mapreduce.TableInputFormatBase: Cannot resolve
the host name for / because of
javax.naming.NameNotFoundException: DNS name not found [response code
3]; remaining name ''

I have 25 regions for this table, so I have 25 lines like that.

And then it's blocking at:
12/10/11 09:10:45 INFO mapred.JobClient: Running job: job_201209151131_0005
12/10/11 09:10:46 INFO mapred.JobClient:  map 0% reduce 0%

Here is an extract of my host file:    node5    node4    node3    node2    node1

Hadoop is working fine.
HBase is working fine.

If I try the shell and do a count, it's working fine.

If I try with bin/hbase org.apache.hadoop.hbase.mapreduce.RowCounter
work_proposed it's working fine, but it's doing the regions one by
one, and not in parallel. So it's very slow.

I can ping the nodes, by name or IPs, I can ssh them too.

Any idea where I can start to look at?



View raw message