KeeperErrorCode = NoNode for /clusterstate.json

490 views
Skip to first unread message

Sofia Panagiotidi

unread,
Nov 29, 2015, 8:49:07 AM11/29/15
to HBase Indexer Users
I have been battling with this error during the last days. I wonder if someone could be of any help.

I downloaded, properly configured the hbase-indexer with my HBase 1.1.2 and both Solr 4.10.4 and Solr 5.21

Then, I tried the tutorial, started the hbase-indexer server just fine, and created an indexer without problems:


hbase-indexer add-indexer -n myindexer -c ~/Desktop/indexdemo-indexer.xml -cp solr.zk=master-VirtualBox:2181/solr -cp solr.collection=sofiacollection44 -z master-VirtualBox



But when trying adding to HBase, something like

put 'indexdemo-user', 'row2', 'info:lastname', 'Smith'



I get the following error



15/11/29 14:41:41 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=master-VirtualBox:2181/solr sessionTimeout=30000 watcher=org.apache.solr.common.cloud.ConnectionManager@1bfba398
15/11/29 14:41:41 INFO cloud.ConnectionManager: Waiting for client to connect to ZooKeeper
15/11/29 14:41:41 INFO zookeeper.ClientCnxn: Opening socket connection to server master-VirtualBox/192.168.1.44:2181. Will not attempt to authenticate using SASL (unknown error)
15/11/29 14:41:41 INFO zookeeper.ClientCnxn: Socket connection established to master-VirtualBox/192.168.1.44:2181, initiating session
15/11/29 14:41:41 INFO zookeeper.ClientCnxn: Session establishment complete on server master-VirtualBox/192.168.1.44:2181, sessionid = 0x100004feb5900d0, negotiated timeout = 30000
15/11/29 14:41:41 INFO cloud.ConnectionManager: Watcher org.apache.solr.common.cloud.ConnectionManager@1bfba398 name:ZooKeeperConnection Watcher:master-VirtualBox:2181/solr got event WatchedEvent state:SyncConnected type:None path:null path:null type:None
15/11/29 14:41:41 INFO cloud.ConnectionManager: Client is connected to ZooKeeper
15/11/29 14:41:41 INFO cloud.SolrZkClient: makePath: /clusterstate.json
15/
11/29 14:41:41 ERROR impl.SepEventExecutor: Error while processing event
java
.lang.RuntimeException: org.apache.solr.common.cloud.ZooKeeperException:
 at com
.ngdata.hbaseindexer.indexer.IndexingEventListener.processEvents(IndexingEventListener.java:102)
 at com
.ngdata.sep.impl.SepEventExecutor$1.run(SepEventExecutor.java:97)
 at java
.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at java
.util.concurrent.FutureTask.run(FutureTask.java:262)
 at java
.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 at java
.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java
.lang.Thread.run(Thread.java:745)
Caused by: org.apache.solr.common.cloud.ZooKeeperException:
 at org
.apache.solr.client.solrj.impl.CloudSolrServer.connect(CloudSolrServer.java:168)
 at org
.apache.solr.client.solrj.impl.CloudSolrServer.request(CloudSolrServer.java:185)
 at org
.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:117)
 at org
.apache.solr.client.solrj.SolrServer.add(SolrServer.java:68)
 at org
.apache.solr.client.solrj.SolrServer.add(SolrServer.java:54)
 at com
.ngdata.hbaseindexer.indexer.DirectSolrInputDocumentWriter.add(DirectSolrInputDocumentWriter.java:104)
 at com
.ngdata.hbaseindexer.indexer.Indexer.indexRowData(Indexer.java:156)
 at com
.ngdata.hbaseindexer.indexer.IndexingEventListener.processEvents(IndexingEventListener.java:99)
 
... 6 more
Caused by: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /clusterstate.json
 at org
.apache.zookeeper.KeeperException.create(KeeperException.java:111)
 at org
.apache.zookeeper.KeeperException.create(KeeperException.java:51)
 at org
