Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here. Want to know more about what has changed? Check out the Community News blog.

Failed to find location, tableName=hbase:meta exception when connecting to Hbase

SOLVED Go to solution
Highlighted

Failed to find location, tableName=hbase:meta exception when connecting to Hbase

Champion Alumni

HI All,

 

I am trying to connect to  linux cdh hbase cluster from a windows machine with java APIs.I am getting the below exception.Could some one tell me what I missed.The cluster i srunning on CDH 4.6.I am connecting to this cluster via hbase clinet API pulled down from mvnrepository.com.

 

 

 

Apr 9, 2014 9:33:51 AM org.apache.hadoop.util.NativeCodeLoader <clinit>
WARNING: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Apr 9, 2014 9:33:51 AM org.apache.zookeeper.Environment logEnv
INFO: Client environment:zookeeper.version=3.4.5-1392090, built on 09/30/2012 17:52 GMT
Apr 9, 2014 9:33:51 AM org.apache.zookeeper.Environment logEnv
INFO: Client environment:host.name=JGYDXW1.galileo.corp.lcl
Apr 9, 2014 9:33:51 AM org.apache.zookeeper.Environment logEnv
INFO: Client environment:java.version=1.6.0
Apr 9, 2014 9:33:51 AM org.apache.zookeeper.Environment logEnv
INFO: Client environment:java.vendor=IBM Corporation
Apr 9, 2014 9:33:51 AM org.apache.zookeeper.Environment logEnv
INFO: Client environment:java.home=C:\Program Files (x86)\IBM\WebSphere\AppServer\java\jre
Apr 9, 2014 9:33:51 AM org.apache.zookeeper.Environment logEnv
INFO: Client environment:java.class.path=C:\Users\Nishanth.Shajahan\IBM\rationalsdp\workspace_eLogging3\EnterpriseLoggingServiceProject\EnterpriseLoggingIndexJava\target\classes;C:\mnt\esb\shared_storage\ci\repository\org\apache\solr\solr-solrj\4.1.0\solr-solrj-4.1.0.jar;C:\mnt\esb\shared_storage\ci\repository\org\apache\zookeeper\zookeeper\3.4.5\zookeeper-3.4.5.jar;C:\mnt\esb\shared_storage\ci\repository\commons-io\commons-io\2.1\commons-io-2.1.jar;C:\mnt\esb\shared_storage\ci\repository\org\apache\httpcomponents\httpclient\4.1.3\httpclient-4.1.3.jar;C:\mnt\esb\shared_storage\ci\repository\org\apache\httpcomponents\httpcore\4.1.4\httpcore-4.1.4.jar;C:\mnt\esb\shared_storage\ci\repository\org\apache\httpcomponents\httpmime\4.1.3\httpmime-4.1.3.jar;C:\mnt\esb\shared_storage\ci\repository\org\codehaus\woodstox\wstx-asl\3.2.7\wstx-asl-3.2.7.jar;C:\mnt\esb\shared_storage\ci\repository\org\apache\solr\solr-core\4.1.0\solr-core-4.1.0.jar;C:\mnt\esb\shared_storage\ci\repository\org\apache\lucene\lucene-core\4.1.0\lucene-core-4.1.0.jar;C:\mnt\esb\shared_storage\ci\repository\org\apache\lucene\lucene-analyzers-common\4.1.0\lucene-analyzers-common-4.1.0.jar;C:\mnt\esb\shared_storage\ci\repository\org\apache\lucene\lucene-analyzers-kuromoji\4.1.0\lucene-analyzers-kuromoji-4.1.0.jar;C:\mnt\esb\shared_storage\ci\repository\org\apache\lucene\lucene-analyzers-morfologik\4.1.0\lucene-analyzers-morfologik-4.1.0.jar;C:\mnt\esb\shared_storage\ci\repository\org\carrot2\morfologik-polish\1.5.5\morfologik-polish-1.5.5.jar;C:\mnt\esb\shared_storage\ci\repository\org\carrot2\morfologik-stemming\1.5.5\morfologik-stemming-1.5.5.jar;C:\mnt\esb\shared_storage\ci\repository\org\carrot2\morfologik-fsa\1.5.5\morfologik-fsa-1.5.5.jar;C:\mnt\esb\shared_storage\ci\repository\org\apache\lucene\lucene-analyzers-phonetic\4.1.0\lucene-analyzers-phonetic-4.1.0.jar;C:\mnt\esb\shared_storage\ci\repository\org\apache\lucene\lucene-highlighter\4.1.0\lucene-highlighter-4.1.0.jar;C:\mnt\esb\shared_storage\ci\repository\org\apache\lucene\lucene-memory\4.1.0\lucene-memory-4.1.0.jar;C:\mnt\esb\shared_storage\ci\repository\org\apache\lucene\lucene-misc\4.1.0\lucene-misc-4.1.0.jar;C:\mnt\esb\shared_storage\ci\repository\org\apache\lucene\lucene-queryparser\4.1.0\lucene-queryparser-4.1.0.jar;C:\mnt\esb\shared_storage\ci\repository\org\apache\lucene\lucene-spatial\4.1.0\lucene-spatial-4.1.0.jar;C:\mnt\esb\shared_storage\ci\repository\com\spatial4j\spatial4j\0.3\spatial4j-0.3.jar;C:\mnt\esb\shared_storage\ci\repository\org\apache\lucene\lucene-suggest\4.1.0\lucene-suggest-4.1.0.jar;C:\mnt\esb\shared_storage\ci\repository\org\apache\lucene\lucene-grouping\4.1.0\lucene-grouping-4.1.0.jar;C:\mnt\esb\shared_storage\ci\repository\org\apache\lucene\lucene-queries\4.1.0\lucene-queries-4.1.0.jar;C:\mnt\esb\shared_storage\ci\repository\commons-codec\commons-codec\1.7\commons-codec-1.7.jar;C:\mnt\esb\shared_storage\ci\repository\commons-cli\commons-cli\1.2\commons-cli-1.2.jar;C:\mnt\esb\shared_storage\ci\repository\commons-fileupload\commons-fileupload\1.2.1\commons-fileupload-1.2.1.jar;C:\mnt\esb\shared_storage\ci\repository\org\slf4j\jcl-over-slf4j\1.6.4\jcl-over-slf4j-1.6.4.jar;C:\mnt\esb\shared_storage\ci\repository\org\slf4j\slf4j-jdk14\1.6.4\slf4j-jdk14-1.6.4.jar;C:\mnt\esb\shared_storage\ci\repository\com\google\guava\guava\13.0.1\guava-13.0.1.jar;C:\mnt\esb\shared_storage\ci\repository\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;C:\mnt\esb\shared_storage\ci\repository\org\slf4j\slf4j-api\1.6.4\slf4j-api-1.6.4.jar;C:\Users\Nishanth.Shajahan\IBM\rationalsdp\workspace_eLogging3\EnterpriseLoggingConfigProject\target\classes;C:\mnt\esb\shared_storage\ci\repository\com\soa\lib\common\technical\monitoring\ServiceMonitoringLibraryProject\1.3.0-SNAPSHOT\ServiceMonitoringLibraryProject-1.3.0-SNAPSHOT.jar;C:\mnt\esb\shared_storage\ci\repository\com\kenai\nbpwr\org-apache-commons-io\1.3.1-201002241208\org-apache-commons-io-1.3.1-201002241208.jar;C:\mnt\esb\shared_storage\ci\repository\org\apache\hbase\hbase-client\0.98.0-hadoop2\hbase-client-0.98.0-hadoop2.jar;C:\mnt\esb\shared_storage\ci\repository\org\apache\hbase\hbase-common\0.98.0-hadoop2\hbase-common-0.98.0-hadoop2.jar;C:\mnt\esb\shared_storage\ci\repository\commons-collections\commons-collections\3.2.1\commons-collections-3.2.1.jar;C:\mnt\esb\shared_storage\ci\repository\log4j\log4j\1.2.17\log4j-1.2.17.jar;C:\mnt\esb\shared_storage\ci\repository\org\apache\hbase\hbase-protocol\0.98.0-hadoop2\hbase-protocol-0.98.0-hadoop2.jar;C:\mnt\esb\shared_storage\ci\repository\commons-logging\commons-logging\1.1.1\commons-logging-1.1.1.jar;C:\mnt\esb\shared_storage\ci\repository\com\google\protobuf\protobuf-java\2.5.0\protobuf-java-2.5.0.jar;C:\mnt\esb\shared_storage\ci\repository\io\netty\netty\3.6.6.Final\netty-3.6.6.Final.jar;C:\mnt\esb\shared_storage\ci\repository\org\cloudera\htrace\htrace-core\2.04\htrace-core-2.04.jar;C:\mnt\esb\shared_storage\ci\repository\org\mortbay\jetty\jetty-util\6.1.26\jetty-util-6.1.26.jar;C:\mnt\esb\shared_storage\ci\repository\org\codehaus\jackson\jackson-mapper-asl\1.8.8\jackson-mapper-asl-1.8.8.jar;C:\mnt\esb\shared_storage\ci\repository\org\codehaus\jackson\jackson-core-asl\1.8.8\jackson-core-asl-1.8.8.jar;C:\mnt\esb\shared_storage\ci\repository\org\apache\hadoop\hadoop-common\2.2.0\hadoop-common-2.2.0.jar;C:\mnt\esb\shared_storage\ci\repository\org\apache\commons\commons-math\2.1\commons-math-2.1.jar;C:\mnt\esb\shared_storage\ci\repository\xmlenc\xmlenc\0.52\xmlenc-0.52.jar;C:\mnt\esb\shared_storage\ci\repository\commons-httpclient\commons-httpclient\3.1\commons-httpclient-3.1.jar;C:\mnt\esb\shared_storage\ci\repository\commons-net\commons-net\3.1\commons-net-3.1.jar;C:\mnt\esb\shared_storage\ci\repository\org\mortbay\jetty\jetty\6.1.26\jetty-6.1.26.jar;C:\mnt\esb\shared_storage\ci\repository\com\sun\jersey\jersey-core\1.9\jersey-core-1.9.jar;C:\mnt\esb\shared_storage\ci\repository\com\sun\jersey\jersey-json\1.9\jersey-json-1.9.jar;C:\mnt\esb\shared_storage\ci\repository\org\codehaus\jettison\jettison\1.1\jettison-1.1.jar;C:\mnt\esb\shared_storage\ci\repository\stax\stax-api\1.0.1\stax-api-1.0.1.jar;C:\mnt\esb\shared_storage\ci\repository\com\sun\xml\bind\jaxb-impl\2.2.3-1\jaxb-impl-2.2.3-1.jar;C:\mnt\esb\shared_storage\ci\repository\javax\xml\bind\jaxb-api\2.2.2\jaxb-api-2.2.2.jar;C:\mnt\esb\shared_storage\ci\repository\javax\activation\activation\1.1\activation-1.1.jar;C:\mnt\esb\shared_storage\ci\repository\org\codehaus\jackson\jackson-jaxrs\1.8.3\jackson-jaxrs-1.8.3.jar;C:\mnt\esb\shared_storage\ci\repository\org\codehaus\jackson\jackson-xc\1.8.3\jackson-xc-1.8.3.jar;C:\mnt\esb\shared_storage\ci\repository\commons-el\commons-el\1.0\commons-el-1.0.jar;C:\mnt\esb\shared_storage\ci\repository\net\java\dev\jets3t\jets3t\0.6.1\jets3t-0.6.1.jar;C:\mnt\esb\shared_storage\ci\repository\commons-configuration\commons-configuration\1.6\commons-configuration-1.6.jar;C:\mnt\esb\shared_storage\ci\repository\commons-digester\commons-digester\1.8\commons-digester-1.8.jar;C:\mnt\esb\shared_storage\ci\repository\commons-beanutils\commons-beanutils\1.7.0\commons-beanutils-1.7.0.jar;C:\mnt\esb\shared_storage\ci\repository\commons-beanutils\commons-beanutils-core\1.8.0\commons-beanutils-core-1.8.0.jar;C:\mnt\esb\shared_storage\ci\repository\org\slf4j\slf4j-log4j12\1.7.5\slf4j-log4j12-1.7.5.jar;C:\mnt\esb\shared_storage\ci\repository\org\apache\avro\avro\1.7.4\avro-1.7.4.jar;C:\mnt\esb\shared_storage\ci\repository\com\thoughtworks\paranamer\paranamer\2.3\paranamer-2.3.jar;C:\mnt\esb\shared_storage\ci\repository\org\xerial\snappy\snappy-java\1.0.4.1\snappy-java-1.0.4.1.jar;C:\mnt\esb\shared_storage\ci\repository\com\jcraft\jsch\0.1.42\jsch-0.1.42.jar;C:\mnt\esb\shared_storage\ci\repository\org\apache\commons\commons-compress\1.4.1\commons-compress-1.4.1.jar;C:\mnt\esb\shared_storage\ci\repository\org\tukaani\xz\1.0\xz-1.0.jar;C:\mnt\esb\shared_storage\ci\repository\org\apache\hadoop\hadoop-auth\2.2.0\hadoop-auth-2.2.0.jar;C:\mnt\esb\shared_storage\ci\repository\org\apache\hadoop\hadoop-mapreduce-client-core\2.2.0\hadoop-mapreduce-client-core-2.2.0.jar;C:\mnt\esb\shared_storage\ci\repository\org\apache\hadoop\hadoop-yarn-common\2.2.0\hadoop-yarn-common-2.2.0.jar;C:\mnt\esb\shared_storage\ci\repository\org\apache\hadoop\hadoop-yarn-api\2.2.0\hadoop-yarn-api-2.2.0.jar;C:\mnt\esb\shared_storage\ci\repository\com\google\inject\guice\3.0\guice-3.0.jar;C:\mnt\esb\shared_storage\ci\repository\javax\inject\javax.inject\1\javax.inject-1.jar;C:\mnt\esb\shared_storage\ci\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;C:\mnt\esb\shared_storage\ci\repository\com\sun\jersey\jersey-server\1.9\jersey-server-1.9.jar;C:\mnt\esb\shared_storage\ci\repository\asm\asm\3.1\asm-3.1.jar;C:\mnt\esb\shared_storage\ci\repository\com\sun\jersey\contribs\jersey-guice\1.9\jersey-guice-1.9.jar;C:\mnt\esb\shared_storage\ci\repository\com\google\inject\extensions\guice-servlet\3.0\guice-servlet-3.0.jar;C:\mnt\esb\shared_storage\ci\repository\org\apache\hadoop\hadoop-annotations\2.2.0\hadoop-annotations-2.2.0.jar;C:\Program Files (x86)\IBM\SDP\jdk\lib\tools.jar;C:\mnt\esb\shared_storage\ci\repository\com\github\stephenc\findbugs\findbugs-annotations\1.3.9-1\findbugs-annotations-1.3.9-1.jar;C:\mnt\esb\shared_storage\ci\repository\org\apache\geronimo\specs\geronimo-j2ee_1.4_spec\1.1\geronimo-j2ee_1.4_spec-1.1.jar;C:\mnt\esb\shared_storage\ci\repository\javaee\javaee-api\5\javaee-api-5.jar
Apr 9, 2014 9:33:51 AM org.apache.zookeeper.Environment logEnv
INFO: Client environment:java.library.path=C:\Program Files (x86)\IBM\WebSphere\AppServer\java\jre\bin\default;C:\Program Files (x86)\IBM\WebSphere\AppServer\java\jre\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\IBM\WebSphere\AppServer\java\jre\bin;C:\Program Files (x86)\IBM\WebSphere MQ\Java\lib;C:\Program Files (x86)\IBM\WebSphere MQ\Java\lib64;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\PROGRAM FILES (X86)\INTEL\ICLS CLIENT\;C:\PROGRAM FILES\INTEL\ICLS CLIENT\;C:\Windows\SYSTEM32;C:\Windows;C:\Windows\SYSTEM32\WBEM;C:\Windows\SYSTEM32\WINDOWSPOWERSHELL\V1.0\;C:\PROGRAM FILES\INTEL\INTEL(R) MANAGEMENT ENGINE COMPONENTS\DAL;C:\PROGRAM FILES\INTEL\INTEL(R) MANAGEMENT ENGINE COMPONENTS\IPT;C:\PROGRAM FILES (X86)\INTEL\INTEL(R) MANAGEMENT ENGINE COMPONENTS\DAL;C:\PROGRAM FILES (X86)\INTEL\INTEL(R) MANAGEMENT ENGINE COMPONENTS\IPT;;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Java\jdk1.6.0_45\bin;C:\work\installables\apache-maven-3.1.1\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\IBM\WebSphere MQ\bin64;C:\Program Files (x86)\IBM\WebSphere MQ\bin;C:\Program Files (x86)\IBM\WebSphere MQ\tools\c\samples\bin;.
Apr 9, 2014 9:33:51 AM org.apache.zookeeper.Environment logEnv
INFO: Client environment:java.io.tmpdir=C:\Users\NISHAN~1.SHA\AppData\Local\Temp\
Apr 9, 2014 9:33:51 AM org.apache.zookeeper.Environment logEnv
INFO: Client environment:java.compiler=j9jit26
Apr 9, 2014 9:33:51 AM org.apache.zookeeper.Environment logEnv
INFO: Client environment:os.name=Windows 7
Apr 9, 2014 9:33:51 AM org.apache.zookeeper.Environment logEnv
INFO: Client environment:os.arch=amd64
Apr 9, 2014 9:33:51 AM org.apache.zookeeper.Environment logEnv
INFO: Client environment:os.version=6.1
Apr 9, 2014 9:33:51 AM org.apache.zookeeper.Environment logEnv
INFO: Client environment:user.name=Nishanth.Shajahan
Apr 9, 2014 9:33:51 AM org.apache.zookeeper.Environment logEnv
INFO: Client environment:user.home=C:\Users\Nishanth.Shajahan
Apr 9, 2014 9:33:51 AM org.apache.zookeeper.Environment logEnv
INFO: Client environment:user.dir=C:\Users\Nishanth.Shajahan\IBM\rationalsdp\workspace_eLogging3\EnterpriseLoggingServiceProject\EnterpriseLoggingIndexJava
Apr 9, 2014 9:33:51 AM org.apache.zookeeper.ZooKeeper <init>
INFO: Initiating client connection, connectString=vhldvellb002:2181,vhldvellb003:2181,vhldvellb006:2181,vhldvellb004:2181,vhldvellb005:2181,vhldvellb001:2181 sessionTimeout=60000 watcher=hconnection-0xd7065b68, quorum=vhldvellb002:2181,vhldvellb003:2181,vhldvellb006:2181,vhldvellb004:2181,vhldvellb005:2181,vhldvellb001:2181, baseZNode=/hbase
Apr 9, 2014 9:33:51 AM org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper <init>
INFO: Process identifier=hconnection-0xd7065b68 connecting to ZooKeeper ensemble=vhldvellb002:2181,vhldvellb003:2181,vhldvellb006:2181,vhldvellb004:2181,vhldvellb005:2181,vhldvellb001:2181
Apr 9, 2014 9:33:56 AM org.apache.zookeeper.ClientCnxn$SendThread logStartConnect
INFO: Opening socket connection to server 10.4.113.29/10.4.113.29:2181. Will not attempt to authenticate using SASL (Unable to locate a login configuration)
Apr 9, 2014 9:33:56 AM org.apache.zookeeper.ClientCnxn$SendThread primeConnection
INFO: Socket connection established to 10.4.113.29/10.4.113.29:2181, initiating session
Apr 9, 2014 9:33:56 AM org.apache.zookeeper.ClientCnxn$SendThread onConnected
INFO: Session establishment complete on server 10.4.113.29/10.4.113.29:2181, sessionid = 0x644fb00043a6155, negotiated timeout = 60000
Apr 9, 2014 9:34:13 AM org.apache.zookeeper.ZooKeeper <init>
INFO: Initiating client connection, connectString=vhldvellb002:2181,vhldvellb003:2181,vhldvellb006:2181,vhldvellb004:2181,vhldvellb005:2181,vhldvellb001:2181 sessionTimeout=60000 watcher=catalogtracker-on-hconnection-0xd7065b68, quorum=vhldvellb002:2181,vhldvellb003:2181,vhldvellb006:2181,vhldvellb004:2181,vhldvellb005:2181,vhldvellb001:2181, baseZNode=/hbase
Apr 9, 2014 9:34:13 AM org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper <init>
INFO: Process identifier=catalogtracker-on-hconnection-0xd7065b68 connecting to ZooKeeper ensemble=vhldvellb002:2181,vhldvellb003:2181,vhldvellb006:2181,vhldvellb004:2181,vhldvellb005:2181,vhldvellb001:2181
Apr 9, 2014 9:34:18 AM org.apache.zookeeper.ClientCnxn$SendThread logStartConnect
INFO: Opening socket connection to server 10.4.113.30/10.4.113.30:2181. Will not attempt to authenticate using SASL (Unable to locate a login configuration)
Apr 9, 2014 9:34:18 AM org.apache.zookeeper.ClientCnxn$SendThread primeConnection
INFO: Socket connection established to 10.4.113.30/10.4.113.30:2181, initiating session
Apr 9, 2014 9:34:18 AM org.apache.zookeeper.ClientCnxn$SendThread onConnected
INFO: Session establishment complete on server 10.4.113.30/10.4.113.30:2181, sessionid = 0x544fb00042d6203, negotiated timeout = 60000
Apr 9, 2014 9:34:18 AM org.apache.hadoop.conf.Configuration warnOnceIfDeprecated
INFO: hadoop.native.lib is deprecated. Instead, use io.native.lib.available
Apr 9, 2014 9:37:18 AM org.apache.zookeeper.ZooKeeper close
INFO: Session: 0x544fb00042d6203 closed
Apr 9, 2014 9:37:18 AM org.apache.zookeeper.ClientCnxn$EventThread run
INFO: EventThread shut down
org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed after attempts=1, exceptions:
Wed Apr 09 09:36:18 MDT 2014, org.apache.hadoop.hbase.client.RpcRetryingCaller@e2b0a3db, java.io.IOException: Failed to find location, tableName=hbase:meta, row=test,,, reload=false
at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:136)
at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:97)
at org.apache.hadoop.hbase.client.ClientScanner.nextScanner(ClientScanner.java:264)
at org.apache.hadoop.hbase.client.ClientScanner.initializeScannerInConstruction(ClientScanner.java:169)
at org.apache.hadoop.hbase.client.ClientScanner.<init>(ClientScanner.java:164)
at org.apache.hadoop.hbase.client.ClientScanner.<init>(ClientScanner.java:107)
at org.apache.hadoop.hbase.client.HTable.getScanner(HTable.java:723)
at org.apache.hadoop.hbase.catalog.MetaReader.fullScan(MetaReader.java:539)
at org.apache.hadoop.hbase.catalog.MetaReader.tableExists(MetaReader.java:310)
at org.apache.hadoop.hbase.client.HBaseAdmin.tableExists(HBaseAdmin.java:270)
at org.apache.hadoop.hbase.client.HBaseAdmin.tableExists(HBaseAdmin.java:284)
at com.common.technical.logging.helper.HbaseIndexHelper.getHbaseConnection(HbaseIndexHelper.java:42)
at com.common.technical.logging.helper.HbaseIndexerHelperTest.main(HbaseIndexerHelperTest.java:14)
Caused by: java.io.IOException: Failed to find location, tableName=hbase:meta, row=test,,, reload=false
at org.apache.hadoop.hbase.client.RegionServerCallable.prepare(RegionServerCallable.java:74)
at org.apache.hadoop.hbase.client.ScannerCallable.prepare(ScannerCallable.java:118)
at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:120)
... 12 more

 

 

 

 

