This happens with the data_directed_schema_configs example, too.

Could it be a file size issue? Small files are succeeding.

For the data_driven example, stopwords_it.txt (4924 bytes) worked, but 
stoptags_ja.txt (16724 bytes) failed. For my tutors config, schema.xml (9974 
bytes) failed. The largest file uploaded was 1094 bytes.

wunder
Walter Underwood
wun...@wunderwood.org
http://observer.wunderwood.org/  (my blog)


> On Mar 15, 2017, at 4:27 PM, Walter Underwood <wun...@wunderwood.org> wrote:
> 
> Python kazoo can talk to zookeeper, uploading these same files. Solr fails. 
> What is going on?
> 
> $ bin/solr create -c tutors -d tutors
> 
> Connecting to ZooKeeper at 
> zookeeper01.prod2.cloud.cheggnet.com:2181,zookeeper02.prod2.cloud.cheggnet.com:2181,zookeeper03.prod2.cloud.cheggnet.com,zookeeper04.prod2.cloud.cheggnet.com,zookeeper05.prod2.cloud.cheggnet.com:2181/solr-cloud
>  ...
> Uploading /apps/solr6/server/solr/configsets/tutors/conf for config tutors to 
> ZooKeeper at 
> zookeeper01.prod2.cloud.cheggnet.com:2181,zookeeper02.prod2.cloud.cheggnet.com:2181,zookeeper03.prod2.cloud.cheggnet.com,zookeeper04.prod2.cloud.cheggnet.com,zookeeper05.prod2.cloud.cheggnet.com:2181/solr-cloud
> WARN  - 2017-03-15 16:24:58.385; 
> org.apache.solr.common.cloud.ConnectionManager; Watcher 
> org.apache.solr.common.cloud.ConnectionManager@147a41e name: 
> ZooKeeperConnection 
> Watcher:zookeeper01.prod2.cloud.cheggnet.com:2181,zookeeper02.prod2.cloud.cheggnet.com:2181,zookeeper03.prod2.cloud.cheggnet.com,zookeeper04.prod2.cloud.cheggnet.com,zookeeper05.prod2.cloud.cheggnet.com:2181/solr-cloud
>  got event WatchedEvent state:Disconnected type:None path:null path: null 
> type: None
> WARN  - 2017-03-15 16:24:58.387; 
> org.apache.solr.common.cloud.ConnectionManager; zkClient has disconnected
> WARN  - 2017-03-15 16:25:05.489; 
> org.apache.solr.common.cloud.ConnectionManager; Watcher 
> org.apache.solr.common.cloud.ConnectionManager@147a41e name: 
> ZooKeeperConnection 
> Watcher:zookeeper01.prod2.cloud.cheggnet.com:2181,zookeeper02.prod2.cloud.cheggnet.com:2181,zookeeper03.prod2.cloud.cheggnet.com,zookeeper04.prod2.cloud.cheggnet.com,zookeeper05.prod2.cloud.cheggnet.com:2181/solr-cloud
>  got event WatchedEvent state:Disconnected type:None path:null path: null 
> type: None
> WARN  - 2017-03-15 16:25:05.490; 
> org.apache.solr.common.cloud.ConnectionManager; zkClient has disconnected
> WARN  - 2017-03-15 16:25:12.354; 
> org.apache.solr.common.cloud.ConnectionManager; Watcher 
> org.apache.solr.common.cloud.ConnectionManager@147a41e name: 
> ZooKeeperConnection 
> Watcher:zookeeper01.prod2.cloud.cheggnet.com:2181,zookeeper02.prod2.cloud.cheggnet.com:2181,zookeeper03.prod2.cloud.cheggnet.com,zookeeper04.prod2.cloud.cheggnet.com,zookeeper05.prod2.cloud.cheggnet.com:2181/solr-cloud
>  got event WatchedEvent state:Disconnected type:None path:null path: null 
> type: None
> WARN  - 2017-03-15 16:25:12.354; 
> org.apache.solr.common.cloud.ConnectionManager; zkClient has disconnected
> WARN  - 2017-03-15 16:25:23.460; 
> org.apache.solr.common.cloud.ConnectionManager; Watcher 
> org.apache.solr.common.cloud.ConnectionManager@147a41e name: 
> ZooKeeperConnection 
> Watcher:zookeeper01.prod2.cloud.cheggnet.com:2181,zookeeper02.prod2.cloud.cheggnet.com:2181,zookeeper03.prod2.cloud.cheggnet.com,zookeeper04.prod2.cloud.cheggnet.com,zookeeper05.prod2.cloud.cheggnet.com:2181/solr-cloud
>  got event WatchedEvent state:Disconnected type:None path:null path: null 
> type: None
> WARN  - 2017-03-15 16:25:23.460; 
> org.apache.solr.common.cloud.ConnectionManager; zkClient has disconnected
> WARN  - 2017-03-15 16:25:34.468; 
> org.apache.solr.common.cloud.ConnectionManager; Watcher 
> org.apache.solr.common.cloud.ConnectionManager@147a41e name: 
> ZooKeeperConnection 
> Watcher:zookeeper01.prod2.cloud.cheggnet.com:2181,zookeeper02.prod2.cloud.cheggnet.com:2181,zookeeper03.prod2.cloud.cheggnet.com,zookeeper04.prod2.cloud.cheggnet.com,zookeeper05.prod2.cloud.cheggnet.com:2181/solr-cloud
>  got event WatchedEvent state:Disconnected type:None path:null path: null 
> type: None
> WARN  - 2017-03-15 16:25:34.468; 
> org.apache.solr.common.cloud.ConnectionManager; zkClient has disconnected
> 
> ERROR: Error uploading file 
> /apps/solr6/server/solr/configsets/tutors/conf/schema.xml to zookeeper path 
> /configs/tutors/schema.xml
> 
> 
> wunder
> Walter Underwood
> wun...@wunderwood.org
> http://observer.wunderwood.org/  (my blog)
> 
> 

Reply via email to