.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:783)
 at org
.apache.solr.common.cloud.SolrZkClient$10.execute(SolrZkClient.java:407)
 at org
.apache.solr.common.cloud.ZkCmdExecutor.retryOperation(ZkCmdExecutor.java:65)
 at org
.apache.solr.common.cloud.SolrZkClient.makePath(SolrZkClient.java:404)
 at org
.apache.solr.common.cloud.SolrZkClient.makePath(SolrZkClient.java:361)
 at org
.apache.solr.common.cloud.SolrZkClient.makePath(SolrZkClient.java:348)
 at org
.apache.solr.common.cloud.SolrZkClient.makePath(SolrZkClient.java:335)
 at org
.apache.solr.common.cloud.ZkCmdExecutor.ensureExists(ZkCmdExecutor.java:96)
 at org
.apache.solr.common.cloud.ZkCmdExecutor.ensureExists(ZkCmdExecutor.java:86)
 at org
.apache.solr.common.cloud.ZkStateReader.createClusterStateWatchersAndUpdate(ZkStateReader.java:196)
 at org
.apache.solr.client.solrj.impl.CloudSolrServer.connect(CloudSolrServer.java:161)
 
... 13 more
15/11/29 14:41:41 WARN impl.SepConsumer: Error processing a batch of SEP events, the error will be forwarded to HBase for retry
java
.util.concurrent.ExecutionException: java.lang.RuntimeException: org.apache.solr.common.cloud.ZooKeeperException:
 at java
.util.concurrent.FutureTask.report(FutureTask.java:122)
 at java
.util.concurrent.FutureTask.get(FutureTask.java:188)
 at com
.ngdata.sep.impl.SepConsumer.waitOnSepEventCompletion(SepConsumer.java:282)
 at com
.ngdata.sep.impl.SepConsumer.replicateWALEntry(SepConsumer.java:263)
 at org
.apache.hadoop.hbase.protobuf.generated.AdminProtos$AdminService$2.callBlockingMethod(AdminProtos.java:20176)
 at org
.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2031)
 at org
.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:108)
 at org
.apache.hadoop.hbase.ipc.FifoRpcScheduler$1.run(FifoRpcScheduler.java:74)
 at java
.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at java
.util.concurrent.FutureTask.run(FutureTask.java:262)
 at java
.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 at java
.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java
.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: org.apache.solr.common.cloud.ZooKeeperException:
 at com
.ngdata.hbaseindexer.indexer.IndexingEventListener.processEvents(IndexingEventListener.java:102)
 at com
.ngdata.sep.impl.SepEventExecutor$1.run(SepEventExecutor.java:97)
 
... 5 more
Caused by: org.apache.solr.common.cloud.ZooKeeperException:
 at org
.apache.solr.client.solrj.impl.CloudSolrServer.connect(CloudSolrServer.java:168)
 at org
.apache.solr.client.solrj.impl.CloudSolrServer.request(CloudSolrServer.java:185)
 at org
.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:117)
 at org
.apache.solr.client.solrj.SolrServer.add(SolrServer.java:68)
 at org
.apache.solr.client.solrj.SolrServer.add(SolrServer.java:54)
 at com
.ngdata.hbaseindexer.indexer.DirectSolrInputDocumentWriter.add(DirectSolrInputDocumentWriter.java:104)
 at com
.ngdata.hbaseindexer.indexer.Indexer.indexRowData(Indexer.java:156)
 at com
.ngdata.hbaseindexer.indexer.IndexingEventListener.processEvents(IndexingEventListener.java:99)
 
... 6 more
Caused by: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /clusterstate.json
 at org
.apache.zookeeper.KeeperException.create(KeeperException.java:111)
 at org
.apache.zookeeper.KeeperException.create(KeeperException.java:51)
 at org
.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:783)
 at org
.apache.solr.common.cloud.SolrZkClient$10.execute(SolrZkClient.java:407)
 at org
