Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> Important "Undefined Error"


Copy link to this message
-
RE: Important "Undefined Error"


Hi,
I tried what you told me, but nothing worked:(((
First when I run this command:dalia@namenode:~$ host -v -t A `hostname`Output:Trying "namenode"Host namenode not found: 3(NXDOMAIN)Received 101 bytes from 10.0.2.1#53 in 13 ms My core-site.xml:<configuration><property>        <name>fs.default.name</name>        <!--<value>hdfs://namenode:8020</value>-->        <value>hdfs://namenode:54310/</value></property></configuration>
My hdfs-site.xml<configuration><property><name>dfs.name.dir</name><value>/data/1/dfs/nn,/nfsmount/dfs/nn</value></property><!--<property><name>dfs.data.dir</name><value>/data/1/dfs/dn,/data/2/dfs/dn,/data/3/dfs/dn</value></property>--><property><name>dfs.datanode.max.xcievers</name><value>4096</value></property><property><name>dfs.replication</name><value>3</value></property><property> <name>dfs.permissions.superusergroup</name> <value>hadoop</value></property>
My Mapred-site.xml<configuration><name>mapred.local.dir</name><value>/data/1/mapred/local,/data/2/mapred/local,/data/3/mapred/local</value></configuration>
My Hbase-site.xml<configuration><property><name>hbase.cluster.distributed</name>  <value>true</value></property><property>  <name>hbase.rootdir</name>     <value>hdfs://namenode:9000/hbase</value></property><property><name>hbase.zookeeper.quorun</name> <value>namenode</value></property><property><name>hbase.regionserver.port</name><value>60020</value><description>The host and port that the HBase master runs at.</description></property><property><name>dfs.replication</name><value>1</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></configuration>
Please Help I am really disappointed I have been through all that for two weeks !!!!

> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: RE: Important "Undefined Error"
> Date: Sat, 12 May 2012 23:31:49 +0530
>
> The problem is your hbase is not able to connect to Hadoop, can you put your
> hbase-site.xml content >> here.. have you specified localhost somewhere, if
> so remove localhost from everywhere and put your hdfsl namenode address
> suppose your namenode is running on master:9000 then put your hbase file
> system setting as master:9000/hbase here I am sending you the configuration
> which I am using in hbase and is working
>
>
> My hbase-site.xml content is
>
> <?xml version="1.0"?>
> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
> <!--
> /**
>  * Copyright 2010 The Apache Software Foundation
>  *
>  * Licensed to the Apache Software Foundation (ASF) under one
>  * or more contributor license agreements.  See the NOTICE file
>  * distributed with this work for additional information
>  * regarding copyright ownership.  The ASF licenses this file
>  * to you under the Apache License, Version 2.0 (the
>  * "License"); you may not use this file except in compliance
>  * with the License.  You may obtain a copy of the License at
>  *
>  *     http://www.apache.org/licenses/LICENSE-2.0
>  *
>  * Unless required by applicable law or agreed to in writing, software
>  * distributed under the License is distributed on an "AS IS" BASIS,
>  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>  * See the License for the specific language governing permissions and
>  * limitations under the License.
>  */
> -->
> <configuration>
> <property>
> <name>hbase.rootdir</name>
> <value>hdfs://master:9000/hbase</value>
> </property>
> <property>
> <name>hbase.master</name>
> <value>master:60000</value>
> <description>The host and port that the HBase master runs at.</description>
> </property>
> <property>
> <name>hbase.regionserver.port</name>
> <value>60020</value>
> <description>The host and port that the HBase master runs at.</description>
> </property>
> <!--<property>
> <name>hbase.master.port</name>
> <value>60000</value>
> <description>The host and port that the HBase master runs at.</description>