You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by ch huang <ju...@gmail.com> on 2014/05/15 09:32:41 UTC

issue about Can not resolve hostname when export hbase table data

hi,mailist:

when i use export command to export hbase table ,i get the following info
,but i check each node /etc/hosts file ,the content is

cat /etc/hosts

192.168.11.11 ch11
192.168.11.10 ch10
192.168.11.12 ch12
192.168.11.13 ch13
192.168.11.14 ch14
192.168.11.15 ch15
192.168.11.18 ch18
192.168.11.20 jx20
192.168.11.21 jx21
192.168.11.22 jx22
192.168.11.23 jx23
192.168.11.24 jx24

14/05/15 15:26:27 DEBUG mapreduce.TableInputFormatBase: getSplits: split ->
3 ->
ch10:2-F9150DB8A200991BCCA59B5D4E554181,5-4CADC2D36D29C78C84BB33B9410382CA
14/05/15 15:26:27 ERROR mapreduce.TableInputFormatBase: Cannot resolve the
host name for /192.168.11.10 because of
javax.naming.CommunicationException: DNS error [Root exception is
java.net.PortUnreachableException: ICMP Port Unreachable]; remaining name
'10.11.168.192.in-addr.arpa'
14/05/15 15:26:27 DEBUG mapreduce.TableInputFormatBase: getSplits: split ->
4 ->
ch10:5-4CADC2D36D29C78C84BB33B9410382CA,5-F1D26F3E0DAEC10AE87E3073B269F3A0
14/05/15 15:26:27 ERROR mapreduce.TableInputFormatBase: Cannot resolve the
host name for /192.168.11.12 because of
javax.naming.CommunicationException: DNS error [Root exception is
java.net.PortUnreachableException: ICMP Port Unreachable]; remaining name
'12.11.168.192.in-addr.arpa'
14/05/15 15:26:27 DEBUG mapreduce.TableInputFormatBase: getSplits: split ->
5 ->
ch12:5-F1D26F3E0DAEC10AE87E3073B269F3A0,6-5434859F3A527A5BFBF0158C17BB42A0
14/05/15 15:26:27 ERROR mapreduce.TableInputFormatBase: Cannot resolve the
host name for /192.168.11.12 because of
javax.naming.CommunicationException: DNS error [Root exception is
java.net.PortUnreachableException: ICMP Port Unreachable]; remaining name
'12.11.168.192.in-addr.arpa'
14/05/15 15:26:27 DEBUG mapreduce.TableInputFormatBase: getSplits: split ->
6 ->
ch12:6-5434859F3A527A5BFBF0158C17BB42A0,6-B6C1C0EE1DE497780C984F858F135E6C
14/05/15 15:26:27 ERROR mapreduce.TableInputFormatBase: Cannot resolve the
host name for /192.168.11.15 because of
javax.naming.CommunicationException: DNS error [Root exception is
java.net.PortUnreachableException: ICMP Port Unreachable]; remaining name
'15.11.168.192.in-addr.arpa'
14/05/15 15:26:27 DEBUG mapreduce.TableInputFormatBase: getSplits: split ->
7 ->
ch15:6-B6C1C0EE1DE497780C984F858F135E6C,7-88E4BCDEDD6A45E6D033798EACFDB5AF
14/05/15 15:26:27 ERROR mapreduce.TableInputFormatBase: Cannot resolve the
host name for /192.168.11.15 because of
javax.naming.CommunicationException: DNS error [Root exception is
java.net.PortUnreachableException: ICMP Port Unreachable]; remaining name
'15.11.168.192.in-addr.arpa'
14/05/15 15:26:27 DEBUG mapreduce.TableInputFormatBase: getSplits: split ->
8 ->
ch15:7-88E4BCDEDD6A45E6D033798EACFDB5AF,8-5AF0AB80D26C8D38C43B49322508C7AC
14/05/15 15:26:27 ERROR mapreduce.TableInputFormatBase: Cannot resolve the
host name for /192.168.11.10 because of
javax.naming.CommunicationException: DNS error [Root exception is
java.net.PortUnreachableException: ICMP Port Unreachable]; remaining name
'10.11.168.192.in-addr.arpa'

Re: issue about Can not resolve hostname when export hbase table data

Posted by Jean-Marc Spaggiari <je...@spaggiari.org>.
Hi,

Do you have this hosts file on all your hosts?

also, what is the content of your /etc/nsswitch.conf file?


