Advisory questions

"Ana Mercan (RO)" <[email protected]> Thu, 29 Nov 2018 14:27:30 +0200
Newsgroups gmane.comp.jakarta.lucene.solr.user,gmane.text.xml.general
Message-ID <CAERWgMOuG9WEsYfVCkt4akiD-3i9=oqp6AEuLkkrtL51TDephg@mail.gmail.com>
--00000000000025a2d6057bcccf7b
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hello,

I have tried to subscribe to general forums but i wasn't able to, hence i
would appreciate if we can keep this thread and have the replies over email=
.

I want to have more background about the dependencies of solr/zookeeper
services and the task schedulers -ful/incremental indexing.

So in case of a manual restart or unplanned reboot our services are set to
start manually hence i wanted to setup the dependency between them so I
wanted to confirm  if the order is the following one:
1.First Zookeeper service
2.Solr service

If there is any documentation on this matter please let me know.

Another similar topic is the following one:
Yesterday we encountered a dirty reboot and right after the incremental
indexing task was failing with :
" Job Id: 172605, Status: Failed

Indexing failed. Refer incremental-indexing.log for more information.

java.lang.Exception: File ./index.properties does not exist to read the
property "last_index_time""


The file was there but was empty without any timestamp

So i did the following:


Do the following:

1.open it check if is empty or not and take a backup of it

2.disable the task, take the content of that file from stage

3.check in the database the last successful one --timestamp

4.updat that file with the above timestamp

5.probably it wont work

6.if doesn t work update the timestamp with the current date and run the
job,, once got successfully completed end it disable it and update the
timestamp with the value from 2nd step

5

update [X].[dbo].[C_CACHE_SEARCH_INDEX_JOB_AUDIT]

set Status =3D 'Failed'

where Status =3D'In Progress'



6.enable the task and run it and also monitor it will complete successfully


So my question is when this scenario can happen and also is there any
procedure to stop/start the components in a controlled way?


Any maintenance procedure will be highly appreciated.


Many thanks in advance,

Ana

--=20
The information transmitted is intended only for the person or entity to=20
which it is addressed and may contain confidential and/or privileged=20
material. Any review, retransmission, dissemination or other use of, or=20
taking of any action in reliance upon, this information by persons or=20
entities other than the intended recipient is prohibited. If you received=
=20
this in error, please contact the sender and delete the material from any=
=20
computer.=C2=A0 Please familiarize yourself with our privacy policy.

--00000000000025a2d6057bcccf7b--