RDB/ETL

PDI 프로젝트 디렉토리 지정

세모데 2020. 9. 10. 17:40

원할한 프로젝트 진행을 위해 아래와 같이 디렉토리를 지정하고 .kettle 홈밑에 kettle.properties 파일에 지정

 

 

  • Input files
  • Output files
  • Temporary files
  • Log files
  • Database scripts
  • Properties files
  • Scripts (bat / sh files)
  • PDI files (jobs and transformations)

 

kettle.properties 파일에 변수

INPUT_DIR = /home/pdi/input

OUTPUT_DIR = /home/pdi/output

.....

 

kettle.properties에 추가 필요한 환경 변수 지정

DB_IP = 127.0.0.1

DB_PORT = 3306

DB_NAME = ...

SMTP_IP = ...

SMTP_PORT = ...

S3_ACC_KEY = ...

S3_SEC_KEY = ...

GOOGLE_KEY = ...