PutDatabaseRecord[id=77fcd1b5-0186-1000-3412-e3290e4672e0] Failed to put Records to database for FlowFile[filename=br_20161231.csv]. Routing to failure.: org.apache.nifi.serialization.record.util.IllegalTypeConversionException: Cannot convert CHOICE, type must be explicit
FTP서버에서 파일을 수집해서 DB에 적재 하려고 하던 중, 에러가 발생했다.
원인은 컨트롤러에 설정을 하나 안해둔 것!
CVSReader Controller 설정을 다시 해준다.
Use String Fields From Header로 변경하여 다시 실행했더니, DB에 데이터가 잘 적재 되었다!
'Error' 카테고리의 다른 글
[NiFi] Failed to rename dot-file to (0) | 2023.02.22 |
---|---|
[NiFi] Caused by : java.lang.ClassNotFoundException: org.postgresql.Driver: {} (0) | 2023.02.22 |
[Linux] E45: 'readonly' option is set (add ! to override) (0) | 2023.02.20 |
오류: INSERT 구문에 target columns 보다 더 많은 표현식이 존재하고 있다 (0) | 2023.02.17 |
[NiFi] Window 환경에서 FTP서버에서 파일 옮길 때, 경로 인식 못한 경우 (0) | 2023.02.14 |