Thanks,

Nishanth

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Failed to find location, tableName=hbase:meta exception when connecting to Hbase

Explorer
Nishan,

I was not implying that you should setup security, I was implying that you may have a setting difference or running a jar built with security vs one that is not built with security. That is what usually triggers those version mismatch warnings.
8 REPLIES 8

Re: Failed to find location, tableName=hbase:meta exception when connecting to Hbase

Champion Alumni

I was ba;le to over come this error by  pulling down the the correct jar versions from cloudera repo.Now I am seeing this warning in Hmaster log.

 

2014-04-09 16:15:48,891 WARN org.apache.hadoop.ipc.HBaseServer: Incorrect header or version mismatch from 172.19.34.185:51458 got version 0 expected version 3.

 

 

When I run the java client I get the error  org.apache.hadoop.hbase.MasterNotRunningException.

 

Please help.

 

 

 

Thanks,

Nishanth

Re: Failed to find location, tableName=hbase:meta exception when connecting to Hbase

Explorer

Nishan,

 

  I would check to make sure your client RPC security is set the same as the HBase clusters.  I would make sure that all of these settings are the same: https://hbase.apache.org/book/security.html

Re: Failed to find location, tableName=hbase:meta exception when connecting to Hbase

Champion Alumni

Hi Kevin,

 

