Sensitive Properties Key [nifi.sensitive.props.key] not found Error

Hyoeun·2023년 1월 6일
0
org.apache.nifi.properties.SensitivePropertyProtectionException: 
Sensitive Properties Key [nifi.sensitive.props.key] not found: See Admin Guide 
section [Updating the Sensitive Properties Key]

해당 포스팅을 따라 nifi clsutering hands-on을 하던 중, latest 버전으로 nifi image를 pull 하니 위의 error를 만나 nifi container가 켜지지 않는 현상을 겪었다.
이는 1.14버전부터 sensitive-properties-key를 설정해줘야 하기 때문인데 컨테이너에 들어가 직접 설정하거나,

$ ./bin/nifi.sh set-sensitive-properties-key <sensitivePropertiesKey>

docker-compose.yml에서
NIFI_SENSITIVE_PROPS_KEY=sensitivePropertiesKey environment를 설정해주면 된다.

0개의 댓글