You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by tim robertson <ti...@gmail.com> on 2009/07/20 15:04:36 UTC

Starting 0.20.0 - configuration problem?

Hi all,

I have just sync'ed and built the head (0.20.0 I *believe*) and have
the error below on the master logs when starting.
(I have a running hadoop-0.20.0)


My hbase-site looks like:
<configuration>
  <property>
    <name>hbase.rootdir</name>
    <value>hdfs://hdfs-master.local:50070/hbase</value>
  </property>
  <property>
     <name>hbase.master</name>
     <value>hdfs-master.local:60000</value>
  </property>
</configuration>

In my HBase-env I added:
  export HBASE_HOME=/var/root/hbase-0.20.0
  export HBASE_CLASSPATH=/var/root/hadoop-0.20.0/conf

This is my first distributed installation - any help is greatly appreciated!

Thanks,

Tim


Mon Jul 20 14:50:02 CEST 2009 Starting master on dhcp-13.gbif.org
ulimit -n 256
2009-07-20 14:50:03,244 INFO org.apache.hadoop.hbase.master.HMaster:
vmName=Java HotSpot(TM) 64-Bit Server VM, vmVendor=Apple Inc.,
vmVersion=11.3-b02-83
2009-07-20 14:50:03,245 INFO org.apache.hadoop.hbase.master.HMaster:
vmInputArguments=[-Xmx1000m, -XX:+HeapDumpOnOutOfMemoryError,
-XX:+UseConcMarkSweepGC, -XX:+CMSIncrementalMode, -Dh
base.log.dir=/var/root/hbase-0.20.0/logs,
-Dhbase.log.file=hbase-timrobertson-master-dhcp-13.gbif.org.log,
-Dhbase.home.dir=/var/root/hbase-0.20.0, -Dhbase.id.str=timrobertson,
-Dhbase
.root.logger=INFO,DRFA,
-Djava.library.path=/var/root/hbase-0.20.0/lib/native/Mac_OS_X-x86_64-64]
2009-07-20 14:50:03,289 INFO org.apache.hadoop.hbase.master.HMaster:
My address is 192.168.2.1:60000
2009-07-20 14:50:03,713 ERROR org.apache.hadoop.hbase.master.HMaster:
Can not start master
org.apache.hadoop.ipc.RemoteException: java.io.IOException: Unknown
protocol to job tracker:
org.apache.hadoop.hdfs.protocol.ClientProtocol
        at org.apache.hadoop.mapred.JobTracker.getProtocolVersion(JobTracker.java:209)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:508)
        at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:959)
        at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:955)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:396)
        at org.apache.hadoop.ipc.Server$Handler.run(Server.java:953)

        at org.apache.hadoop.ipc.Client.call(Client.java:739)
        at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:220)
        at $Proxy0.getProtocolVersion(Unknown Source)
        at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:359)
        at org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:105)
        at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:177)
        at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:82)
        at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1373)
        at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66)
        at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1385)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:191)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:95)
        at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:195)
        at org.apache.hadoop.hbase.LocalHBaseCluster.<init>(LocalHBaseCluster.java:94)
        at org.apache.hadoop.hbase.LocalHBaseCluster.<init>(LocalHBaseCluster.java:78)
        at org.apache.hadoop.hbase.master.HMaster.doMain(HMaster.java:1186)
        at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:1231)

Re: Starting 0.20.0 - configuration problem?

Posted by tim robertson <ti...@gmail.com>.
Thank you very much Rong-En Fan, it was indeed meant to be 8020.

Tim



On Mon, Jul 20, 2009 at 3:37 PM, Rong-en Fan<gr...@gmail.com> wrote:
> On Mon, Jul 20, 2009 at 9:04 PM, tim robertson<ti...@gmail.com> wrote:
>> Hi all,
>>
>> I have just sync'ed and built the head (0.20.0 I *believe*) and have
>> the error below on the master logs when starting.
>> (I have a running hadoop-0.20.0)
>>
>>
>> My hbase-site looks like:
>> <configuration>
>>  <property>
>>    <name>hbase.rootdir</name>
>>    <value>hdfs://hdfs-master.local:50070/hbase</value>
>>  </property>
>
> I think by default, 50070 is the one used for NN web ui? try 8020 here.
>
> Hope this helps,
> Rong-En Fan
>

Re: Starting 0.20.0 - configuration problem?

Posted by Rong-en Fan <gr...@gmail.com>.
On Mon, Jul 20, 2009 at 9:04 PM, tim robertson<ti...@gmail.com> wrote:
> Hi all,
>
> I have just sync'ed and built the head (0.20.0 I *believe*) and have
> the error below on the master logs when starting.
> (I have a running hadoop-0.20.0)
>
>
> My hbase-site looks like:
> <configuration>
>  <property>
>    <name>hbase.rootdir</name>
>    <value>hdfs://hdfs-master.local:50070/hbase</value>
>  </property>

I think by default, 50070 is the one used for NN web ui? try 8020 here.

Hope this helps,
Rong-En Fan