资源规划

组件 bigdata-node1 bigdata-node2 bigdata-node3
OS centos7.6 centos7.6 centos7.6
JDK jvm jvm jvm
Scala scala scala scala
HDFS NameNode/SecondaryNameNode/DataNode/JobHistoryServer/ApplicationHistoryServer DataNode DataNode
YARN ResourceManager NodeManager NodeManager
Hive HiveServer2/Metastore/CLI/Beeline CLI/Beeline CLI/Beeline
MySQL N.A N.A MySQL Server

安装介质

版本:teradata-connector-1.5.10-hadoop2.x.noarch.rpm
下载:https://downloads.teradata.com/download/connectivity/teradata-connector-for-hadoop-command-line-edition

环境准备

安装JDK

参考:《CentOS7.6-安装JDK-1.8.221

安装Scala

参考:《CentOS7.6-安装Scala-2.11.8

安装Hadoop

参考:《CentOS7.6-安装Hadoop-2.7.2

安装Hive

参考:《CentOS7.6-安装Hive-2.3.4

安装Maven

参考:《CentOS7.6-安装Maven-3.3.9

安装TDCH

rpm -ivh teradata-connector--.noarch.rpm

DATADIR/config/dip.properties
tdch.enabled = true
tdch.jar = /PATH/TO/TDCH/LIB/teradata-connector-1.5.1.jar
tdch.includes = /PATH/TO/TDCH/LIB/tdgssconfig.jar,/PATH/TO/TDCH/LIB/terajdbc4.jar

参考

dataiku:Teradata Connector For Hadoop
https://doc.dataiku.com/dss/latest/hadoop/tdch.html