Re: Configuring alias in Solr 6.5

2022-03-26 Thread Shawn Heisey
On 3/26/2022 3:42 PM, Phil Budne wrote: How do I configure the node hostname? I see "-Dhost=${HOSTNAME}" being passed to the jvm on startup. The actual setting of that value is accomplished in solr.xml.  The default stock solr.xml file has these three lines under the section.  These use syst

Re: Configuring alias in Solr 6.5

2022-03-26 Thread Phil Budne
Shawn wrote: > As a workaround to the "problem" they are trying to solve ... each Solr > node can be configured to send a different string for its hostname to > zookeeper than its actual hostname. Then you just make sure DNS is > always up to date and uses a low TTL value for the docker-related

Re: Configuring alias in Solr 6.5

2022-03-26 Thread Shawn Heisey
On 3/25/2022 9:49 PM, Phil Budne wrote: Thanks for the pictures. I think I may have it figured out. The Dockerfile for zookeeper runs upconf and linkconf for each collection, and then saves a copy of /var/lib/zookeeper duing construction of the image, and doesn't persist any changes made while

Re: Configuring alias in Solr 6.5

2022-03-25 Thread Phil Budne
Thanks for the pictures. I think I may have it figured out. The Dockerfile for zookeeper runs upconf and linkconf for each collection, and then saves a copy of /var/lib/zookeeper duing construction of the image, and doesn't persist any changes made while running. I found this comment: # Mov

Re: Configuring alias in Solr 6.5

2022-03-25 Thread Shawn Heisey
On 3/25/2022 5:04 PM, Phil Budne wrote: All that should be in zookeeper, not on the filesystem. Where should zookeeper stash the data? The aliases.json file is at the root of the zookeeper tree. https://www.dropbox.com/s/fc5clxz211ydesh/Screenshot%202022-03-25%2017.40.17.png?dl=0 I tried 6.6

Re: Configuring alias in Solr 6.5

2022-03-25 Thread Phil Budne
Shawn, Thanks for your reply! > All that should be in zookeeper, not on the filesystem. Where should zookeeper stash the data? > Don't go by what the admin UI shows you. Try accessing > http://server:port/solr//select?q=*:* ... substituting the correct > server, port, and alias name. Bot

Re: Configuring alias in Solr 6.5

2022-03-25 Thread Shawn Heisey
On 3/25/2022 12:04 PM, Phil Budne wrote: BUT, the alias definition does not persist between restarts. I haven't spotted any newly written (aliases.json?) file(s) created on any of the shards, or the zookeper system (all of the shards and zookeeper are running in Docker containers). All that sh

Configuring alias in Solr 6.5

2022-03-25 Thread Phil Budne
Hello Solr World, I'm a firefighter, brought in to help nurse a Solr Cloud system back to life until it can be replaced. It's running Solr 6.5, and a data item (key) field exceeded what will fit in a signed 32-bit collection field a while ago. I've been able to make a new collection with 64-bit