You are on page 1of 2

WebHCat host.

c In WebHCat User Name, type the user name with permissions to access the
WebHCat host.
d [Optional] Click Test Connection to verify the connection is successful.
12 [Optional] If you specified TDCH and SQL-H, enter the WebHDFS properties for
the
TDCH connection.
You are asked to complete the TDCH credentials first and then the SQL-H connecti
on
credentials.
a In WebHDFS Host Name, type the host name or IP address of the system configure
d
to provide access to the Hadoop systems's distributed file system.
b In WebHDFS Port Number, type the port number to use to communicate with the
Hadoop system's WebHDFS service. For Hortonworks, this port is 50070 by default.
c In WebHDFS User Name, type the user name with permissions to access the
WebHDFS host.
d Select HA Enabled Cluster if the Hadoop cluster has High Availability enabled
for
the namenode (the cluster will have an active and standby namenode).
This enables and disables Secondary WebHDFS Host Name.
Chapter 2 Installing Teradata Studio
Configuring Teradata Studio
Teradata Studio, Studio Express, and Plug-in for Eclipse
Installation Guide, Release 15.10 25
e In Secondary WebHDFS Host Name, type the host name or IP address of the standb
y
or backup Namenode/WebHDFS host.
f [Optional] Click Test Connection to verify the connection is successful.
g Click Next.
h Follow instructions in Step 10 to complete the SQL-H credentials.
13 [Optional] If you also specified JDBC, enter the credentials for the Hortonwo
rks Hive
JDBC Driver.
a In JDBC Host, type the host name of the Hadoop System to which to connect.
b In JDBC Port Number, type the port number to use to communicate with the host.
c In JDBC Database, type the name of the Hadoop database.
d In JDBC User Name, type the user name to use to connect to the database.
e In JDBC Password, type the password required to access the database using Hive
JDBC.
f Select Save Password to save the password you enter in the previous step.
g Select HTTP Transport Mode to transfer data using the HTTP secure transfer mod
e.
h In HTTP Path type the HTTP server path. The default value is cliservice.
i [Optional] Click Test Connection to verify the connection is successful.
14 Click Next.
A Summary of the information you entered in the previous steps displays.
15 Click Finish.
If the connection succeeds, the new Hadoop Hortonworks connection profile displa
ys in
the Database Connections list in Data Source Explorer.
Setting Up a Teradata Connector for Hadoop
Teradata Studio provides an option to transfer data to and from Hadoop systems.
The Smart
Loader for Hadoop feature uses the Teradata connector for Hadoop (TDCH) installe
d on the
Hadoop node. Oozie is used for the data transfer workflow.
1 Download and install the TDCH (version 1.3.4) onto your Hadoop system from Ter
adata
Developer Exchange Downloads under Connectivity.

2 Download the Configure Oozie script (configureOozie.sh) from Teradata Develope


r
Exchange Downloads onto your Hadoop system.
3 Change the mode so the script is executable:
chmod +x configureOozie.sh
Chapter 2 Installing Teradata Studio
Setting Up a Teradata Connector for Hadoop
Teradata Studio, Studio Express, and Plug-in for Eclipse
26 Installation Guide, Release 15.10
4 Run configureOozie.sh to remove any hidden Windows characters from the file.
dos2unix configureOozie.sh
5 Execute configureOozie.sh as a root user, providing the locations of your Hado
op
services:
Usage: ./configureOozie.sh nn=nameNodeHost[jt=jobTrackerHost]
[oozie=oozieHost] [nnPort=nameNodePortNum][jtPort=jobTrackerPortNum]
[ooziePort=ooziePortNum][webhcatPort=webhcatPortNum]
[webhdfsPort=webhdfsPortNum] where
Parameter Definition Value
nameNodeHost The Name Node host name required
jobTrackerHost The Job Tracker host name uses nn parameter value if omitted
oozieHost The Oozie host name uses nn parameter value if omitted
nameNodePortNum The Name node port number 8020 if omitted
jobTrackerPortNum The Job Tracker port number 50300 if omitted
ooziePortNum The Oozie port number 11000 if omitted
webhcatPortNum The WebHCatalog port number 50111 if omitted
webhdfsPortNum The WebHDFS port number 50070 if omitted
Note: The port numbers are HDP's defaults. If the system being set up has all th
e
services hosted on a single system on the default ports, only the nn parameter i
s needed.
The script will exit with an error message if the TDCH is not in its e

You might also like