muddassir hasan wrote:
hi all,

I am new to hbase. I am trying to start and use hbase thrift api's but i could not find enough documentation.

Did you find this page?

http://hadoop.apache.org/hbase/docs/r0.1.1/api/index.html

I have started non-distributed hadoop(0.16.4) namenode on port 9000 but i was 
unable to start hbase(0.1.1) and hbase thrift server.

My hbase-site.xml :

<configuration>
         <property>
                <name>hbase.rootdir</name>
                <value>hdfs://localhost:9000/Hadoop/hbase-0.1.1</value>
        </property>
</configuration>

You might have to define the master too: See http://hadoop.apache.org/hbase/docs/r0.1.1/api/index.html.


and hadoop-site.xml :

<configuration>
        <property>
                <name>fs.default.name</name>
                <value>localhost:9000</value>
        </property>
        <property>
                <name>mapred.job.tracker</name>
                <value>localhost:9001</value>
        </property>
        <property>
                <name>dfs.replication</name>
                <value>1</value>
        </property>
</configuration>

on starting thrift server error i got was :

08/05/14 10:23:38 INFO ThriftServer: starting HBase Thrift server on port 9090
08/05/14 10:23:38 INFO ipc.Client: Retrying connect to server: 
localhost/127.0.0.1:60000. Already tried 1 time(s).

Make sure hbase is up. Browse to localhost:60010 and you should see the master UI. Look in $HBASE_HOME/logs at the master and regionserver logs. That should give you clue as to why things are not starting up (See FAQ for how to enable DEBUG in case more detail is needed).

St.Ack


Please let me know my mistakes.

Thanks.


Muddassir Hasan


---------------------------------
 What is your Emotional Quotient? Find out.

Reply via email to