You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by muddassir hasan <mu...@yahoo.co.in> on 2008/05/14 07:03:50 UTC

newbie questions

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. 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>


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).

Please let me know my mistakes.

Thanks.


Muddassir Hasan


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

Re: newbie questions

Posted by muddassir hasan <mu...@yahoo.co.in>.
Thanks Stack.

it helped to debug the problem and run Hbase.

stack <st...@duboce.net> wrote: 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 :
>
> 
>          

>                 hbase.rootdir
>                 hdfs://localhost:9000/Hadoop/hbase-0.1.1
>         

> 
>   

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 :
>
> 
>         

>                 fs.default.name
>                 localhost:9000
>         

>         

>                 mapred.job.tracker
>                 localhost:9001
>         

>         

>                 dfs.replication
>                 1
>         

> 
>
> 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.
>   




Muddassir Hasan


       
---------------------------------
 Meet people who discuss and share your passions.  Join them now.

Re: newbie questions

Posted by stack <st...@duboce.net>.
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.
>