2014-05-15 3:32 GMT-04:00 ch huang <ju...@gmail.com>:

> hi,mailist:
>
> when i use export command to export hbase table ,i get the following info
> ,but i check each node /etc/hosts file ,the content is
>
> cat /etc/hosts
>
> 192.168.11.11 ch11
> 192.168.11.10 ch10
> 192.168.11.12 ch12
> 192.168.11.13 ch13
> 192.168.11.14 ch14
> 192.168.11.15 ch15
> 192.168.11.18 ch18
> 192.168.11.20 jx20
> 192.168.11.21 jx21
> 192.168.11.22 jx22
> 192.168.11.23 jx23
> 192.168.11.24 jx24
>
> 14/05/15 15:26:27 DEBUG mapreduce.TableInputFormatBase: getSplits: split ->
> 3 ->
> ch10:2-F9150DB8A200991BCCA59B5D4E554181,5-4CADC2D36D29C78C84BB33B9410382CA
> 14/05/15 15:26:27 ERROR mapreduce.TableInputFormatBase: Cannot resolve the
> host name for /192.168.11.10 because of
> javax.naming.CommunicationException: DNS error [Root exception is
> java.net.PortUnreachableException: ICMP Port Unreachable]; remaining name
> '10.11.168.192.in-addr.arpa'
> 14/05/15 15:26:27 DEBUG mapreduce.TableInputFormatBase: getSplits: split ->
> 4 ->
> ch10:5-4CADC2D36D29C78C84BB33B9410382CA,5-F1D26F3E0DAEC10AE87E3073B269F3A0
> 14/05/15 15:26:27 ERROR mapreduce.TableInputFormatBase: Cannot resolve the
> host name for /192.168.11.12 because of
> javax.naming.CommunicationException: DNS error [Root exception is
> java.net.PortUnreachableException: ICMP Port Unreachable]; remaining name
> '12.11.168.192.in-addr.arpa'
> 14/05/15 15:26:27 DEBUG mapreduce.TableInputFormatBase: getSplits: split ->
> 5 ->
> ch12:5-F1D26F3E0DAEC10AE87E3073B269F3A0,6-5434859F3A527A5BFBF0158C17BB42A0
> 14/05/15 15:26:27 ERROR mapreduce.TableInputFormatBase: Cannot resolve the
> host name for /192.168.11.12 because of
> javax.naming.CommunicationException: DNS error [Root exception is
> java.net.PortUnreachableException: ICMP Port Unreachable]; remaining name
> '12.11.168.192.in-addr.arpa'
> 14/05/15 15:26:27 DEBUG mapreduce.TableInputFormatBase: getSplits: split ->
> 6 ->
> ch12:6-5434859F3A527A5BFBF0158C17BB42A0,6-B6C1C0EE1DE497780C984F858F135E6C
> 14/05/15 15:26:27 ERROR mapreduce.TableInputFormatBase: Cannot resolve the
> host name for /192.168.11.15 because of
> javax.naming.CommunicationException: DNS error [Root exception is
> java.net.PortUnreachableException: ICMP Port Unreachable]; remaining name
> '15.11.168.192.in-addr.arpa'
> 14/05/15 15:26:27 DEBUG mapreduce.TableInputFormatBase: getSplits: split ->
> 7 ->
> ch15:6-B6C1C0EE1DE497780C984F858F135E6C,7-88E4BCDEDD6A45E6D033798EACFDB5AF
> 14/05/15 15:26:27 ERROR mapreduce.TableInputFormatBase: Cannot resolve the
> host name for /192.168.11.15 because of
> javax.naming.CommunicationException: DNS error [Root exception is
> java.net.PortUnreachableException: ICMP Port Unreachable]; remaining name
> '15.11.168.192.in-addr.arpa'
> 14/05/15 15:26:27 DEBUG mapreduce.TableInputFormatBase: getSplits: split ->
> 8 ->
> ch15:7-88E4BCDEDD6A45E6D033798EACFDB5AF,8-5AF0AB80D26C8D38C43B49322508C7AC
> 14/05/15 15:26:27 ERROR mapreduce.TableInputFormatBase: Cannot resolve the
> host name for /192.168.11.10 because of
> javax.naming.CommunicationException: DNS error [Root exception is
> java.net.PortUnreachableException: ICMP Port Unreachable]; remaining name
> '10.11.168.192.in-addr.arpa'
>