본문 바로가기
일상 기술노트/NIFI

[NIFI] Cannot update journal file 이 발생되었을 때 조치 (solved)

by 인디코더 2024. 1. 4.
# NIFI ERROR
- Failed to processsession due to Cannot update journal
- Failed to processbundle of 1 files due to IOException thrown from MergeContent : java.io.FileNotFoundException
- Exception while processing data from kafka so will close the lease date

- 상황 : NIFI 에서Cannot update journal file 에러 발생 > java.io.FileNotFoundException 에러 발생
- 예상되는 이슈 : Storage 문제 이슈 (log file)
- 해결방법 : 해당 node 재기동 진행  ☞ log 디렉터리 휘발됨. 
- 찾아 본 레퍼런스 방안 
1) 힙 사이즈 조정 
2) 스토리지 검토 
3) 네트워킹 상황 

 

15:32:28 KST- All Nodes - ERROR MergeContent[id=a8340f5e-6998-3e81-9cdb-71808b02b47b]Failed to process session due to Cannot update journal file./storage/flowfile_repository/journals/1214367875.journal because no header hasbeen written yet.; Processor Administratively Yielded for 1 sec:java.lang.IllegalStateException: Cannot update journal file./storage/flowfile_ _repository/journals/1214367875.joumal because no header hasbeen written yet.

 

15:31:39 KST- nifi-cluster-2.nifi-cluster-headless.int-inifi.svc.cluster.local:8443- ERRORConsumeKafka_ 0_10[id=a674338-21fe-1ce2-8ab9-7f4a76175edf] Exception whileprocessing data from kafka so will close the lease date fromil cosConsumerPogissmpleConsumet403618fe due to IOException thrown from ConsumeKafka 0_10[id=a6743338-21fe-.1ce2-8ab9-7f4a76175edf]: java.io.FileNotFoundException: /opt/nifi/nifr-current/storage-content/content_ .repository/404/17044263499413-137620 (Read-only file system): java.io.FileNotFoundException: /opt/nifi/nifr-cuirrent/storage-content/content_repository/404/17042263499413-137620 (Read-only file system)L causes: org.apache.nifi.proocessor.exception.lProcessException: IOExceptionthrown from ConsumeKafka 0_10[id=a67433388-21fe-1ce2-8ab!9-7f4a76175edf]:java.io.FileNotFoundException: /opt/nifi/nifi-ctarrent/storage-content/content_repository/404/17042263499413-137620 (Read-only file system)

반응형