Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> HBase MasterNotRunningException


Copy link to this message
-
Re: HBase MasterNotRunningException
If possible, try to run netstat as sudo.
On Thu, Aug 30, 2012 at 11:21 AM, anil gupta <[EMAIL PROTECTED]> wrote:

> Can you also try to run telnet and netstat for port: 60030 and 60010 ? I
> dont see post 60030 and 60010 in the output of netstat. Did you configured
> some other ports for HBase Master?
>
> 2181 is the port of zookeeper.
>
>
> On Thu, Aug 30, 2012 at 8:45 AM, Jilani Shaik <[EMAIL PROTECTED]>wrote:
>
>> Hi Anil,
>>
>> Please see the below commands which I executed and respective outputs.
>>
>> on HBase and Hadoop box
>>
>> [rtit@localhost conf]$ netstat -alnp | grep 2181
>> (Not all processes could be identified, non-owned process info
>>  will not be shown, you would have to be root to see it all.)
>> tcp        0      0 :::2181                     :::*
>>  LISTEN      22572/java
>> tcp        0      0 ::ffff:192.265.47.222:2181
>>  ::ffff:192.265.47.222:60094
>> ESTABLISHED 22572/java
>> tcp        0      0 ::ffff:192.265.47.222:2181
>>  ::ffff:192.265.47.222:60117
>> ESTABLISHED 22572/java
>> tcp        0      0 ::ffff:192.265.47.222:2181
>>  ::ffff:192.265.47.222:60098
>> ESTABLISHED 22572/java
>> tcp        0      0 ::ffff:192.265.47.222:60098 ::ffff:192.265.47.222:2181
>>  ESTABLISHED 22642/java
>> tcp        0      0 ::ffff:192.265.47.222:60094 ::ffff:192.265.47.222:2181
>>  ESTABLISHED 22842/java
>> tcp        0      0 ::ffff:192.265.47.222:60117 ::ffff:192.265.47.222:2181
>>  ESTABLISHED 22842/java
>> tcp        0      0 ::ffff:192.265.47.222:60089 ::ffff:192.265.47.222:2181
>>  ESTABLISHED 22642/java
>> tcp        0      0 ::ffff:192.265.47.222:2181
>>  ::ffff:192.265.47.222:60089
>> ESTABLISHED 22572/java
>>
>>
>> [rtit@localhost conf]$ telnet localhost 2181
>> Trying 127.0.0.1...
>> Connected to localhost.
>> Escape character is '^]'.
>>
>>
>> Connection closed by foreign host.
>> [rtit@localhost conf]$
>>
>>
>> [rtit@localhost conf]$ telnet 192.265.47.222 2181
>> Trying 192.265.47.222...
>> Connected to 192.265.47.222.
>> Escape character is '^]'.
>>
>>
>> Connection closed by foreign host.
>> [rtit@localhost conf]$
>>
>>
>>
>> --> From the remote box
>> [rtit@RTIT-1 hbasedemos]$ telnet 192.265.47.222 2181
>> Trying 192.265.47.222...
>> Connected to 192.265.47.222.
>> Escape character is '^]'.
>>
>>
>> Connection closed by foreign host.
>> [rtit@RTIT-1 hbasedemos]$
>>
>>
>>
>>
>> On Thu, Aug 30, 2012 at 8:58 PM, anil gupta <[EMAIL PROTECTED]>
>> wrote:
>>
>> > Then, it might be a issue with port binding. try to do telnet on the
>> port
>> > to which HBase listens from localhost as well as remote machine.
>> > Also, try to run the netstat command and see the bindings of service.
>> >
>> > ~Anil
>> >
>> > On Thu, Aug 30, 2012 at 8:20 AM, Jilani Shaik <[EMAIL PROTECTED]>
>> > wrote:
>> >
>> > > Anil,
>> > >
>> > > Already I disabled firewall of linux using iptables service.
>> > >
>> > > Thank You,
>> > > Jilani
>> > >
>> > >
>> > > On Thu, Aug 30, 2012 at 8:35 PM, anil gupta <[EMAIL PROTECTED]>
>> > wrote:
>> > >
>> > > > Hi Jilani,
>> > > >
>> > > > It seems like a firewall issue. You will need to open appropriate
>> ports
>> > > or
>> > > > disable the firewall on the machine you are running the service.
>> > > >
>> > > > HTH,
>> > > > Anil
>> > > >
>> > > > On Thu, Aug 30, 2012 at 7:46 AM, Jilani Shaik <[EMAIL PROTECTED]
>> >
>> > > > wrote:
>> > > >
>> > > > > I am able to connect to HBase using Java client if the client is
>> on
>> > the
>> > > > > same box where Hadoop and HBase are installed. If the client is on
>> > > other
>> > > > > box either windows or linux, I am getting the error as below
>> > > > >
>> > > > > org.apache.zookeeper.server.NIOServerCnxn: Closed socket
>> connection
>> > for
>> > > > > client
>> > > > >
>> > > > > Please suggest me how to identify and fix the issue.
>> > > > >
>> > > > > Thank You,
>> > > > > Jilani
>> > > > >
>> > > > > On Thu, Aug 30, 2012 at 7:00 PM, Jilani Shaik <
>> [EMAIL PROTECTED]>
>> > > > > wrote:
>> > > > >
>> > > > > > Hi,

Thanks & Regards,
Anil Gupta
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB