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
Please find the below conf files from both the hadoop and hbase conf.

core-site.xml

<configuration>
     <property>
        <name>hadoop.tmp.dir</name>
        <value>/home/rtit/hadoop/tmp</value>
     </property>
     <property>
         <name>fs.default.name</name>
         <value>hdfs://192.265.47.222:9000</value>
     </property>
</configuration>

hdfs-site.xml

<configuration>
<property>
    <name>dfs.name.dir</name>
    <value>/home/rtit/hadoop/hdfs-data-name</value>
  </property>
  <property>
    <name>dfs.data.dir</name>
    <value>/home/rtit/hadoop/hdfs-data</value>
  </property>
     <property>
         <name>dfs.replication</name>
         <value>1</value>
     </property>
</configuration>
hbase-site.xml

<configuration>
   <property>
        <name>hbase.cluster.distributed</name>
        <value>true</value>
   </property>
   <property>
        <name>hbase.rootdir</name>
        <value>hdfs://192.265.47.222:9000/hbase</value>
    </property>
    <property>
      <name>hbase.zookeeper.property.clientPort</name>
      <value>2181</value>
      <description>Property from ZooKeeper's config zoo.cfg.
      The port at which the clients will connect.
      </description>
    </property>
    <property>
      <name>hbase.zookeeper.quorum</name>
      <value>192.265.47.222</value>
      <description>Comma separated list of servers in the ZooKeeper Quorum.
      For example, "host1.mydomain.com,host2.mydomain.com,host3.mydomain.com
".
      By default this is set to localhost for local and pseudo-distributed
modes
      of operation. For a fully-distributed setup, this should be set to a
full
      list of ZooKeeper quorum servers. If HBASE_MANAGES_ZK is set in
hbase-env.sh
      this is the list of servers which we will start/stop ZooKeeper on.
      </description>
    </property>
  </configuration>
I did not get where is the port 60030 and 60010 will come.

Please find the netstat result below

[rtit@localhost conf]$ netstat -alnp | grep 900
(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 ::ffff:192.265.47.222:9000  :::*
 LISTEN      15680/java
tcp        0      0 ::ffff:127.0.0.1:9001       :::*
 LISTEN      16047/java
tcp        0      0 ::ffff:192.265.47.222:46092 ::ffff:192.265.47.222:9000
 TIME_WAIT   -
tcp        0      0 ::ffff:192.265.47.222:39922 ::ffff:192.265.47.222:9000
 ESTABLISHED 15821/java
tcp        0      0 ::ffff:127.0.0.1:9001       ::ffff:127.0.0.1:33317
 ESTABLISHED 16047/java
tcp        0      0 ::ffff:192.265.47.222:9000  ::ffff:192.265.47.222:39922
ESTABLISHED 15680/java
tcp        0      0 ::ffff:192.265.47.222:46084 ::ffff:192.265.47.222:9000
 TIME_WAIT   -
tcp        0      0 ::ffff:192.265.47.222:46089 ::ffff:192.265.47.222:9000
 TIME_WAIT   -
tcp        0      0 ::ffff:127.0.0.1:33317      ::ffff:127.0.0.1:9001
ESTABLISHED 16179/java
tcp        0      0 ::ffff:192.265.47.222:9000  ::ffff:192.265.47.222:46101
ESTABLISHED 15680/java
tcp        0      0 ::ffff:192.265.47.222:46101 ::ffff:192.265.47.222:9000
 ESTABLISHED 22842/java
[rtit@localhost conf]$ netstat -alnp | grep 600
(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 :::60010                    :::*
 LISTEN      22642/java
tcp        0      0 ::ffff:127.0.0.1:60020      :::*
 LISTEN      22842/java
tcp        0      0 :::60030                    :::*
 LISTEN      22842/java
tcp        0      0 ::ffff:127.0.0.1:60000      :::*
 LISTEN      22642/java
tcp        0      0 ::ffff:192.265.47.222:60010 ::ffff:192.265.47.216:49870
ESTABLISHED 22642/java
tcp        0      0 ::ffff:192.265.47.222:2181  ::ffff:192.265.47.222:60094
ESTABLISHED 22572/java
tcp        0      0 ::ffff:127.0.0.1:48637      ::ffff:127.0.0.1:60000
 ESTABLISHED 22842/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:127.0.0.1:62954      ::ffff:127.0.0.1:60020
 TIME_WAIT   -
tcp        0      0 ::ffff:127.0.0.1:60000      ::ffff:127.0.0.1:48637
 ESTABLISHED 22642/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

telnet is working for 60010, 60030 and 9000 from both the local and remote
boxes.

I did not get the "netstat as sudo". Do I need to run netstat from root
user?
I do not have sudo user, but I have the root user credentials. so I can run
the netstat form root.

Thank You,
Jilani
On Thu, Aug 30, 2012 at 11:51 PM, anil gupta <[EMAIL PROTECTED]> wrote:

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