Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # user - Could not resolve the DNS name of unknown


Copy link to this message
-
Re: Could not resolve the DNS name of unknown
Shrijeet Paliwal 2011-10-20, 23:43
Look for a DNS /etc/hosts related suggestion mentioned here :
http://search-hadoop.com/m/N45fnRFrG12
also here http://ria101.wordpress.com/2010/01/28/setup-hbase-in-pseudo-distributed-mode-and-connect-java-client/
Also clean up data from zookeeper if needed and do a restart of
services , zookkper directory is here usually :
${hbase.tmp.dir}/zookeeper
PS: This issues has been reported bunch of times. Look deeper in
mailing archives for changes required in /etc/hosts to get standalone
hbase running.

On Thu, Oct 20, 2011 at 2:24 PM, Jignesh Patel <[EMAIL PROTECTED]> wrote:
>
> Shrijeet
> I have tried to take help from Mac group and their respond.
>
> "An app you wrote, or somebody else's app?
> I'm not sure exactly how you want us to help, unknowne4ce8f3898fc is indeed
> an invalid hostname."
>
> According to them it seems this is a app problem, but I haven' changed
> anything and my zookeeper recognizes the IP.
>
> 2011-10-20 14:19:04,736 DEBUG org.apache.hadoop.hbase.zookeeper.ZKAssign:
> master:49232-0x133228e8a8f0000 Successfully deleted unassigned node for
> region 70236052 in expected state RS_ZK_REGION_OPENED
> 2011-10-20 14:19:04,737 DEBUG
> org.apache.hadoop.hbase.master.handler.OpenedRegionHandler: Opened region
> -ROOT-,,0.70236052 on 1*92.168.1.120*,49235,1319134727150
> 2011-10-20 14:19:04,846 ERROR org.apache.hadoop.hbase.HServerAddress: Could
> not resolve the DNS name of *unknowne4ce8f3898fc*
> 2011-10-20 14:19:04,847 FATAL org.apache.hadoop.hbase.master.HMaster:
> Unhandled exception. Starting shutdown.
> java.lang.IllegalArgumentException: hostname can't be null
>
> So while I am researching with them, I post their response so that if
> somebody encounter same problem can direct me.
>
> -Jignesh
> On Thu, Oct 20, 2011 at 2:54 PM, Shrijeet Paliwal
> <[EMAIL PROTECTED]>wrote:
>
> > Jignesh,
> > This
> >
> > http://search-hadoop.com/?q=hbase+dns&fc_project=HBase&fc_type=mail+_hash_+user
> > and
> > this
> > http://www.plus.net/support/software/dns/changing_dns_mac.shtml
> >
> > As Stack pointed out in other thread , you can find mac OS communities more
> > helpful for some of your how-toes.
> >
> > -Shrijeet
> >
> > On Thu, Oct 20, 2011 at 11:47 AM, Jignesh Patel <[EMAIL PROTECTED]
> > >wrote:
> >
> > > Thanks Stack,
> > >
> > > Is there any link I can refer for that? I am using Lion OS x. Google
> > > doesn't
> > > help me much for this.
> > >
> > > -Jignesh
> > >
> > > On Thu, Oct 20, 2011 at 12:05 PM, Stack <[EMAIL PROTECTED]> wrote:
> > >
> > > > Fix your DNS, name resolving.
> > > > St.Ack
> > > >
> > > > On Thu, Oct 20, 2011 at 9:02 AM, Jignesh Patel <
> > [EMAIL PROTECTED]>
> > > > wrote:
> > > > > Hbase was working till yesterday but I am seeing following error
> > today.
> > > > >
> > > > > 2011-10-20 11:52:02,329 ERROR org.apache.hadoop.hbase.HServerAddress:
> > > > Could
> > > > > not resolve the DNS name of unknowne4ce8f3898fc
> > > > > 2011-10-20 11:52:02,329 FATAL org.apache.hadoop.hbase.master.HMaster:
> > > > > Unhandled exception. Starting shutdown.
> > > > > java.lang.IllegalArgumentException: hostname can't be null
> > > > > at java.net.InetSocketAddress.<init>(InetSocketAddress.java:121)
> > > > > at
> > > > >
> > > >
> > >
> > org.apache.hadoop.hbase.HServerAddress.getResolvedAddress(HServerAddress.java:108)
> > > > > at
> > > org.apache.hadoop.hbase.HServerAddress.<init>(HServerAddress.java:64)
> > > > > at
> > > > >
> > > >
> > >
> > org.apache.hadoop.hbase.catalog.MetaReader.readLocation(MetaReader.java:339)
> > > > > at
> > > > >
> > > >
> > >
> > org.apache.hadoop.hbase.catalog.MetaReader.readMetaLocation(MetaReader.java:281)
> > > > > at
> > > > >
> > > >
> > >
> > org.apache.hadoop.hbase.catalog.CatalogTracker.getMetaServerConnection(CatalogTracker.java:282)
> > > > > at
> > > > >
> > > >
> > >
> > org.apache.hadoop.hbase.catalog.CatalogTracker.verifyMetaRegionLocation(CatalogTracker.java:488)
> > > > > at
> > > > >
> > > >
> > >
> > org.apache.hadoop.hbase.master.HMaster.assignRootAndMeta(HMaster.java:441)