In my screenshot (not sure it made it to the list) you see I selected my 
configset folder and it says "Node configs/foo has no utf8 content".
In your Admin UI screen (Cloud -> Tree -> configs/myCollection) you should see 
in right panel below the metadata the content of the ZNode. If it says 
something else than "Node ... has no utf8 content" then there is something 
fishy going on...

You can also try fetching the node content from your shell with this command

/opt/solr/server/scripts/cloud-scripts/zkcli.sh -z localhost:9983 -cmd get 
/configs/foo >foo.txt

It will write the content to "foo.txt", and according to the stack trace, that 
file will be non-empty and contain non-JSON.

Jan

> 7. nov. 2024 kl. 16:03 skrev Dmitri Maziuk <dmitri.maz...@gmail.com>:
> 
> On 11/7/24 05:31, Jan Høydahl wrote:
> 
>> Can you go to Solr Admin UI and inspect what the contents is on your 
>> configset ZNode in zookeeper?
>> 
>> Solr expects there to be either no data or a JSON object on the "folder" 
>> itself (zookeeper folders can have data). If you for some reason have a 
>> non-empty string there which is not JSON this will trip the JSON parsing.
> 
> Hmm... what do you mean "inspect ZNode in zookeeper" in "Solr Admin UI", can 
> you be more explicit?
> 
> The web GUI has `cloud?view=[tree,nodes,graph,zkstatus]` none of which will 
> show me JSON, in tree view I can see metadata on the /configs/blah folders. 
> ZK has admin UI on port 8080 but I'm not seeing a 4-letter command for 
> fetching a "folder" in TFM. What am I looking for where?
> 
> Zookepeer is external, v.3.8.3, w/ 3 ZK nodes but only 2 Solr nodes (num 
> replicas = 2, num shards = 1), if that makes any difference.
> 
> Thank you,
> Dima
> 

Reply via email to