Try making it resolve temporarily by adding it to your /etc/hosts.
St.Ack

On Fri, Oct 21, 2011 at 12:54 PM, Jignesh Patel <[email protected]> wrote:
> When I start the hbase first time I always see following error.
>
> ERROR: java.lang.reflect.UndeclaredThrowableException: Call to
> 192.168.1.120/192.168.1.120:49188 failed on local exception:
> java.io.EOFException
>
> but my log file shows
>
> 2011-10-21 15:45:21,772 ERROR org.apache.hadoop.hbase.HServerAddress: Could
> not resolve the DNS name of unknowne4ce8f3898fc
> 2011-10-21 15:45:21,773 FATAL org.apache.hadoop.hbase.master.HMaster:
> Unhandled exception. Starting shutdown.
> java.lang.IllegalArgumentException: hostname can't be null
>
> How to debug this. Even by searching in the old email it says there was a
> bug in 0.90 which is fixed. I am not able to get anything more.
>
> -Jignesh
> On Fri, Oct 21, 2011 at 1:58 PM, Jignesh Patel <[email protected]>wrote:
>
>> I have clean up the zookeeper and it seems my computer name is also changed
>> today as setting of dynamic ip.
>>
>> Jignesh-MacBookPro:hadoop hadoop-user$ hostname
>> Jignesh-MacBookPro.local
>>
>> But I still have old error
>>
>> Could not resolve the DNS name of *unknowne4ce8f3898fc*
>>
>> Why would HServerAddress get old name, instead of taking the latest one.
>>
>> According to the following article, it advise us to refrain from adding
>> hardcoded  name as hadoop is efficient to pickup the appropriate DNS name.
>>
>> http://wiki.datameer.com/display/DAS1/Hadoop+Cluster+Configuration+Tips
>>
>> On Thu, Oct 20, 2011 at 7:43 PM, Shrijeet Paliwal <[email protected]
>> > wrote:
>>
>>> 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)
>>> > > > > > at
>>> > > > > >
>>> > > > >
>>> > > >
>>> > >
>>> org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:388)
>>> > > > > > at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:282)
>>> > > > > > at
>>> > > > > >
>>> > > > >
>>> > > >
>>> > >
>>> org.apache.hadoop.hbase.master.HMasterCommandLine$LocalHMaster.run(HMasterCommandLine.java:193)
>>> > > > > > at java.lang.Thread.run(Thread.java:680)
>>> > > > > >
>>> > > > >
>>> > > >
>>> > >
>>>
>>
>>
>

Reply via email to