I  do not want to implement security in hbase at this point.These are the  hbase  dependecies I am pulling down from cloudera repo.Is that all required to connect to  cdh hbase cluster  from a java API.

 

<dependency>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase</artifactId>
<version>0.94.15-cdh4.6.0</version>
</dependency>

<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-common</artifactId>
<version>2.0.0-cdh4.6.0</version>
</dependency>

 

Can you please clarify if the secuirty check still needs to be done.Thanks for your help.None of the security tags are present in my hbase-site.xml  created by cloudera manager.

Re: Failed to find location, tableName=hbase:meta exception when connecting to Hbase

Explorer
Nishan,

I was not implying that you should setup security, I was implying that you may have a setting difference or running a jar built with security vs one that is not built with security. That is what usually triggers those version mismatch warnings.

Re: Failed to find location, tableName=hbase:meta exception when connecting to Hbase

Champion Alumni

Ok.Could that inetranally relate to org.apache.hadoop.hbase.MasterNotRunningException.I am seeing this now in my IDE when I run the hava client.I have also updated the jar version I am using in the baove post.ALso there is no secuirty setting in my hbase-site.xml.Just checked this.

Re: Failed to find location, tableName=hbase:meta exception when connecting to Hbase

Explorer
It could, can you connect to the HBase cluster from one of the nodes in the
cluster(aka not windows or your IDE)?

Re: Failed to find location, tableName=hbase:meta exception when connecting to Hbase

Champion Alumni
Yes Kevin I am able to connect using the Hbase shell.I was able to create tables and insert data.

Re: Failed to find location, tableName=hbase:meta exception when connecting to Hbase

Champion Alumni

HI All,

 

I am getting the below error now after doing some modifications.Any idea?.

 

 

org.apache.hadoop.net.ConnectTimeoutException: 20000 millis timeout while waiting for channel to be ready for connect. ch : java.nio.channels.SocketChannel[connection-pending remote=xx.xx.yy.zz:60020