본문 바로가기

Linux

NiFi encoding 설정과 메모리 용량 설정

 

 

 

 

 

 

[rami@localhost bin]$ cd ..

[rami@localhost nifi-1.16.3]$ cd conf/

[rami@localhost conf]$ ls
archive                         bootstrap-notification-services.xml  nifi.properties
authorizations.xml              bootstrap.conf                       state-management.xml
authorizers.xml                 flow.json.gz                         stateless-logback.xml
bootstrap-aws.conf              flow.xml.gz                          stateless.properties
bootstrap-azure.conf            keystore.p12                         truststore.p12
bootstrap-gcp.conf              logback.xml                          users.xml
bootstrap-hashicorp-vault.conf  login-identity-providers.xml         zookeeper.properties

 

 

최상위로 이동하여, conf 폴더로 이동한다.

conf 폴더의 목록을 본다.

 

 

 

 

 

 

 

[rami@localhost conf]$ vi bootstrap.conf 

- vi : 파일 내용을 읽고 입력,수정 가능 

-cat : 파일의 내용만 읽을 수 있다

- bootstrap.conf 파일을 보고 입력,수정을 한다.

 

메모리 용량설정

# JVM memory settings
java.arg.2=-Xms2G
java.arg.3=-Xmx2G

 

encoding 설정

# encoding utf-8
java.arg.8=-Dfile.encoding=UTF8