.apache.solr.common.cloud.ZkCmdExecutor.retryOperation(ZkCmdExecutor.java:65)
 at org
.apache.solr.common.cloud.SolrZkClient.makePath(SolrZkClient.java:404)
 at org
.apache.solr.common.cloud.SolrZkClient.makePath(SolrZkClient.java:361)
 at org
.apache.solr.common.cloud.SolrZkClient.makePath(SolrZkClient.java:348)
 at org
.apache.solr.common.cloud.SolrZkClient.makePath(SolrZkClient.java:335)
 at org
.apache.solr.common.cloud.ZkCmdExecutor.ensureExists(ZkCmdExecutor.java:96)
 at org
.apache.solr.common.cloud.ZkCmdExecutor.ensureExists(ZkCmdExecutor.java:86)
 at org
.apache.solr.common.cloud.ZkStateReader.createClusterStateWatchersAndUpdate(ZkStateReader.java:196)
 at org
.apache.solr.client.solrj.impl.CloudSolrServer.connect(CloudSolrServer.java:161)
 
... 13 more
15/11/29 14:41:41 ERROR impl.SepConsumer: Encountered exceptions on 1 batches (out of 1 total batches)
15/11/29 14:41:41 ERROR ipc.RpcServer: Unexpected throwable object
java
.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: org.apache.solr.common.cloud.ZooKeeperException:
 at com
.ngdata.sep.impl.SepConsumer.waitOnSepEventCompletion(SepConsumer.java:297)
 at com
.ngdata.sep.impl.SepConsumer.replicateWALEntry(SepConsumer.java:263)
 at org
.apache.hadoop.hbase.protobuf.generated.AdminProtos$AdminService$2.callBlockingMethod(AdminProtos.java:20176)
 at org
.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2031)
 at org
.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:108)
 at org
.apache.hadoop.hbase.ipc.FifoRpcScheduler$1.run(FifoRpcScheduler.java:74)
 at java
.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at java
.util.concurrent.FutureTask.run(FutureTask.java:262)
 at java
.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 at java
.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java
.lang.Thread.run(Thread.java:745)
Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: org.apache.solr.common.cloud.ZooKeeperException:
 at java
.util.concurrent.FutureTask.report(FutureTask.java:122)
 at java
.util.concurrent.FutureTask.get(FutureTask.java:188)
 at com
.ngdata.sep.impl.SepConsumer.waitOnSepEventCompletion(SepConsumer.java:282)
 
... 10 more
Caused by: java.lang.RuntimeException: org.apache.solr.common.cloud.ZooKeeperException:
 at com
.ngdata.hbaseindexer.indexer.IndexingEventListener.processEvents(IndexingEventListener.java:102)
 at com
.ngdata.sep.impl.SepEventExecutor$1.run(SepEventExecutor.java:97)
 
... 5 more
Caused by: org.apache.solr.common.cloud.ZooKeeperException:
 at org
.apache.solr.client.solrj.impl.CloudSolrServer.connect(CloudSolrServer.java:168)
 at org
.apache.solr.client.solrj.impl.CloudSolrServer.request(CloudSolrServer.java:185)
 at org
.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:117)
 at org
.apache.solr.client.solrj.SolrServer.add(SolrServer.java:68)
 at org
.apache.solr.client.solrj.SolrServer.add(SolrServer.java:54)
 at com
.ngdata.hbaseindexer.indexer.DirectSolrInputDocumentWriter.add(DirectSolrInputDocumentWriter.java:104)
 at com
.ngdata.hbaseindexer.indexer.Indexer.indexRowData(Indexer.java:156)
 at com
.ngdata.hbaseindexer.indexer.IndexingEventListener.processEvents(IndexingEventListener.java:99)
 
... 6 more
Caused by: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /clusterstate.json
 at org
.apache.zookeeper.KeeperException.create(KeeperException.java:111)
 at org
.apache.zookeeper.KeeperException.create(KeeperException.java:51)
 at org
.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:783)
 at org
