Hey manu which linux distribution you are using??

On Thu, Jun 7, 2012 at 8:18 PM, Manu S <manupk...@gmail.com> wrote:

> Thank you Harsh & Shashwat
>
> I given the hostname in /etc/sysconfig/network as pseudo-distributed.
> hostname command returns this name also. I added this name in /etc/hosts
> file and changed all the configuration accordingly. But zookeeper is trying
> to resolve to localhost.localdomain. There was no entries in any conf files
> or hostname related files for localhost.localdomain.
>
> Yea, everything is pinging as I given the names in /etc/hosts.
>
> On Thu, Jun 7, 2012 at 7:13 PM, shashwat shriparv <
> dwivedishash...@gmail.com
> > wrote:
>
> > Are you able ping to
> >
> > yourpcipaddress
> > domainnameyougaveformachine
> > hostnameofthemachine
> >
> >
> > Hbase stops means its not able to start itself on the ip or hostname
> which
> > you are giving.....
> >
> >
> > On Thu, Jun 7, 2012 at 2:48 PM, Manu S <manupk...@gmail.com> wrote:
> >
> > > Hi All,
> > >
> > > In pseudo distributed node HBaseMaster is stopping automatically when
> we
> > > starts HbaseRegion.
> > >
> > > I have changed all the configuration files of Hadoop,Hbase & Zookeeper
> to
> > > set the exact hostname of the machine. Also commented the localhost
> entry
> > > from /etc/hosts & cleared the cache as well. There is no entry of
> > > localhost.localdomain entry in these configurations, but this it is
> > > resolving to localhost.localdomain.
> > >
> > > Please find the error:
> > > 2012-06-07 12:13:11,995 INFO
> > > org.apache.hadoop.hbase.master.MasterFileSystem: No logs to split
> > > *2012-06-07 12:13:12,103 ERROR org.apache.hadoop.hbase.HServerAddress:
> > > Could not resolve the DNS name of localhost.localdomain
> > > 2012-06-07 12:13:12,104 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.zookeeper.RootRegionTracker.dataToHServerAddress(RootRegionTracker.java:82)
> > >        at
> > >
> > >
> >
> org.apache.hadoop.hbase.zookeeper.RootRegionTracker.waitRootRegionLocation(RootRegionTracker.java:73)
> > >        at
> > >
> > >
> >
> org.apache.hadoop.hbase.catalog.CatalogTracker.waitForRoot(CatalogTracker.java:222)
> > >        at
> > >
> > >
> >
> org.apache.hadoop.hbase.catalog.CatalogTracker.waitForRootServerConnection(CatalogTracker.java:240)
> > >        at
> > >
> > >
> >
> org.apache.hadoop.hbase.catalog.CatalogTracker.verifyRootRegionLocation(CatalogTracker.java:487)
> > >        at
> > >
> >
> org.apache.hadoop.hbase.master.HMaster.assignRootAndMeta(HMaster.java:455)
> > >        at
> > >
> > >
> >
> org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:406)
> > >        at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:293)
> > > 2012-06-07 12:13:12,106 INFO org.apache.hadoop.hbase.master.HMaster:
> > > Aborting
> > > 2012-06-07 12:13:12,106 DEBUG org.apache.hadoop.hbase.master.HMaster:
> > > Stopping service threads
> > >
> > > Thanks,
> > > Manu S
> > >
> >
> >
> >
> > --
> >
> >
> > ∞
> > Shashwat Shriparv
> >
>



-- 


∞
Shashwat Shriparv

Reply via email to