Hi, solr folks,

I followed the tutorial and everything worked well.

I then read the collection and distribtution twiki:
http://wiki.apache.org/solr/CollectionDistribution and tried to test
replication using the scripts.

What I did are the following:
- downloaded solr-nightly binary to two different boxes.
- ran the post script to create the indexes on one box, using it as the
master.
- ran snapshooter on the master; a snapshot file is created.
- ran rsync-enable and rsync-start at the master
- set up the master box config in the scripts.conf file on the slave box.
- ran snappuller-enable on the slave
- ran snappuller on the slave.

Here's a problem I got. It says there's no match for snapshot.* found on the
master box. This is wrong, there's one such file exists.

- I then ran snappuller specifically on the snap file that's on the master:
 ./bin/snappuller -n snapshot.20061023172655

This time it worked. and  running installer created the index successfully.

So there're two questions:

1. why the pattern match failed when running puller without params?

2. when I ran snappuller, it kept asking me for passwords for at least three
four time. Is this because it's using SSH? I have sudo permission on the
master box. This makes me think if it's a cron-job that calls up the
snappuller, how does the cron deal with this password prompts?



many thanks,

-Hui

Reply via email to