.apache.solr.common.cloud.SolrZkClient$10.execute(SolrZkClient.java:407)
 at org
.apache.solr.common.cloud.ZkCmdExecutor.retryOperation(ZkCmdExecutor.java:65)
 at org
.apache.solr.common.cloud.SolrZkClient.makePath(SolrZkClient.java:404)
 at org
.apache.solr.common.cloud.SolrZkClient.makePath(SolrZkClient.java:361)
 at org
.apache.solr.common.cloud.SolrZkClient.makePath(SolrZkClient.java:348)
 at org
.apache.solr.common.cloud.SolrZkClient.makePath(SolrZkClient.java:335)
 at org
.apache.solr.common.cloud.ZkCmdExecutor.ensureExists(ZkCmdExecutor.java:96)
 at org
.apache.solr.common.cloud.ZkCmdExecutor.ensureExists(ZkCmdExecutor.java:86)
 at org
.apache.solr.common.cloud.ZkStateReader.createClusterStateWatchersAndUpdate(ZkStateReader.java:196)
 at org
.apache.solr.client.solrj.impl.CloudSolrServer.connect(CloudSolrServer.java:161)
 
... 13 more





I understand it is a zookeeper issue, but when I connect to the zookeeper I can see and read the /clusterstate.json

Initially I thought it was a Solr 5.x problem as I saw that the /clusterstate.json is not used anymore, but with Solr 4.x I keep getting the same error.

Sofia Panagiotidi

unread,
Nov 29, 2015, 10:15:16 AM11/29/15
to HBase Indexer Users
Some additional information

I am using my own zookeeper at master-VirtualBox:2181 and I start Solr 4.10.4 like this

solr start -cloud -s cloud/node1/solr -z master-VirtualBox:2181


...
Message has been deleted

Sofia Panagiotidi

unread,
Nov 29, 2015, 2:51:29 PM11/29/15
to HBase Indexer Users
Continuation:

On the other hand, if I use a different solr.zk value without the /solr in the end (which I just now suspected that should be) and execute

hbase-indexer add-indexer -n myindexer -~/Desktop/indexdemo-indexer.xml -cp solr.zk=master-VirtualBox:2181 -cp solr.collection=sofiacollection44 -z master-VirtualBox


I get in Solr 5.2.1 the following:


