[
https://issues.apache.org/jira/browse/SOLR-3619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14220335#comment-14220335
]
Alexandre Rafalovitch commented on SOLR-3619:
---------------------------------------------
Sorry, for spamming this JIRA, but I think I just hit an even bigger *immutable
master* issue. We have different examples stepping on each others' feet.
Specifically, the examples _techproducts_ and _schemaless_ both create the
actual Solr collections inside the *server/solr* directory. So, if you run
both, it will create two more collections there.
Then, if you run _cloud_ example, it will clone this augmented server directory
and use that as a base of node1 and node2 (created, strangely enough, in the
current directory).
So, when you actually try to access the Admin UI, it auto-discovers and tries
to load those extra collections as well and fails as configName is - I am
guessing - is relative to unexpected location and does not get resolved.
{quote}
techproducts:
org.apache.solr.common.cloud.ZooKeeperException:org.apache.solr.common.cloud.ZooKeeperException:
Could not find configName for collection techproducts found:null
schemaless:
org.apache.solr.common.cloud.ZooKeeperException:org.apache.solr.common.cloud.ZooKeeperException:
Could not find configName for collection schemaless found:null
{quote}
Would it make sense to:
# Make configsets not changeable by cloning the configuration
# Make all generated examples showing up in *solr/example" directory as that's
where the other examples are anyway
# Make switch question order in the *cloud* example to ask for collection name
first and use that as a root directory name under the *solr/example* with nodes
inside of that
I am also not sure that *cloud* example is restartable once it is shutdown. But
that's probably a different issue.
> Rename 'example' dir to 'server' and pull examples into an 'examples'
> directory
> -------------------------------------------------------------------------------
>
> Key: SOLR-3619
> URL: https://issues.apache.org/jira/browse/SOLR-3619
> Project: Solr
> Issue Type: Improvement
> Reporter: Mark Miller
> Assignee: Timothy Potter
> Fix For: 5.0, Trunk
>
> Attachments: SOLR-3619.patch, SOLR-3619.patch, SOLR-3619.patch,
> managed-schema, server-name-layout.png, solrconfig.xml
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]