기술 자료

검색 서버를 다시 인덱싱하더라도 프로젝트, 통합 문서 및/또는 뷰 보기 문제가 해결되지 않음


게시 날짜: 16 Mar 2020
마지막 수정 날짜: 03 Apr 2023

문제

프로젝트, 통합 문서 및/또는 뷰가 tsm maintenance reindex-search 명령을 실행한 후에도 Tableau Server UI에는 표시되지 않습니다.

다시 인덱싱을 시도하면 아래와 유사한 검색 로그 라인이 나타날 수 있습니다.

Tabadmincontroller 로그

INFO com.tableausoftware.tabadmin.webapp.asyncjobs.JobStepRunner - Progress update for job RebuildSearchIndex, id: 806, step: RunIndexingOnVizportal, status: Running, message key: job.rebuild_search_index.step.run_indexing_on_vizportal, message data: ,
2020-03-12 20:02:42.494 -0500 pool-14-thread-1 : ERROR com.tableausoftware.tabadmin.webapp.init.RebuildSearchIndex - Failed to rebuild search index. Please check whether a valid Tableau Server license is present and check the vizportal logs.

VizPortal 로그
2020-03-12 20:02:42.492 -0500 (,,,,) VizportalMaintenanceServiceThread : ERROR com.tableausoftware.domain.solr.SearchService - Failed to gather solr stats
com.tableausoftware.domain.exceptions.SearchServiceException: Error from server at https://localhost:8191/solr/view: Expected mime type application/octet-stream but got application/json. {
"error":{
"metadata":[
"error-class","org.apache.solr.core.SolrCoreInitializationException",
"root-error-class","org.apache.lucene.index.CorruptIndexException"],
"msg":"SolrCore 'view' is not available due to init failure: Error opening new searcher",
"trace":"org.apache.solr.core.SolrCoreInitializationException: SolrCore 'view' is not available due to init failure: Error opening new searcher\r\n\tat

 

환경

  • Tableau Server

해결 방법

  1. Tableau Server에 예상대로 라이선스가 부여되었는지 확인합니다. UI 또는 명령줄에서 TSM으로 이동하여 라이선스가 예상대로 활성화되었는지 확인합니다.   라이선스가 예상대로 활성화되지 않을 경우 돌아가서 라이선스를 추가하거나 기술 지원 팀에 문의한 후 다음 단계를 계속 진행하세요.
  2. tsm stop을 실행합니다.
  3. Tableau Server가 완전히 중지되면 백업을 수행할 수 있습니다. 여기서 수행하는 동작으로 인해 시스템에 문제가 발생할 것으로 예상하지는 않지만, 항상 최신 백업이 있는지 확인하는 것이 가장 좋습니다.  
  4. tsm maintenance reset-searchserver를 실행하여 Searchserver를 재설정합니다.
  5. 이 명령이 완료되면 tsm start를 사용하여 서버를 다시 백업해야 합니다.

    • 위의 절차를 통해 해당 문제가 해결되지 않을 경우 Tableau 기술 지원 팀에 문의하세요.

    원인

    해당 문제는 기본 검색 서버 인덱스가 손상되어 발생하는 것으로 보입니다. 이는 예기치 않은 재부팅 중, 시스템 업그레이드 후 등의 경우에서 발생할 수 있습니다. tsm maintenance reset-searchserver 명령은 이전 인덱스를 제거하고 완전히 다시 작성합니다. 
    이 문서로 문제가 해결되었습니까?