15/11/29 20:19:52 WARN ipc.RpcServer: RpcServer.respondercallId: 4 service: AdminService methodName: ReplicateWALEntry size: 173 connection: 192.168.1.44:39948: output error
15/11/29 20:19:52 INFO zookeeper.ClientCnxn: Socket connection established to master-VirtualBox/192.168.1.44:2181, initiating session
15/11/29 20:19:52 WARN ipc.RpcServer: FifoRpcScheduler.handler3-thread-5: caught a ClosedChannelException, this means that the server was processing a request but the client went away. The error message was: null
15/11/29 20:19:52 INFO zookeeper.ClientCnxn: Session establishment complete on server master-VirtualBox/192.168.1.44:2181, sessionid = 0x10001047eb70028, negotiated timeout = 40000
15/11/29 20:19:52 INFO replication.ReplicationPeersZKImpl: Added new peer cluster master-VirtualBox:2181:/ngdata/sep/hbase-slave/Indexer_myindexer
15/11/29 20:19:52 INFO zookeeper.RecoverableZooKeeper: Node /hbase/replication/rs already exists and this is not a retry
15/11/29 20:19:52 WARN supervisor.IndexerSupervisor: No indexer process to unregister for indexer myindexer
15/11/29 20:24:51 WARN supervisor.IndexerSupervisor: No indexer process to unregister for indexer myindexer
15/11/29 20:24:51 INFO zookeeper.RecoverableZooKeeper: Process identifier=Replication Admin connecting to ZooKeeper ensemble=master-VirtualBox:2181
15/11/29 20:24:51 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=master-VirtualBox:2181 sessionTimeout=90000 watcher=Replication Admin, quorum=master-VirtualBox:2181, baseZNode=/hbase
15/
11/29 20:24:51 INFO zookeeper.ClientCnxn: Opening socket connection to server master-VirtualBox/192.168.1.44:2181. Will not attempt to authenticate using SASL (unknown error)
15/11/29 20:24:51 INFO zookeeper.ClientCnxn: Socket connection established to master-VirtualBox/192.168.1.44:2181, initiating session
15/11/29 20:24:51 INFO zookeeper.ClientCnxn: Session establishment complete on server master-VirtualBox/192.168.1.44:2181, sessionid = 0x10001047eb7002a, negotiated timeout = 40000
15/11/29 20:24:51 INFO zookeeper.RecoverableZooKeeper: Node /hbase/replication/rs already exists and this is not a retry
15/11/29 20:24:51 INFO zookeeper.RecoverableZooKeeper: Node /hbase/replication/peers already exists and this is not a retry
15/11/29 20:24:51 INFO master.IndexerMaster: Assigned subscription ID 'Indexer_myindexer' to indexer 'myindexer'
15/11/29 20:24:51 INFO impl.HttpClientUtil: Creating new http client, config:
15/11/29 20:24:51 INFO ipc.RpcServer: regionserver/master-VirtualBox/192.168.1.44:0: started 10 reader(s).
15/11/29 20:24:51 INFO zookeeper.RecoverableZooKeeper: Process identifier=master-VirtualBox,58522,1448825091317 connecting to ZooKeeper ensemble=master-VirtualBox:2181
15/11/29 20:24:51 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=master-VirtualBox:2181 sessionTimeout=90000 watcher=master-VirtualBox,58522,1448825091317, quorum=master-VirtualBox:2181, baseZNode=/hbase
15/
11/29 20:24:51 INFO zookeeper.ClientCnxn: Opening socket connection to server master-VirtualBox/192.168.1.44:2181. Will not attempt to authenticate using SASL (unknown error)
15/11/29 20:24:51 INFO ipc.RpcServer: RpcServer.responder: starting
15/11/29 20:24:51 INFO ipc.RpcServer: RpcServer.listener,port=58522: starting
15/11/29 20:24:51 INFO supervisor.IndexerSupervisor: Started indexer for myindexer
15/11/29 20:24:51 INFO zookeeper.ClientCnxn: Socket connection established to master-VirtualBox/192.168.1.44:2181, initiating session
15/11/29 20:24:51 INFO zookeeper.ClientCnxn: Session establishment complete on server master-VirtualBox/192.168.1.44:2181, sessionid = 0x10001047eb7002b, negotiated timeout = 40000
15/11/29 20:24:54 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=master:2181 sessionTimeout=30000 watcher=org.apache.solr.common.cloud.ConnectionManager@260ecb5b
15/11/29 20:24:54 INFO cloud.ConnectionManager: Waiting for client to connect to ZooKeeper
15/11/29 20:24:54 INFO zookeeper.ClientCnxn: Opening socket connection to server master-VirtualBox/192.168.1.44:2181. Will not attempt to authenticate using SASL (unknown error)
15/11/29 20:24:54 INFO zookeeper.ClientCnxn: Socket connection established to master-VirtualBox/192.168.1.44:2181, initiating session
15/11/29 20:24:54 INFO zookeeper.ClientCnxn: Session establishment complete on server master-VirtualBox/192.168.1.44:2181, sessionid = 0x10001047eb7002e, negotiated timeout = 30000
15/11/29 20:24:54 INFO cloud.ConnectionManager: Watcher org.apache.solr.common.cloud.ConnectionManager@260ecb5b name:ZooKeeperConnection Watcher:master:2181 got event WatchedEvent state:SyncConnected type:None path:null path:null type:None
15/11/29 20:24:54 INFO cloud.ConnectionManager: Client is connected to ZooKeeper
15/11/29 20:24:54 INFO cloud.ZkStateReader: Updating cluster state from ZooKeeper...
15/11/29 20:24:54 ERROR indexer.DirectSolrInputDocumentWriter: Error updating Solr
org
.apache.solr.common.SolrException: Collection not found: sofiacollection44
 at org
