Member since
02-11-2014
162
Posts
2
Kudos Received
4
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
3012 | 12-04-2015 12:46 PM | |
3482 | 02-12-2015 01:06 PM | |
2868 | 03-20-2014 12:41 PM | |
4649 | 03-19-2014 08:54 AM |
04-24-2014
01:58 PM
Hi, I am trying to get more information on extracHbaseCells command.How ever I am unable to find it in the morphline reference guide.Can some one please let me know where I can find the documentation on this.The following is the refernce guide Iam looking at. http://cloudera.github.io/cdk/docs/0.9.1/cdk-morphlines/morphlinesReferenceGuide.html
... View more
04-24-2014
10:50 AM
Thank you :).So the output of my extractHbaseCell command should be the the query String that I input to the xpath command as I get it.can you point me to an example if you one .I have pasted the current conf which I am using below.It just extracts and loads into solr without any transformation. morphlines : [ { id : morphline importCommands : ["com.cloudera.**", "com.ngdata.**"] commands : [ { extractHBaseCells { mappings : [ { inputColumn : "messages:*" outputField : "cat" type : string source : value } ] } } { logDebug { format : "output record: {}", args : ["@{}"] } } ] } ]
... View more
04-24-2014
09:33 AM
Hi , I hav ea case where I store a soap message in a hbase cell.I am then planning to use the morphlines to extract and index the relevant fields of the message into solr.The idea is to use one of xslt or xquery commands.Is this a good approach and which one would you suggest.Is there a better approach to the whole message flow.
... View more
- Tags:
- HBase
- morphlines
- xml
04-23-2014
12:05 PM
Hi, Is there a way to point multiple cloudera managers to the same database.Is it supported.This is because I would like to use the same db for my lab and development enviornments. Thanks, Nishanth
... View more
04-21-2014
03:35 PM
Hi, I want to enable a replication of 3 for hdfs.I am also using cloudera search to index data from hbase on to solr cloud via lily.I have a single collection and plan to have 6 solr shards with replication factor of 3 in solr.Since the solr index is going to be stored on hdfs I assume there will be 9 copies of the same data.How can I over come this problem.Is there some way to tell hdfs not to replicate this data?.Considering the volume of data we have I do not want to maintain so much of repated data. Thanks, Nishan
... View more
04-18-2014
09:48 AM
Hello Every one, I have one instance of solr running on each of the machines in a 4 node CDH cluster.I already have solr schema and know what fields need to be indexed and determined that we need just one collection.How do I determine the number of shards ,replicas and core in this case?.I am a rookie to solr cloud so would be highly helpful if some one can tell me how to go about this. Thanks, Nishanth
... View more
04-18-2014
09:15 AM
1 Kudo
For the benefit of all this was because one of the shards where down.You can check that by clicking the cloud button on solr admin UI. You can still see the results by adding shards.tolerant=true into you solr query though this is not advisable in production. Thanks, Nishanth
... View more
04-18-2014
08:55 AM
Hi , Can you help?
... View more
04-17-2014
06:03 PM
Hi I just integrated lily and was able to index records that are inserted into a hbase table. I then created a solr core after through the solr admin UI.I am not sure if this is the way to go about.I I could see the number of documents indexed are increasing with evry insert into hbase table but on doing a solr query I get the below exception.Looking out for some help. Components: cdh 4.6 rhel search -1.2 This is what I have done in general. 1.set up lily. 2.Insert record into hbase 3.navigate to solr admin UI and created a solr core for my collection. I tried restarting the solr service once I saw this error but still keeps getting it. error": { "msg": "no servers hosting shard: ", "code": 503 } 2014-04-17 21:16:58,871 INFO org.apache.solr.core.SolrCore: [trial1_collection_shard1_replica1] webapp=/solr path=/select params={cat=DENVER&distrib=false&wt=javabin&version=2&rows=10&df=text&fl=id,score&shard.url=10.150.900.10:8983/solr/trial1_collection_shard1_replica1/&NOW=1397769418867&start=0&q=*:*&_=1397769418773&isShard=true&fsv=true} hits=5 status=0 QTime=0 2014-04-17 21:16:59,177 ERROR org.apache.solr.core.SolrCore: org.apache.solr.common.SolrException: no servers hosting shard: at org.apache.solr.handler.component.HttpShardHandler$1.call(HttpShardHandler.java:149) at org.apache.solr.handler.component.HttpShardHandler$1.call(HttpShardHandler.java:119) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)
... View more
04-17-2014
02:54 PM
Hi It did work and I am able to index the documents now. How ever when I go to solr admin page and query for the data ,I get an error message as below.I can see an increase in the number of documents indexed each time I put add a row into hbase. This is what I have done in general. 1.set up lily. 2.Insert record into hbase 3.navigate to solr admin UI and created a solr core for my collection. I tried restarting the solr service once I saw this error but still keeps getting it. error": { "msg": "no servers hosting shard: ", "code": 503 }
... View more
04-17-2014
09:26 AM
Hi , I am trying to register a lily indexer after creating the solr collection.I am getting the below warning once I run the command.Apparently the log says zoo keeper connection string not specified.I am using cdh 4.6 and search 1.2. Can some one help? hbase-indexer add-indexer -n trial1indexer -c indexer-config.xml -cp solr.zk=xxx:2181,yyy:2181,bbb:2181,kkk:2181,ccc:2181,ddt:2181/solr -cp solr.collection=trial1_collection LOGS: SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/opt/cloudera/parcels/SOLR-1.2.0-1.cdh4.5.0.p0.4/lib/hbase-solr/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/usr/lib/zookeeper/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. ZooKeeper connection string not specified, using default: localhost:2181 [WARN ][16:19:03,775][host:2181)] org.apache.zookeeper.ClientCnxn - Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect java.net.ConnectException: Connection refused at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739) at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068) Indexer added: trial1indexer
... View more
04-16-2014
01:43 PM
Hi, Can some one help? Thanks, Nsihanth
... View more
04-16-2014
09:11 AM
Also I see this exception when I look at zoo keeper logs: Are both of these related.Can some one help?. EndOfStreamException: Unable to read additional data from client sessionid 0x5455163d9561f3e, likely client has closed socket at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:220) at org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:208) at java.lang.Thread.run(Thread.java:662) Thanks, Nishanth
... View more
04-16-2014
08:46 AM
Hi All, I am trying to connect to ingest data into hbase via async hbase.When this is done from a main class it executes correctly.How ever when I deploy the piece of code in websphere and try to connect to hbase I get the below error.My cluster is built using cdh 4.6.Is there some way to over ride the SASL authentication of zoo keeper.I know its a bad practice but this is just for poc purposes.I tried setting System.setProperty("zookeeper.skipACL","true") but with out luck. [4/16/14 9:41:09:939 MDT] 000000e6 ClientCnxn W org.apache.zookeeper.ClientCnxn$SendThread startConnect SASL configuration failed: javax.security.auth.login.LoginException: No JAAS configuration section named 'Client' was found in specified JAAS configuration file: 'C:\Program Files (x86)\IBM\WebSphere\AppServer\profiles\AppSrv1/properties/wsjaas.conf'. Will continue connection to Zookeeper server without SASL authentication, if Zookeeper server allows it. Thanks, Nishanth
... View more
Labels:
04-10-2014
12:18 PM
I could find it here .. http://mvnrepository.com/artifact/org.hbase/asynchbase
... View more
04-10-2014
12:16 PM
Hi , What is the library that I need to use for hbase asynch clinet.Is it included in any CDH distribution
... View more
Labels:
04-10-2014
12:14 PM
I had to open a firewall from my machine to hbase machines on port 60020 as well as region servers are running on this.This fixed the issue.
... View more
04-10-2014
08:46 AM
Hi, I am ruuning an hbase client from windows against an Hbase clutser running on RHEL.I have opened firewall from my clinet machine to the cluster on ports 2181 and 60000.Is there any other port that I need to open.Below is the error I am getting on running my client. 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=10.4.yyy.xx:60020]
... View more
Labels:
04-09-2014
04:15 PM
I beleive the default number of hosts is 10 but it is defintely configurable in the GUI.Refer to the below link: http://community.cloudera.com/t5/Cloudera-Manager-Installation/How-to-install-Cloudera-on-10-nodes-simultaneously/m-p/8172#U8172
... View more
04-09-2014
03:45 PM
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
... View more
04-09-2014
12:03 PM
Yes Kevin I am able to connect using the Hbase shell.I was able to create tables and insert data.
... View more
04-09-2014
11:10 AM
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.
... View more
04-09-2014
11:05 AM
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.
... View more
04-09-2014
10:18 AM
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
... View more
04-09-2014
08:45 AM
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
... View more
Labels:
04-08-2014
02:56 PM
Error trace: Throwable occurred: java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries. at org.apache.hadoop.util.Shell.getQualifiedBinPath(Shell.java:278) at org.apache.hadoop.util.Shell.getWinUtilsPath(Shell.java:300) at org.apache.hadoop.util.Shell.<clinit>(Shell.java:293) at java.lang.J9VMInternals.initializeImpl(Native Method) at java.lang.J9VMInternals.initialize(J9VMInternals.java:228) at org.apache.hadoop.util.StringUtils.<clinit>(StringUtils.java:76) at java.lang.J9VMInternals.initializeImpl(Native Method) at java.lang.J9VMInternals.initialize(J9VMInternals.java:228) at org.apache.hadoop.conf.Configuration.getStrings(Configuration.java:1514) at org.apache.hadoop.hbase.zookeeper.ZKConfig.makeZKProps(ZKConfig.java:113) at org.apache.hadoop.hbase.zookeeper.ZKConfig.getZKQuorumServersString(ZKConfig.java:265) at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.<init>(ZooKeeperWatcher.java:159) at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.<init>(ZooKeeperWatcher.java:134) at org.apache.hadoop.hbase.client.ZooKeeperKeepAliveConnection.<init>(ZooKeeperKeepAliveConnection.java:43) at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getKeepAliveZooKeeperWatcher(HConnectionManager.java:1768) at org.apache.hadoop.hbase.client.ZooKeeperRegistry.getClusterId(ZooKeeperRegistry.java:82) at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.retrieveClusterId(HConnectionManager.java:857) at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.<init>(HConnectionManager.java:662) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:56) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39) at java.lang.reflect.Constructor.newInstance(Constructor.java:527) at org.apache.hadoop.hbase.client.HConnectionManager.createConnection(HConnectionManager.java:414) at org.apache.hadoop.hbase.client.HConnectionManager.createConnection(HConnectionManager.java:393) at org.apache.hadoop.hbase.client.HConnectionManager.getConnection(HConnectionManager.java:274) at org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:183)
... View more
04-08-2014
02:54 PM
I think I am running into the same problem here.My servers ar eon RHEl but I am trying to connect to this cluster from a windows machine.Do we know the owrkaround?
... View more
Labels:
04-08-2014
01:57 PM
I am able to connect to hbase and create tables when I use the hbase shell.But when I run the above java code from a windows machine ,I am getting these errors.Firewall has been opened for zoo keeper port as well.
... View more
04-08-2014
01:15 PM
Below is the code I am using to connect to Hbase from java 6. public void getHbaseConnection(){ try{ Class.forName(driverName); Configuration config = HBaseConfiguration.create(); config.set("hbase.master", "10.4.113.26:60000"); config.set("hbase.zookeeper.quorum", "10.4.113.30"); config.set("hbase.zookeeper.property.clientPort", "2181"); String tableName = "test"; System.out.println("Entered"); System.out.println(tableName); HBaseAdmin admin = new HBaseAdmin(config); if (admin.tableExists("test")){ System.out.println("Table EXISTS"); }else{ System.out.println("Table does not exist"); } } catch(Exception e){ e.printStackTrace(); } I am able to connect to hbase.When this program is run in de bug mode it goes till if (admin.tableExists("test")) and then stops.Below is the log.Can some one help?. Apr 8, 2014 2:10:27 PM org.apache.zookeeper.Environment logEnv INFO: Client environment:zookeeper.version=3.4.5-1392090, built on 09/30/2012 17:52 GMT Apr 8, 2014 2:10:27 PM org.apache.zookeeper.Environment logEnv Apr 8, 2014 2:10:27 PM org.apache.zookeeper.Environment logEnv INFO: Client environment:java.version=1.6.0 Apr 8, 2014 2:10:27 PM org.apache.zookeeper.Environment logEnv INFO: Client environment:java.vendor=IBM Corporation Apr 8, 2014 2:10:27 PM org.apache.zookeeper.Environment logEnv INFO: Client environment:java.home=C:\Program Files (x86)\IBM\WebSphere\AppServer\java\jre Apr 8, 2014 2:10:27 PM 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-hadoop1\hbase-client-0.98.0-hadoop1.jar;C:\mnt\esb\shared_storage\ci\repository\org\apache\hbase\hbase-common\0.98.0-hadoop1\hbase-common-0.98.0-hadoop1.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-hadoop1\hbase-protocol-0.98.0-hadoop1.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-core\1.2.1\hadoop-core-1.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\com\sun\jersey\jersey-core\1.8\jersey-core-1.8.jar;C:\mnt\esb\shared_storage\ci\repository\com\sun\jersey\jersey-json\1.8\jersey-json-1.8.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\xml\stream\stax-api\1.0-2\stax-api-1.0-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.7.1\jackson-jaxrs-1.7.1.jar;C:\mnt\esb\shared_storage\ci\repository\org\codehaus\jackson\jackson-xc\1.7.1\jackson-xc-1.7.1.jar;C:\mnt\esb\shared_storage\ci\repository\com\sun\jersey\jersey-server\1.8\jersey-server-1.8.jar;C:\mnt\esb\shared_storage\ci\repository\asm\asm\3.1\asm-3.1.jar;C:\mnt\esb\shared_storage\ci\repository\commons-httpclient\commons-httpclient\3.0.1\commons-httpclient-3.0.1.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\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\commons-net\commons-net\1.4.1\commons-net-1.4.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\org\mortbay\jetty\servlet-api\2.5-20081211\servlet-api-2.5-20081211.jar;C:\mnt\esb\shared_storage\ci\repository\tomcat\jasper-runtime\5.5.12\jasper-runtime-5.5.12.jar;C:\mnt\esb\shared_storage\ci\repository\tomcat\jasper-compiler\5.5.12\jasper-compiler-5.5.12.jar;C:\mnt\esb\shared_storage\ci\repository\org\mortbay\jetty\jsp-api-2.1\6.1.14\jsp-api-2.1-6.1.14.jar;C:\mnt\esb\shared_storage\ci\repository\org\mortbay\jetty\servlet-api-2.5\6.1.14\servlet-api-2.5-6.1.14.jar;C:\mnt\esb\shared_storage\ci\repository\org\mortbay\jetty\jsp-2.1\6.1.14\jsp-2.1-6.1.14.jar;C:\mnt\esb\shared_storage\ci\repository\ant\ant\1.6.5\ant-1.6.5.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\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 8, 2014 2:10:27 PM 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 8, 2014 2:10:27 PM org.apache.zookeeper.Environment logEnv INFO: Client environment:java.io.tmpdir=C:\Users\NISHAN~1.SHA\AppData\Local\Temp\ Apr 8, 2014 2:10:27 PM org.apache.zookeeper.Environment logEnv INFO: Client environment:java.compiler=j9jit26 Apr 8, 2014 2:10:27 PM org.apache.zookeeper.Environment logEnv INFO: Client environment:os.name=Windows 7 Apr 8, 2014 2:10:27 PM org.apache.zookeeper.Environment logEnv INFO: Client environment:os.arch=amd64 Apr 8, 2014 2:10:27 PM org.apache.zookeeper.Environment logEnv INFO: Client environment:os.version=6.1 Apr 8, 2014 2:10:27 PM org.apache.zookeeper.Environment logEnv INFO: Client environment:user.name=Nishanth.Shajahan Apr 8, 2014 2:10:27 PM org.apache.zookeeper.Environment logEnv INFO: Client environment:user.home=C:\Users\Nishanth.Shajahan Apr 8, 2014 2:10:27 PM org.apache.zookeeper.Environment logEnv INFO: Client environment:user.dir=C:\Users\Nishanth.Shajahan\IBM\rationalsdp\workspace_eLogging3\EnterpriseLoggingServiceProject\EnterpriseLoggingIndexJava Apr 8, 2014 2:10:27 PM org.apache.zookeeper.ZooKeeper <init> INFO: Initiating client connection, connectString=10.4.113.30:2181 sessionTimeout=90000 watcher=hconnection-0x78bc17d9, quorum=10.4.113.30:2181, baseZNode=/hbase Apr 8, 2014 2:10:27 PM org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper <init> INFO: Process identifier=hconnection-0x78bc17d9 connecting to ZooKeeper ensemble=10.4.113.30:2181 Apr 8, 2014 2:10:32 PM 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 8, 2014 2:10:32 PM org.apache.zookeeper.ClientCnxn$SendThread primeConnection INFO: Socket connection established to 10.4.113.30/10.4.113.30:2181, initiating session Apr 8, 2014 2:10:32 PM org.apache.zookeeper.ClientCnxn$SendThread onConnected INFO: Session establishment complete on server 10.4.113.30/10.4.113.30:2181, sessionid = 0x544fb00042d5c84, negotiated timeout = 60000 Apr 8, 2014 2:10:37 PM org.apache.zookeeper.ZooKeeper <init> INFO: Initiating client connection, connectString=10.4.113.30:2181 sessionTimeout=90000 watcher=catalogtracker-on-hconnection-0x78bc17d9, quorum=10.4.113.30:2181, baseZNode=/hbase Apr 8, 2014 2:10:37 PM org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper <init> INFO: Process identifier=catalogtracker-on-hconnection-0x78bc17d9 connecting to ZooKeeper ensemble=10.4.113.30:2181 Apr 8, 2014 2:10:42 PM 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 8, 2014 2:10:42 PM org.apache.zookeeper.ClientCnxn$SendThread primeConnection INFO: Socket connection established to 10.4.113.30/10.4.113.30:2181, initiating session Apr 8, 2014 2:10:42 PM org.apache.zookeeper.ClientCnxn$SendThread onConnected INFO: Session establishment complete on server 10.4.113.30/10.4.113.30:2181, sessionid = 0x544fb00042d5c85, negotiated timeout = 60000
... View more
Labels:
04-07-2014
12:53 PM
I used the same code as above but getting the below error. exception=org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase I am connecting to a cdh cluster and to hbase master.I am running 5 zoo keeper instances.What would be my zoo keeper qourum in this case?
... View more