JIRA cache problem

Robert G. Nadon
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 19, 2016

Hi all,

We are having trouble and working the weekend.  So I would really appreciate any response.

I am getting a failure on the cache directory for JIRA.  I removed the felix plugin caches but that didn't help.  

Will JIRA rebuild the $HOME/caches/ directory on reboot?

 Here is one of the errors:

2016-03-19 09:49:23,807 http-bio-8443-exec-56670 ERROR rnadon 589x1636686x1 flojz0 10.10.222.160 /rest/zephyr/latest/execution [zephyr.je.helper.ScheduleSearchResourceHelper] Error executing for ZQL:
com.atlassian.util.concurrent.LazyReference$InitializationException: com.atlassian.jira.util.RuntimeIOException: java.io.FileNotFoundException: /var/atlassian/application-data/jira/caches/indexes/JEEntity/schedule/_uqv.tis (No such file or directory)
at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149)
at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:112)
at com.thed.zephyr.je.index.ZFJDefaultIndexEngine$ReferenceHolder.get(ZFJDefaultIndexEngine.java:306)
at com.thed.zephyr.je.index.ZFJDefaultIndexEngine.getSearcher(ZFJDefaultIndexEngine.java:136)
at com.thed.zephyr.je.index.ZFJDefaultManager.getSearcher(ZFJDefaultManager.java:42)
at com.thed.zephyr.je.index.ScheduleIndexerManager.getScheduleIndexSearcher(ScheduleIndexerManager.java:173)
at com.thed.zephyr.je.zql.core.LuceneSearchProviderImpl.search(LuceneSearchProviderImpl.java:114)
at com.thed.zephyr.je.zql.core.LuceneSearchProviderImpl.search(LuceneSearchProviderImpl.java:69)
at com.thed.zephyr.je.zql.core.SearchServiceImpl.search(SearchServiceImpl.java:73)
at com.thed.zephyr.je.helper.ScheduleSearchResourceHelper.getStepDefectCountBySchedule(ScheduleSearchResourceHelper.java:793)

THanks so much.

Robert

 

2 answers

1 accepted

3 votes
Answer accepted
Robert G. Nadon
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 19, 2016

Found the answer I needed

Fix

Please delete the Zephyr for JIRA indexes manually by following the below steps.

Steps-

1) Stop your JIRA server 
2) Navigate to %JIRA Home%->caches->indexes. 
3) Delete the JEEntity folder (this is where the Zephyr for JIRA indexes are located) 
4) Start the JIRA server 
5) Re index Zephyr for JIRA from the JIRA UI like as usual.

Steven F Behnke
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 19, 2016

Thanks for posting your answer!

Like Robert G. Nadon likes this
5 votes
Jeff Louwerse
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 20, 2016

I know you have answered your own question but no it won't auto index on reboot if you clear the cache directory.  You have to manually fire it.

some other practices I do when having issues like that are to clean out the following directories as well before rebooting.  some of these might be based on historical issues

 

jira-home/caches/*
jira-installation/logs/*
ira-installation/temp/*
jira-installation/work/*
jira-home/plugins/.bundled-plugins/*
jira-home/plugins/.osgi-plugins/*
jira-home/tmp/*

I actually add these to my service caller as a "restart-clean" and "start-clean" option.  Forces a longer start up but it recompiles everything fresh.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events