.apache.solr.client.solrj.impl.CloudSolrServer.getCollectionList(CloudSolrServer.java:338)
 at org
.apache.solr.client.solrj.impl.CloudSolrServer.request(CloudSolrServer.java:219)
 at org
.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:117)
 at org
.apache.solr.client.solrj.SolrServer.add(SolrServer.java:116)
 at org
.apache.solr.client.solrj.SolrServer.add(SolrServer.java:102)
 at com
.ngdata.hbaseindexer.indexer.DirectSolrInputDocumentWriter.retryAddsIndividually(DirectSolrInputDocumentWriter.java:123)
 at com
.ngdata.hbaseindexer.indexer.DirectSolrInputDocumentWriter.add(DirectSolrInputDocumentWriter.java:108)

 at com
.ngdata.hbaseindexer.indexer.Indexer.indexRowData(Indexer.java:156)
 at com
.ngdata.hbaseindexer.indexer.IndexingEventListener.processEvents(IndexingEventListener.java:99)

 at com
.ngdata.sep.impl.SepEventExecutor$1.run(SepEventExecutor.java:97)
 at java
.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at java
.util.concurrent.FutureTask.run(FutureTask.java:262)
 at java
.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 at java
.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java
.lang.Thread.run(Thread.java:745)
^C15/11/29 20:24:55 INFO mortbay.log: Stopped SelectChannelConnector@0.0.0.0:11060
15/11/29 20:24:55 INFO supervisor.IndexerSupervisor: IndexerWorker.EventWorker interrupted.


and in Solr 4.10.4 I get

15/11/29 20:35:43 INFO impl.MetricsSystemImpl: HBase metrics system started
15/11/29 20:35:43 INFO zookeeper.RecoverableZooKeeper: Process identifier=master-VirtualBox,52861,1448825743137 connecting to ZooKeeper ensemble=master-VirtualBox:2181
15/11/29 20:35:43 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=master-VirtualBox:2181 sessionTimeout=90000 watcher=master-VirtualBox,52861,1448825743137, quorum=master-VirtualBox:2181, baseZNode=/hbase
15/
11/29 20:35:43 INFO zookeeper.ClientCnxn: Opening socket connection to server master-VirtualBox/192.168.1.44:2181. Will not attempt to authenticate using SASL (unknown error)
15/11/29 20:35:43 INFO zookeeper.ClientCnxn: Socket connection established to master-VirtualBox/192.168.1.44:2181, initiating session
15/11/29 20:35:43 INFO zookeeper.ClientCnxn: Session establishment complete on server master-VirtualBox/192.168.1.44:2181, sessionid = 0x10001047eb7004d, negotiated timeout = 40000
15/11/29 20:35:43 INFO ipc.RpcServer: RpcServer.responder: starting
15/11/29 20:35:43 INFO ipc.RpcServer: RpcServer.listener,port=52861: starting
15/11/29 20:35:43 INFO supervisor.IndexerSupervisor: Started indexer for myindexer
15/11/29 20:35:45 INFO zookeeper.RecoverableZooKeeper: Process identifier=hconnection-0x7615044a connecting to ZooKeeper ensemble=master-VirtualBox:2181
15/11/29 20:35:45 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=master-VirtualBox:2181 sessionTimeout=90000 watcher=hconnection-0x7615044a, quorum=master-VirtualBox:2181, baseZNode=/hbase
15/
11/29 20:35:45 INFO zookeeper.ClientCnxn: Opening socket connection to server master-VirtualBox/192.168.1.44:2181. Will not attempt to authenticate using SASL (unknown error)
15/11/29 20:35:45 INFO zookeeper.ClientCnxn: Socket connection established to master-VirtualBox/192.168.1.44:2181, initiating session
15/11/29 20:35:45 INFO zookeeper.ClientCnxn: Session establishment complete on server master-VirtualBox/192.168.1.44:2181, sessionid = 0x10001047eb7004e, negotiated timeout = 40000
15/11/29 20:35:45 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=master:2181 sessionTimeout=30000 watcher=org.apache.solr.common.cloud.ConnectionManager@1761271
15/11/29 20:35:45 INFO cloud.ConnectionManager: Waiting for client to connect to ZooKeeper
15/11/29 20:35:45 INFO zookeeper.ClientCnxn: Opening socket connection to server master-VirtualBox/192.168.1.44:2181. Will not attempt to authenticate using SASL (unknown error)
15/11/29 20:35:45 INFO zookeeper.ClientCnxn: Socket connection established to master-VirtualBox/192.168.1.44:2181, initiating session
15/11/29 20:35:45 INFO zookeeper.ClientCnxn: Session establishment complete on server master-VirtualBox/192.168.1.44:2181, sessionid = 0x10001047eb7004f, negotiated timeout = 30000
15/11/29 20:35:45 INFO cloud.ConnectionManager: Watcher org.apache.solr.common.cloud.ConnectionManager@1761271 name:ZooKeeperConnection Watcher:master:2181 got event WatchedEvent state:SyncConnected type:None path:null path:null type:None
15/11/29 20:35:45 INFO cloud.ConnectionManager: Client is connected to ZooKeeper
15/11/29 20:35:45 INFO cloud.ZkStateReader: Updating cluster state from ZooKeeper...
15/11/29 20:35:45 ERROR impl.SepEventExecutor: Error while processing event
java
.lang.RuntimeException: org.apache.solr.common.SolrException: Unknown document router '{name=compositeId}'

 at com
