I don't see that any index data _is_ outside the data dir.
Configuration stuff might be.
What's the content of

/apps/solr6/server/solr/tutors_shard_1_replica_5?

If it's just some configs
(and maybe even just core.properties) then the index data isn't there, the
"instanceDir" is.

I should probably be specific here in that I'm taking "index data" to mean
"tlogs and segment files"

If segments files and/or tlogs are in /apps/solr6/server/solr that's
very bad indeed, but they look
to be under /solr/data.

Not sure what's with /solr/data/suggest_subject_names_fuzzy though.

All that said, the whole concept of "instanceDir" is something that we
should probably revisit. It
made more sense when we stored conf locally for each core. With
configsets it's pretty degenerate.

And one thing that does disturb me is that some other core with the
same data dir
would, presumably, also have the /solr/data/index directory and you'd
have two cores pointing
to the same data directory...

On Thu, Feb 23, 2017 at 6:44 PM, Walter Underwood <wun...@wunderwood.org> wrote:
> The bug is that the dataDir is /solr/data and the index data is in 
> /apps/solr6/server/solr. Except for the suggest data. No index data should be 
> outside the dataDir, right?
>
> wunder
> Walter Underwood
> wun...@wunderwood.org
> http://observer.wunderwood.org/  (my blog)
>
>
>> On Feb 23, 2017, at 6:11 PM, Erick Erickson <erickerick...@gmail.com> wrote:
>>
>> Not quite sure what you're complaint is. Is it that
>> you've get the index directory under /solr/data and
>> not under, say, /solr/data/tutors? Or that
>> /apps/solr6/server/solr/tutors_shard1_replica5 exists at all?
>>
>> And what's in tutors_shard1_replica5 anyway? Just the
>> core.properties file?
>>
>> Erick
>>
>> On Thu, Feb 23, 2017 at 5:41 PM, Walter Underwood <wun...@wunderwood.org> 
>> wrote:
>>> I did this in the solrconfig.xml for both collections (tutors and 
>>> questions).
>>>
>>>  <dataDir>/solr/data</dataDir>
>>>
>>> I deleted the old collection indexes, reloaded, restarted, and created a 
>>> new collection for “tutors". And I see this on the disk.
>>>
>>> [wunder@new-solr-c02.test3]# ls -l /solr/data
>>> total 36
>>> drwxr-xr-x 2 bin bin 20480 Feb 23 17:40 index
>>> drwxr-xr-x 2 bin bin  4096 Feb 23 15:57 snapshot_metadata
>>> drwxr-xr-x 2 bin bin  4096 Feb 23 15:57 suggest_subject_names_fuzzy
>>> drwxr-xr-x 2 bin bin  4096 Feb 23 15:57 suggest_subject_names_infix
>>> drwxr-xr-x 2 bin bin  4096 Feb 23 17:40 tlog
>>> [wunder@new-solr-c02.test3]# ls -l /apps/solr6/server/solr
>>> total 12
>>> drwxr-xr-x 5 bin bin   93 Jul 14  2016 configsets
>>> -rw-r--r-- 1 bin bin 3037 Jul 14  2016 README.txt
>>> -rw-r--r-- 1 bin bin 2117 Aug 31 20:13 solr.xml
>>> drwxr-xr-x 2 bin bin   28 Feb 23 15:57 tutors_shard1_replica5
>>> -rw-r--r-- 1 bin bin  501 Jul 14  2016 zoo.cfg
>>> [wunder@new-solr-c02.test3]#
>>>
>>> Seems pretty broken to me.
>>>
>>> wunder
>>> Walter Underwood
>>> wun...@wunderwood.org
>>> http://observer.wunderwood.org/  (my blog)
>>>
>

Reply via email to