/etc/haoop-0.20/conf,所有hadoop配置文件,core-site中配置存儲路徑,core-site中dfs.replication設置備份份數,hadoop的ip和端口號(如infabde:8020),mapreduce配置jobtracker端口和插件,主要是幾個-site文件的配置。
hive配置:
Hive:
/etc/hive/conf/hive-site.xml中jdbc:mysql://127.0.0.1/hive爲metadata的數據庫串,powercenter需要寫主機名,驅動名,用戶名爲hive,已在mysql創建,需要在server中啓動hive:
Hive--service hiveserver&
hive需要先建表再寫入,如:
>hive
Createtable test1 (clo1 string,clo2 string,col3 string) row format delimited fieldsterminated by ',';
Infa服務器上
/infa/informatica/9.5.1/services/shared/hadoop/cloudera_cdh3u4/hadoopEnv.properties
添加:
Infapdo.env.entry.oracle_home=ORACLE_HOME=/infa/oracle/product/OraHome
Infapdo.env.entry.tns_admin=TNS_ADMIN=$ORACLE_HOME/network/admin
informatica:
/infa/informatica/9.5.1/tomcat/bin/infaservice.sh start
informatica管理界面localhost:6008(DIS三個參數需要配置)