.ngdata.hbaseindexer.indexer.IndexingEventListener.processEvents(IndexingEventListener.java:102)
 at com
.ngdata.sep.impl.SepEventExecutor$1.run(SepEventExecutor.java:97)
 at java
.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at java
.util.concurrent.FutureTask.run(FutureTask.java:262)
 at java
.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 at java
.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java
.lang.Thread.run(Thread.java:745)
Caused by: org.apache.solr.common.SolrException: Unknown document router '{name=compositeId}'
 at org
.apache.solr.common.cloud.DocRouter.getDocRouter(DocRouter.java:46)
 at org
.apache.solr.common.cloud.ClusterState.collectionFromObjects(ClusterState.java:263)
 at org
.apache.solr.common.cloud.ClusterState.load(ClusterState.java:231)
 at org
.apache.solr.common.cloud.ClusterState.load(ClusterState.java:207)
 at org
.apache.solr.common.cloud.ZkStateReader.createClusterStateWatchersAndUpdate(ZkStateReader.java:299)
 at org
.apache.solr.client.solrj.impl.CloudSolrServer.connect(CloudSolrServer.java:161)

 at org
.apache.solr.client.solrj.impl.CloudSolrServer.request(CloudSolrServer.java:185)
 at org
.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:117)
 at org
.apache.solr.client.solrj.SolrServer.add(SolrServer.java:68)

 at org
.apache.solr.client.solrj.SolrServer.add(SolrServer.java:54)
 at com
.ngdata.hbaseindexer.indexer.DirectSolrInputDocumentWriter.add(DirectSolrInputDocumentWriter.java:104)
 at com
.ngdata.hbaseindexer.indexer.Indexer.indexRowData(Indexer.java:156)
 at com
.ngdata.hbaseindexer.indexer.IndexingEventListener.processEvents(IndexingEventListener.java:99)
 
... 6 more

From what I understand, in the first case, in the hbase-indexer tries to read the /clusterstate.json and as in Solr 5.x it does not get updated, it fails as it finds no collections inside.

Ideally, I would like to use hbase-indexer with Solr 5.x. Is there any way to do this, or this is just bad news?
Reply all
Reply to author
Forward
0 new messages