hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: DNS Exception while running TableMapper
Date Sat, 08 Feb 2014 14:51:30 GMT
Are you using single node deployment ?

Please configure DNS on the node. 

Cheers

On Feb 8, 2014, at 6:46 AM, yeshwanth kumar <yeshwanth43@gmail.com> wrote:

> hi
> 
> i am using hbase 94.10 and hadoop 1.2.1
> trying to run couple of map-reduce jobs on hbase by TableMapper,
> i am getting this exception
> 
> do i really need to configure DNS on local.?
> can someone help me with this issue.
> 
> Exception in thread "main" java.lang.NullPointerException
> at org.apache.hadoop.net.DNS.reverseDns(DNS.java:79)
> at
> org.apache.hadoop.hbase.mapreduce.TableInputFormatBase.reverseDNS(TableInputFormatBase.java:219)
> at
> org.apache.hadoop.hbase.mapreduce.TableInputFormatBase.getSplits(TableInputFormatBase.java:184)
> at org.apache.hadoop.mapred.JobClient.writeNewSplits(JobClient.java:1054)
> at org.apache.hadoop.mapred.JobClient.writeSplits(JobClient.java:1071)
> at org.apache.hadoop.mapred.JobClient.access$700(JobClient.java:179)
> at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:983)
> at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:936)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:415)
> at
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1190)
> at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:936)
> at org.apache.hadoop.mapreduce.Job.submit(Job.java:550)
> at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:580)
> at
> com.serendio.penton.hbase.mapping.DataScrubbingMR.main(DataScrubbingMR.java:233)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.apache.hadoop.util.RunJar.main(RunJar.java:160)
> 
> 
> Thanks,
> Yeshwanth

Mime
View raw message