Re: solr directories
If you have legacyCloud set as true, then when the various Solr instances come back up they re-construct their state. The "smoking gun" here is if the data is in clusterstate.json in your new Zookeeper. If that's not operative, is it possible that you're still starting the embedded Zookeeper and getting data from _there_? Best, Erick On Thu, Mar 9, 2017 at 6:23 AM, Satya Marivadawrote: > Hi, > > We had solr running on embedded zookeeper. Moved to external zookeeper, as > part of this setup on the same vm, had done a fresh solr distribution > setup, zookeeper distribution and created new solrdata folder to hold the > nodes. All the old folders are archived (zipped and backed up). What > wonders is the new deploy pointing to external zookeeper still shows the > old collections that were created on embedded zookeeper on the solr admin > console. How is that possible, when I did a clean fresh install of the solr > distribution and zookeeper distribution. Is that the old collection > information stored in another location as well apart from solr-6.3.0 > distribution package, zookeeper-3.4.9 package and the solrdata folder? > Would solr write into any other directories? > > Thanks, > Satya
solr directories
Hi, We had solr running on embedded zookeeper. Moved to external zookeeper, as part of this setup on the same vm, had done a fresh solr distribution setup, zookeeper distribution and created new solrdata folder to hold the nodes. All the old folders are archived (zipped and backed up). What wonders is the new deploy pointing to external zookeeper still shows the old collections that were created on embedded zookeeper on the solr admin console. How is that possible, when I did a clean fresh install of the solr distribution and zookeeper distribution. Is that the old collection information stored in another location as well apart from solr-6.3.0 distribution package, zookeeper-3.4.9 package and the solrdata folder? Would solr write into any other directories? Thanks, Satya
Solr directories in 4.3
Hi, I am starting a fresh project. Could someone please explain to me what folders are needed here? [image: Inline image 1] I know solr and lib are needed. But what are all these other folders there for? Thanks. -- Regards, Raheel Hasan
Re: Solr directories in 4.3
Raheel, I can see the image, the mailing list doesn't work well with images, maybe you can upload the image in a site like http://picpaste.com/ and after share the link. -- Yago Riveiro Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Tuesday, June 4, 2013 at 10:39 AM, Raheel Hasan wrote: Hi, I am starting a fresh project. Could someone please explain to me what folders are needed here? I know solr and lib are needed. But what are all these other folders there for? Thanks. -- Regards, Raheel Hasan
Re: Solr directories in 4.3
ok, here you go: http://picpaste.com/solr_folders-JYwLHoRP.png On Tue, Jun 4, 2013 at 2:45 PM, Yago Riveiro yago.rive...@gmail.com wrote: Raheel, I can see the image, the mailing list doesn't work well with images, maybe you can upload the image in a site like http://picpaste.com/ and after share the link. -- Yago Riveiro Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Tuesday, June 4, 2013 at 10:39 AM, Raheel Hasan wrote: Hi, I am starting a fresh project. Could someone please explain to me what folders are needed here? I know solr and lib are needed. But what are all these other folders there for? Thanks. -- Regards, Raheel Hasan -- Regards, Raheel Hasan
Re: Solr directories in 4.3
The example is just that, its an example, not a cast iron base to work from. contexts, etc, lib, resources, solr-webapp and webapps are part of/related to the Jetty deployment. You might not need all the files in them though. cloud-scripts is just some sample scripts for accessing ZK (optional and only if you are using Solr cloud). example-DIH, examplesdocs are various example things (as the names suggest), either data or Data Import Handler related configuration multicore is an equivalent of solr for multiple cores, so you probably don't need that. solr contains the configuration, schema, and solr.xml/zoo.cfg (which I believe are being deprecated in favor of configuration in ZK itself). Certainly, you can remove the 2 example directories, the rest you'll have to look through and work out if you need it. It depends exactly what configuration you are trying to create as to what you need (single standalone core, multiple cores, Solr Cloud, etc) but that should give you a start. On 4 June 2013 11:01, Yago Riveiro yago.rive...@gmail.com wrote: Raheel, The folders are part of the jetty embedded into solr for run it. -- Yago Riveiro Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Tuesday, June 4, 2013 at 10:49 AM, Raheel Hasan wrote: ok, here you go: http://picpaste.com/solr_folders-JYwLHoRP.png On Tue, Jun 4, 2013 at 2:45 PM, Yago Riveiro yago.rive...@gmail.com(mailto: yago.rive...@gmail.com) wrote: Raheel, I can see the image, the mailing list doesn't work well with images, maybe you can upload the image in a site like http://picpaste.com/ and after share the link. -- Yago Riveiro Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Tuesday, June 4, 2013 at 10:39 AM, Raheel Hasan wrote: Hi, I am starting a fresh project. Could someone please explain to me what folders are needed here? I know solr and lib are needed. But what are all these other folders there for? Thanks. -- Regards, Raheel Hasan -- Regards, Raheel Hasan
Re: Solr directories in 4.3
ok thank alot for the fantastic explanation. Maybe your reply should be added into the README file that is in that folder.. On Tue, Jun 4, 2013 at 3:47 PM, Daniel Collins danwcoll...@gmail.comwrote: The example is just that, its an example, not a cast iron base to work from. contexts, etc, lib, resources, solr-webapp and webapps are part of/related to the Jetty deployment. You might not need all the files in them though. cloud-scripts is just some sample scripts for accessing ZK (optional and only if you are using Solr cloud). example-DIH, examplesdocs are various example things (as the names suggest), either data or Data Import Handler related configuration multicore is an equivalent of solr for multiple cores, so you probably don't need that. solr contains the configuration, schema, and solr.xml/zoo.cfg (which I believe are being deprecated in favor of configuration in ZK itself). Certainly, you can remove the 2 example directories, the rest you'll have to look through and work out if you need it. It depends exactly what configuration you are trying to create as to what you need (single standalone core, multiple cores, Solr Cloud, etc) but that should give you a start. On 4 June 2013 11:01, Yago Riveiro yago.rive...@gmail.com wrote: Raheel, The folders are part of the jetty embedded into solr for run it. -- Yago Riveiro Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Tuesday, June 4, 2013 at 10:49 AM, Raheel Hasan wrote: ok, here you go: http://picpaste.com/solr_folders-JYwLHoRP.png On Tue, Jun 4, 2013 at 2:45 PM, Yago Riveiro yago.rive...@gmail.com (mailto: yago.rive...@gmail.com) wrote: Raheel, I can see the image, the mailing list doesn't work well with images, maybe you can upload the image in a site like http://picpaste.com/ and after share the link. -- Yago Riveiro Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Tuesday, June 4, 2013 at 10:39 AM, Raheel Hasan wrote: Hi, I am starting a fresh project. Could someone please explain to me what folders are needed here? I know solr and lib are needed. But what are all these other folders there for? Thanks. -- Regards, Raheel Hasan -- Regards, Raheel Hasan -- Regards, Raheel Hasan
Re: question about Solr directories on mounted file systems
I've seen a nasty problem like this. When the mounted filesystem goes away, you can create regular directories and files under the mount point. When it comes back, the newly created files are not accessible. Yuk. --wunder On 11/6/08 8:19 AM, Chris Hostetter [EMAIL PROTECTED] wrote: : machine or human error can sometimes unmount the file system. This causes : Solr to write index files to a different area from the index I am using. can you clarify what you mean by this?
Re: question about Solr directories on mounted file systems
: I've seen a nasty problem like this. When the mounted filesystem goes away, : you can create regular directories and files under the mount point. When : it comes back, the newly created files are not accessible. Yuk. --wunder Ahhh i see what you mean. isn't the solution there to make sure the data directory (on the mounted filesystem) is writable by solr but that the parent directory (ie: the mount point) isn't writabl? ... so solr can't create the directory in the event that the mount point isn't there? -Hoss
question about Solr directories on mounted file systems
I have an application that is using SOLR on a mounted file system. However, machine or human error can sometimes unmount the file system. This causes Solr to write index files to a different area from the index I am using. This also means that the index instance becomes corrupt, because some entries are in the (correct) index, and some are in the one that was created because the mounted file system was missing. Is there an option in Solr that says Do not write to the index if the directory path does not already exist? Or some other way of ensuring that I don't get multiple index instances created unintentionally, in a situation such as this? Thanks!
Re: question about Solr directories on mounted file systems
I do not recommend using Lucene or Solr on a mounted file system. My implementation was 100X faster after I moved it from NFS to local disk. --wunder On 11/5/08 10:01 AM, Jim Adams [EMAIL PROTECTED] wrote: I have an application that is using SOLR on a mounted file system. However, machine or human error can sometimes unmount the file system. This causes Solr to write index files to a different area from the index I am using. This also means that the index instance becomes corrupt, because some entries are in the (correct) index, and some are in the one that was created because the mounted file system was missing. Is there an option in Solr that says Do not write to the index if the directory path does not already exist? Or some other way of ensuring that I don't get multiple index instances created unintentionally, in a situation such as this? Thanks!