Created
February 12, 2014 05:45
-
-
Save dpursehouse/8950602 to your computer and use it in GitHub Desktop.
Log output from reindex, before and after my fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ java -jar ./buck-out/gen/gerrit.war reindex -d ~/gerrit_testsite | |
[2014-02-12 14:44:37,463] INFO com.google.gerrit.server.git.LocalDiskRepositoryManager : Defaulting core.streamFileThreshold to 886m | |
[2014-02-12 14:44:37,585] INFO com.google.gerrit.server.cache.h2.H2CacheFactory : Enabling disk cache /home/david/gerrit_testsite/cache | |
[2014-02-12 14:44:37,649] INFO org.apache.solr.client.solrj.impl.HttpClientUtil : Creating new http client, config: | |
[2014-02-12 14:44:37,659] INFO org.apache.solr.client.solrj.impl.HttpClientUtil : Creating new http client, config: | |
[2014-02-12 14:44:37,684] INFO org.apache.zookeeper.ZooKeeper : Client environment:zookeeper.version=3.4.5-1392090, built on 09/30/2012 17:52 GMT | |
[2014-02-12 14:44:37,684] INFO org.apache.zookeeper.ZooKeeper : Client environment:host.name=xxxx | |
[2014-02-12 14:44:37,684] INFO org.apache.zookeeper.ZooKeeper : Client environment:java.version=1.7.0_45 | |
[2014-02-12 14:44:37,684] INFO org.apache.zookeeper.ZooKeeper : Client environment:java.vendor=Oracle Corporation | |
[2014-02-12 14:44:37,684] INFO org.apache.zookeeper.ZooKeeper : Client environment:java.home=/usr/lib/jvm/java-7-oracle-1.7.0.45/jre | |
[2014-02-12 14:44:37,684] INFO org.apache.zookeeper.ZooKeeper : Client environment:java.class.path=./buck-out/gen/gerrit.war | |
[2014-02-12 14:44:37,684] INFO org.apache.zookeeper.ZooKeeper : Client environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib | |
[2014-02-12 14:44:37,684] INFO org.apache.zookeeper.ZooKeeper : Client environment:java.io.tmpdir=/tmp | |
[2014-02-12 14:44:37,684] INFO org.apache.zookeeper.ZooKeeper : Client environment:java.compiler=<NA> | |
[2014-02-12 14:44:37,684] INFO org.apache.zookeeper.ZooKeeper : Client environment:os.name=Linux | |
[2014-02-12 14:44:37,684] INFO org.apache.zookeeper.ZooKeeper : Client environment:os.arch=amd64 | |
[2014-02-12 14:44:37,685] INFO org.apache.zookeeper.ZooKeeper : Client environment:os.version=3.2.0-58-generic | |
[2014-02-12 14:44:37,685] INFO org.apache.zookeeper.ZooKeeper : Client environment:user.name=22708925 | |
[2014-02-12 14:44:37,685] INFO org.apache.zookeeper.ZooKeeper : Client environment:user.home=/home/david | |
[2014-02-12 14:44:37,685] INFO org.apache.zookeeper.ZooKeeper : Client environment:user.dir=/home/david/git/gerrit | |
[2014-02-12 14:44:37,685] INFO org.apache.zookeeper.ZooKeeper : Initiating client connection, connectString=localhost:9983 sessionTimeout=10000 watcher=org.apache.solr.common.cloud.ConnectionManager@4aee9545 | |
[2014-02-12 14:44:37,688] DEBUG org.apache.zookeeper.ClientCnxn : zookeeper.disableAutoWatchReset is false | |
[2014-02-12 14:44:37,696] INFO org.apache.solr.common.cloud.ConnectionManager : Waiting for client to connect to ZooKeeper | |
[2014-02-12 14:44:37,700] INFO org.apache.zookeeper.ClientCnxn : Opening socket connection to server localhost/127.0.0.1:9983. Will not attempt to authenticate using SASL (unknown error) | |
[2014-02-12 14:44:37,705] INFO org.apache.zookeeper.ClientCnxn : Socket connection established to localhost/127.0.0.1:9983, initiating session | |
[2014-02-12 14:44:37,706] DEBUG org.apache.zookeeper.ClientCnxn : Session establishment request sent on localhost/127.0.0.1:9983 | |
[2014-02-12 14:44:37,770] INFO org.apache.zookeeper.ClientCnxn : Session establishment complete on server localhost/127.0.0.1:9983, sessionid = 0x144249b19dc0002, negotiated timeout = 10000 | |
[2014-02-12 14:44:37,772] INFO org.apache.solr.common.cloud.ConnectionManager : Watcher org.apache.solr.common.cloud.ConnectionManager@4aee9545 name:ZooKeeperConnection Watcher:localhost:9983 got event WatchedEvent state:SyncConnected type:None path:null path:null type:None | |
[2014-02-12 14:44:37,772] INFO org.apache.solr.common.cloud.ConnectionManager : Client is connected to ZooKeeper | |
[2014-02-12 14:44:37,784] DEBUG org.apache.zookeeper.ClientCnxn : Reading reply sessionid:0x144249b19dc0002, packet:: clientPath:null serverPath:null finished:false header:: 1,3 replyHeader:: 1,351,0 request:: '/clusterstate.json,F response:: s{20,345,1391665952603,1392183556320,10,0,0,0,561,0,20} | |
[2014-02-12 14:44:37,786] DEBUG org.apache.zookeeper.ClientCnxn : Reading reply sessionid:0x144249b19dc0002, packet:: clientPath:null serverPath:null finished:false header:: 2,3 replyHeader:: 2,351,0 request:: '/aliases.json,F response:: s{21,21,1391665952611,1391665952611,0,0,0,0,0,0,21} | |
[2014-02-12 14:44:37,787] INFO org.apache.solr.common.cloud.ZkStateReader : Updating cluster state from ZooKeeper... | |
[2014-02-12 14:44:37,790] DEBUG org.apache.zookeeper.ClientCnxn : Reading reply sessionid:0x144249b19dc0002, packet:: clientPath:null serverPath:null finished:false header:: 3,3 replyHeader:: 3,351,0 request:: '/clusterstate.json,T response:: s{20,345,1391665952603,1392183556320,10,0,0,0,561,0,20} | |
[2014-02-12 14:44:37,795] DEBUG org.apache.zookeeper.ClientCnxn : Reading reply sessionid:0x144249b19dc0002, packet:: clientPath:null serverPath:null finished:false header:: 4,8 replyHeader:: 4,351,0 request:: '/live_nodes,T response:: v{'127.0.1.1:8983_solr} | |
[2014-02-12 14:44:37,801] DEBUG org.apache.zookeeper.ClientCnxn : Reading reply sessionid:0x144249b19dc0002, packet:: clientPath:null serverPath:null finished:false header:: 5,4 replyHeader:: 5,351,0 request:: '/clusterstate.json,F response:: #7b22636f6c6c656374696f6e31223a7ba2020202022736861726473223a7ba20202020202022736861726431223a7ba20202020202020202272616e6765223a2238303030303030302d6666666666666666222ca2020202020202020227374617465223a22616374697665222ca2020202020202020227265706c69636173223a7b22636f72655f6e6f646531223a7ba202020202020202020202020227374617465223a22616374697665222ca20202020202020202020202022626173655f75726c223a22687474703a2f2f3132372e302e312e313a383938332f736f6c72222ca20202020202020202020202022636f7265223a22636f6c6c656374696f6e31222ca202020202020202020202020226e6f64655f6e616d65223a223132372e302e312e313a383938335f736f6c72222ca202020202020202020202020226c6561646572223a2274727565227d7d7d2ca20202020202022736861726432223a7ba20202020202020202272616e6765223a22302d3766666666666666222ca2020202020202020227374617465223a22616374697665222ca2020202020202020227265706c69636173223a7b7d7d7d2ca20202020226d61785368617264735065724e6f6465223a2231222ca2020202022726f75746572223a7b226e616d65223a22636f6d706f736974654964227d2ca20202020227265706c69636174696f6e466163746f72223a2231222ca20202020226175746f43726561746564223a2274727565227d7d,s{20,345,1391665952603,1392183556320,10,0,0,0,561,0,20} | |
fatal: Unknown document router '{name=compositeId}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ java -jar ./buck-out/gen/gerrit.war reindex -d ~/gerrit_testsite | |
[2014-02-12 14:41:17,697] INFO com.google.gerrit.server.git.LocalDiskRepositoryManager : Defaulting core.streamFileThreshold to 886m | |
[2014-02-12 14:41:17,822] INFO com.google.gerrit.server.cache.h2.H2CacheFactory : Enabling disk cache /home/david/gerrit_testsite/cache | |
[2014-02-12 14:41:17,886] INFO org.apache.solr.client.solrj.impl.HttpClientUtil : Creating new http client, config: | |
[2014-02-12 14:41:17,895] INFO org.apache.solr.client.solrj.impl.HttpClientUtil : Creating new http client, config: | |
[2014-02-12 14:41:17,921] INFO org.apache.zookeeper.ZooKeeper : Client environment:zookeeper.version=3.4.5-1392090, built on 09/30/2012 17:52 GMT | |
[2014-02-12 14:41:17,921] INFO org.apache.zookeeper.ZooKeeper : Client environment:host.name=xxxx | |
[2014-02-12 14:41:17,921] INFO org.apache.zookeeper.ZooKeeper : Client environment:java.version=1.7.0_45 | |
[2014-02-12 14:41:17,921] INFO org.apache.zookeeper.ZooKeeper : Client environment:java.vendor=Oracle Corporation | |
[2014-02-12 14:41:17,922] INFO org.apache.zookeeper.ZooKeeper : Client environment:java.home=/usr/lib/jvm/java-7-oracle-1.7.0.45/jre | |
[2014-02-12 14:41:17,922] INFO org.apache.zookeeper.ZooKeeper : Client environment:java.class.path=./buck-out/gen/gerrit.war | |
[2014-02-12 14:41:17,922] INFO org.apache.zookeeper.ZooKeeper : Client environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib | |
[2014-02-12 14:41:17,922] INFO org.apache.zookeeper.ZooKeeper : Client environment:java.io.tmpdir=/tmp | |
[2014-02-12 14:41:17,922] INFO org.apache.zookeeper.ZooKeeper : Client environment:java.compiler=<NA> | |
[2014-02-12 14:41:17,922] INFO org.apache.zookeeper.ZooKeeper : Client environment:os.name=Linux | |
[2014-02-12 14:41:17,922] INFO org.apache.zookeeper.ZooKeeper : Client environment:os.arch=amd64 | |
[2014-02-12 14:41:17,922] INFO org.apache.zookeeper.ZooKeeper : Client environment:os.version=3.2.0-58-generic | |
[2014-02-12 14:41:17,922] INFO org.apache.zookeeper.ZooKeeper : Client environment:user.name=22708925 | |
[2014-02-12 14:41:17,922] INFO org.apache.zookeeper.ZooKeeper : Client environment:user.home=/home/david | |
[2014-02-12 14:41:17,922] INFO org.apache.zookeeper.ZooKeeper : Client environment:user.dir=/home/david/git/gerrit | |
[2014-02-12 14:41:17,922] INFO org.apache.zookeeper.ZooKeeper : Initiating client connection, connectString=localhost:9983 sessionTimeout=10000 watcher=org.apache.solr.common.cloud.ConnectionManager@64255c05 | |
[2014-02-12 14:41:17,925] DEBUG org.apache.zookeeper.ClientCnxn : zookeeper.disableAutoWatchReset is false | |
[2014-02-12 14:41:17,935] INFO org.apache.zookeeper.ClientCnxn : Opening socket connection to server localhost/127.0.0.1:9983. Will not attempt to authenticate using SASL (unknown error) | |
[2014-02-12 14:41:17,936] INFO org.apache.solr.common.cloud.ConnectionManager : Waiting for client to connect to ZooKeeper | |
[2014-02-12 14:41:17,938] INFO org.apache.zookeeper.ClientCnxn : Socket connection established to localhost/127.0.0.1:9983, initiating session | |
[2014-02-12 14:41:17,939] DEBUG org.apache.zookeeper.ClientCnxn : Session establishment request sent on localhost/127.0.0.1:9983 | |
[2014-02-12 14:41:18,222] INFO org.apache.zookeeper.ClientCnxn : Session establishment complete on server localhost/127.0.0.1:9983, sessionid = 0x144249b19dc0001, negotiated timeout = 10000 | |
[2014-02-12 14:41:18,224] INFO org.apache.solr.common.cloud.ConnectionManager : Watcher org.apache.solr.common.cloud.ConnectionManager@64255c05 name:ZooKeeperConnection Watcher:localhost:9983 got event WatchedEvent state:SyncConnected type:None path:null path:null type:None | |
[2014-02-12 14:41:18,224] INFO org.apache.solr.common.cloud.ConnectionManager : Client is connected to ZooKeeper | |
[2014-02-12 14:41:18,236] DEBUG org.apache.zookeeper.ClientCnxn : Reading reply sessionid:0x144249b19dc0001, packet:: clientPath:null serverPath:null finished:false header:: 1,3 replyHeader:: 1,349,0 request:: '/clusterstate.json,F response:: s{20,345,1391665952603,1392183556320,10,0,0,0,561,0,20} | |
[2014-02-12 14:41:18,238] DEBUG org.apache.zookeeper.ClientCnxn : Reading reply sessionid:0x144249b19dc0001, packet:: clientPath:null serverPath:null finished:false header:: 2,3 replyHeader:: 2,349,0 request:: '/aliases.json,F response:: s{21,21,1391665952611,1391665952611,0,0,0,0,0,0,21} | |
[2014-02-12 14:41:18,238] INFO org.apache.solr.common.cloud.ZkStateReader : Updating cluster state from ZooKeeper... | |
[2014-02-12 14:41:18,242] DEBUG org.apache.zookeeper.ClientCnxn : Reading reply sessionid:0x144249b19dc0001, packet:: clientPath:null serverPath:null finished:false header:: 3,3 replyHeader:: 3,349,0 request:: '/clusterstate.json,T response:: s{20,345,1391665952603,1392183556320,10,0,0,0,561,0,20} | |
[2014-02-12 14:41:18,247] DEBUG org.apache.zookeeper.ClientCnxn : Reading reply sessionid:0x144249b19dc0001, packet:: clientPath:null serverPath:null finished:false header:: 4,8 replyHeader:: 4,349,0 request:: '/live_nodes,T response:: v{'127.0.1.1:8983_solr} | |
[2014-02-12 14:41:18,253] DEBUG org.apache.zookeeper.ClientCnxn : Reading reply sessionid:0x144249b19dc0001, packet:: clientPath:null serverPath:null finished:false header:: 5,4 replyHeader:: 5,349,0 request:: '/clusterstate.json,F response:: #7b22636f6c6c656374696f6e31223a7ba2020202022736861726473223a7ba20202020202022736861726431223a7ba20202020202020202272616e6765223a2238303030303030302d6666666666666666222ca2020202020202020227374617465223a22616374697665222ca2020202020202020227265706c69636173223a7b22636f72655f6e6f646531223a7ba202020202020202020202020227374617465223a22616374697665222ca20202020202020202020202022626173655f75726c223a22687474703a2f2f3132372e302e312e313a383938332f736f6c72222ca20202020202020202020202022636f7265223a22636f6c6c656374696f6e31222ca202020202020202020202020226e6f64655f6e616d65223a223132372e302e312e313a383938335f736f6c72222ca202020202020202020202020226c6561646572223a2274727565227d7d7d2ca20202020202022736861726432223a7ba20202020202020202272616e6765223a22302d3766666666666666222ca2020202020202020227374617465223a22616374697665222ca2020202020202020227265706c69636173223a7b7d7d7d2ca20202020226d61785368617264735065724e6f6465223a2231222ca2020202022726f75746572223a7b226e616d65223a22636f6d706f736974654964227d2ca20202020227265706c69636174696f6e466163746f72223a2231222ca20202020226175746f43726561746564223a2274727565227d7d,s{20,345,1391665952603,1392183556320,10,0,0,0,561,0,20} | |
Exception in thread "main" 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:260) | |
at org.apache.solr.common.cloud.ClusterState.load(ClusterState.java:228) | |
at org.apache.solr.common.cloud.ClusterState.load(ClusterState.java:204) | |
at org.apache.solr.common.cloud.ZkStateReader.createClusterStateWatchersAndUpdate(ZkStateReader.java:299) | |
at org.apache.solr.client.solrj.impl.CloudSolrServer.connect(CloudSolrServer.java:149) | |
at org.apache.solr.client.solrj.impl.CloudSolrServer.request(CloudSolrServer.java:173) | |
at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:117) | |
at org.apache.solr.client.solrj.SolrServer.deleteByQuery(SolrServer.java:285) | |
at org.apache.solr.client.solrj.SolrServer.deleteByQuery(SolrServer.java:271) | |
at com.google.gerrit.solr.SolrChangeIndex.deleteAll(SolrChangeIndex.java:203) | |
at com.google.gerrit.pgm.Reindex.run(Reindex.java:147) | |
at com.google.gerrit.pgm.util.AbstractProgram.main(AbstractProgram.java:63) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:606) | |
at com.google.gerrit.launcher.GerritLauncher.invokeProgram(GerritLauncher.java:167) | |
at com.google.gerrit.launcher.GerritLauncher.mainImpl(GerritLauncher.java:94) | |
at com.google.gerrit.launcher.GerritLauncher.main(GerritLauncher.java:51) | |
at Main.main(Main.java:25) | |
[2014-02-12 14:41:21,591] DEBUG org.apache.zookeeper.ClientCnxn : Got ping response for sessionid: 0x144249b19dc0001 after 0ms | |
[2014-02-12 14:41:24,927] DEBUG org.apache.zookeeper.ClientCnxn : Got ping response for sessionid: 0x144249b19dc0001 after 0ms | |
[2014-02-12 14:41:28,264] DEBUG org.apache.zookeeper.ClientCnxn : Got ping response for sessionid: 0x144249b19dc0001 after 0ms | |
[2014-02-12 14:41:31,600] DEBUG org.apache.zookeeper.ClientCnxn : Got ping response for sessionid: 0x144249b19dc0001 after 0ms | |
[2014-02-12 14:41:34,937] DEBUG org.apache.zookeeper.ClientCnxn : Got ping response for sessionid: 0x144249b19dc0001 after 0ms | |
[2014-02-12 14:41:38,273] DEBUG org.apache.zookeeper.ClientCnxn : Got ping response for sessionid: 0x144249b19dc0001 after 0ms | |
[2014-02-12 14:41:41,609] DEBUG org.apache.zookeeper.ClientCnxn : Got ping response for sessionid: 0x144249b19dc0001 after 0ms | |
[2014-02-12 14:41:44,946] DEBUG org.apache.zookeeper.ClientCnxn : Got ping response for sessionid: 0x144249b19dc0001 after 0ms |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment