Professional Documents
Culture Documents
The product or products described in this book are licensed products of Teradata Corporation or its affiliates.
Teradata, Active Data Warehousing, Active Enterprise Intelligence, Applications-Within, Aprimo Marketing Studio, Aster, BYNET, Claraview,
DecisionCast, Gridscale, MyCommerce, QueryGrid, SQL-MapReduce, Teradata Decision Experts, "Teradata Labs" logo, Teradata
ServiceConnect, Teradata Source Experts, WebAnalyst, and Xkoto are trademarks or registered trademarks of Teradata Corporation or its
affiliates in the United States and other countries.
Adaptec and SCSISelect are trademarks or registered trademarks of Adaptec, Inc.
AMD Opteron and Opteron are trademarks of Advanced Micro Devices, Inc.
Apache, Apache Avro, Apache Hadoop, Apache Hive, Hadoop, and the yellow elephant logo are either registered trademarks or trademarks of
the Apache Software Foundation in the United States and/or other countries.
Apple, Mac, and OS X all are registered trademarks of Apple Inc.
Axeda is a registered trademark of Axeda Corporation. Axeda Agents, Axeda Applications, Axeda Policy Manager, Axeda Enterprise, Axeda
Access, Axeda Software Management, Axeda Service, Axeda ServiceLink, and Firewall-Friendly are trademarks and Maximum Results and
Maximum Support are servicemarks of Axeda Corporation.
Data Domain, EMC, PowerPath, SRDF, and Symmetrix are registered trademarks of EMC Corporation.
GoldenGate is a trademark of Oracle.
Hewlett-Packard and HP are registered trademarks of Hewlett-Packard Company.
Hortonworks, the Hortonworks logo and other Hortonworks trademarks are trademarks of Hortonworks Inc. in the United States and other
countries.
Intel, Pentium, and XEON are registered trademarks of Intel Corporation.
IBM, CICS, RACF, Tivoli, and z/OS are registered trademarks of International Business Machines Corporation.
Linux is a registered trademark of Linus Torvalds.
LSI is a registered trademark of LSI Corporation.
Microsoft, Active Directory, Windows, Windows NT, and Windows Server are registered trademarks of Microsoft Corporation in the United
States and other countries.
NetVault is a trademark or registered trademark of Dell Inc. in the United States and/or other countries.
Novell and SUSE are registered trademarks of Novell, Inc., in the United States and other countries.
Oracle, Java, and Solaris are registered trademarks of Oracle and/or its affiliates.
QLogic and SANbox are trademarks or registered trademarks of QLogic Corporation.
Quantum and the Quantum logo are trademarks of Quantum Corporation, registered in the U.S.A. and other countries.
Red Hat is a trademark of Red Hat, Inc., registered in the U.S. and other countries. Used under license.
SAP is the trademark or registered trademark of SAP AG in Germany and in several other countries.
SAS and SAS/C are trademarks or registered trademarks of SAS Institute Inc.
Simba, the Simba logo, SimbaEngine, SimbaEngine C/S, SimbaExpress and SimbaLib are registered trademarks of Simba Technologies Inc.
SPARC is a registered trademark of SPARC International, Inc.
Symantec, NetBackup, and VERITAS are trademarks or registered trademarks of Symantec Corporation or its affiliates in the United States and
other countries.
Unicode is a registered trademark of Unicode, Inc. in the United States and other countries.
UNIX is a registered trademark of The Open Group in the United States and other countries.
Other product and company names mentioned herein may be the trademarks of their respective owners.
The information contained in this document is provided on an "as-is" basis, without warranty of any kind, either express
or implied, including the implied warranties of merchantability, fitness for a particular purpose, or non-infringement.
Some jurisdictions do not allow the exclusion of implied warranties, so the above exclusion may not apply to you. In no
event will Teradata Corporation be liable for any indirect, direct, special, incidental, or consequential damages,
including lost profits or lost savings, even if expressly advised of the possibility of such damages.
The information contained in this document may contain references or cross-references to features, functions, products, or services that are not
announced or available in your country. Such references do not imply that Teradata Corporation intends to announce such features, functions,
products, or services in your country. Please consult your local Teradata Corporation representative for those features, functions, products, or
services available in your country.
Information contained in this document may contain technical inaccuracies or typographical errors. Information may be changed or updated
without notice. Teradata Corporation may also make improvements or changes in the products or services described in this information at any
time without notice.
To maintain the quality of our products and services, we would like your comments on the accuracy, clarity, organization, and value of this
document. Please e-mail: teradata-books@lists.teradata.com
Any comments or materials (collectively referred to as "Feedback") sent to Teradata Corporation will be deemed non-confidential. Teradata
Corporation will have no obligation of any kind with respect to Feedback and will be free to use, reproduce, disclose, exhibit, display, transform,
create derivative works of, and distribute the Feedback and derivative works thereof without limitation on a royalty-free basis. Further, Teradata
Corporation will be free to use any ideas, concepts, know-how, or techniques contained in such Feedback for any purpose whatsoever,
including developing, manufacturing, or marketing products or services incorporating Feedback.
Table of Contents
Preface...................................................................................................................................................................5
Audience..........................................................................................................................................................................5
Revision History.............................................................................................................................................................5
Related Documentation................................................................................................................................................ 5
Product Safety Information.......................................................................................................................................... 5
Chapter 1:
Dependencies...............................................................................................................................................7
Supported Platforms......................................................................................................................................................7
Supported Databases..................................................................................................................................................... 7
Hardware Requirements............................................................................................................................................... 8
Software Requirements..................................................................................................................................................8
Chapter 2:
Installing Teradata Studio........................................................................................................ 9
Installing Java Runtime Environment.........................................................................................................................9
Software Downloads...................................................................................................................................................... 9
Downloading Teradata Studio from DevX.....................................................................................................9
Installing Teradata Studio on Windows Systems...................................................................................................... 9
Installing Teradata Studio on Linux Systems...........................................................................................................10
Installing Teradata Studio on Mac Systems............................................................................................................. 11
Changing the Workspace Directory Location......................................................................................................... 11
Changing the Workspace Directory Location on Windows Systems.......................................................11
Changing the Workspace Directory Location on Linux Systems............................................................. 11
Changing the Workspace Directory Location on Mac Systems................................................................11
Setting Up a Teradata Connector for Hadoop.........................................................................................................12
Chapter 3:
Installing Teradata Studio Express............................................................................15
Installing Java Runtime Environment...................................................................................................................... 15
Software Downloads.................................................................................................................................................... 15
Downloading Teradata Studio Express from DevX.................................................................................... 15
Installing Teradata Studio Express on Linux Systems............................................................................................ 15
Installing Teradata Studio Express on Mac Systems...............................................................................................16
Installing Teradata Studio Express on Windows Systems..................................................................................... 16
Changing the Workspace Directory Location......................................................................................................... 17
Changing the Workspace Directory Location on Windows Systems.......................................................17
Teradata Studio, Studio Express, and Plug-in for Eclipse
Installation Guide, Release 15.12
Table of Contents
Chapter 4:
Installing Teradata Plug-in for Eclipse................................................................. 19
Before You Begin..........................................................................................................................................................19
Installing Java Runtime Environment...................................................................................................................... 19
Installing the Teradata Plug-in for Eclipse............................................................................................................... 19
Configuration Options for Java Stored Procedures and Java User-Defined Functions.....................................20
Setting the Compiler Compliance Level....................................................................................................... 21
Appendix A:
Optional Software................................................................................................................................23
Optional Software........................................................................................................................................................ 23
Installing Teradata Meta Data Services.....................................................................................................................23
Installing Apache Ant..................................................................................................................................................24
Installing Apache Tomcat...........................................................................................................................................24
Installing Oracle GlassFish......................................................................................................................................... 24
Installing Oracle GlassFish Metro JARs....................................................................................................................24
Configuring Teradata MDS Web Service................................................................................................................. 25
Setting the Tomcat Java Classpath.................................................................................................................25
Setting the GlassFish Java Classpath............................................................................................................. 25
Deploying the MDS Web Service on Tomcat.............................................................................................. 25
Deploying the MDS Web Service on GlassFish........................................................................................... 25
Verifying the Meta Data Services Web Service is Running on Tomcat................................................... 26
Verifying Meta Data Services Web Service is Running on GlassFish.......................................................26
Setting Teradata Dependencies Preferences.................................................................................................26
Installing Teradata XML Services..............................................................................................................................27
Appendix B:
Administrative Tasks.......................................................................................................................29
Updating the JRE Location in the TeradataStudio.ini File.....................................................................................29
Changing Workspace and Configuration Information Directories Using Roaming Profiles.......................... 29
Uninstalling Teradata Studio from Linux................................................................................................................ 30
Uninstalling Teradata Studio Express from Linux..................................................................................................30
Preface
Audience
This book is intended for system administrators, analysts, engineers, and other database specialists who
perform product installations or use Teradata Tools and Utilities products.
Revision History
Date
Release
Description
August 2016
15.12
Related Documentation
Documents are located at http://www.info.teradata.com.
Publication Name
Publication ID
B035-2041
B035-2043
B035-2042
Notice:
Improper use of the Reconfiguration utility can result in data loss.
Preface
Product Safety Information
CHAPTER 1
Dependencies
Supported Platforms
The following table lists the operating systems on which Teradata Studio, Studio Express, and Plug-in for
Eclipse are supported:
Platform
Studio
Studio
Express
Plug-in for
Eclipse
Red Hat Enterprise Server 5.0, 6.0, and 7.0, 32-bit and 64-bit
Red Hat Advanced Platform 5.0, 6.0, and 7.0 32-bit and 64-bit
Supported Databases
Teradata Studio, Studio Express, and Plug-in for Eclipse support the following Teradata Database releases:
Teradata Studio, Studio Express, and Plug-in for Eclipse support the following Aster Database releases:
Aster Database 6.20
Aster Database 6.10
Aster Database 6.00
Teradata Studio, Studio Express, and Plug-in for Eclipse support the following Hadoop systems:
Teradata Studio, Studio Express, and Plug-in for Eclipse
Installation Guide, Release 15.12
Chapter 1: Dependencies
Hardware Requirements
Hardware Requirements
The following table lists the minimum hardware requirements for Teradata Studio and Teradata Studio
Express.
Studio
Studio Express
Memory
4 GB (6 GB desired)
4 GB
Disk Space
250 MB
250 MB
Software Requirements
You must download and install the JDK, Eclipse, and Data Tools Platform (DTP) software to create an
Eclipse DTP Environment.
The following table lists the required software, supported versions, and where to download it:
Dependent Product
Supported
Versions
Download Locations
7 and 8
Java SE Downloads
Note:
Apple OS
X 10.7
and
higher
requires
Oracle's
JDK 1.7
or higher
Mars 4.5
http://www.eclipse.org/downloads/packages/eclipse-ide-javaee-developers/mars2
Neon
4.6
https://www.eclipse.org/downloads/packages/eclipse-ide-javaee-developers/neonr
CHAPTER 2
Software Downloads
Downloading Teradata Studio from DevX
1.
2.
3.
4.
5.
Note:
If you edited and saved the TeradataStudioDataSources.config file to an alternate directory
location in the previous step, then save the TeradataStudioPreferences.config file to this
same location.
5.
6.
7.
8.
10
Linux
Mac
/Users/Username/Documents/StudioWorkspace
Windows
C:\Users\Username\workspace-studio
You can change the location of the workspace directory from the default.
11
Definition
Value
nameNodeHost
required
jobTrackerHost
oozieHost
8020 if omitted
50300 if omitted
ooziePortNum
11000 if omitted
webhcatPortNum
webhdfsPortNum
50070 if omitted
Note:
The port numbers are HDP's defaults. If the system being set up has all the services hosted on a single
system on the default ports, only the nn parameter is needed.
The script exits with an error message if the TDCH is not in its expected location. Otherwise the script
displays a message indicating the parameters values. For example:
The following is the specification of the Hadoop services used
by the Oozie workflows:
{
"Distribution":"HDP",
"DistributionVersion":"3.2.1",
"WebHCatalog":"hostname",
"WebHCatalogPort":50111,
"WebHDFS":"hostname",
"WebHDFSPort":50070,
"JobTracker":"hostname",
"JobTrackerPort":50300,
12
"NameNode":"hostname",
"NameNodePort":8020,
"Oozie":"hostname",
"OoziePort":11000
}
13
14
CHAPTER 3
Software Downloads
Downloading Teradata Studio Express from DevX
1.
2.
3.
4.
5.
15
Unzip the Teradata Studio Express package to your local file system.
Open Teradata Studio Express.pkg to start the Teradata Studio Express Installer.
Select the disk on which to install Teradata Studio Express.
[Optional] Enter a specific installation location.
The default location is /Applications.
A workspace folder called SQLA that contains workspace files, including the SQL project folder and log
file, is created in the Documents folder.
16
Linux
Mac
/Users/Username/Documents/StudioExpressWorkspace
Windows
C:\Users\Username\workspace-studioexpress
You can change the location of the workspace directory from the default.
17
18
CHAPTER 4
5.
6.
7.
19
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
20
21
22
APPENDIX A
Optional Software
Optional Software
You can install the following products to run with Teradata Plug-in for Eclipse:
Product
Release
Description
Teradata Meta
Data Services
13.10.00 or
greater
Teradata XML
Services
1.1.7 or greater
Generates XSD, XSLT, and returns XML result data from JavaBeans
using Teradata Plug-in for Eclipse.
Apache Ant
1.9.1 or greater
Download and install if you will run Ant outside of Eclipse from
http://ant.apache.org/.
Version
Description
GlassFish Metro JARs and Apache Ant are also required. Metro
provides an easy-to-use web service stack for running the web service.
Apache Ant is required to install the Metro JARs.
Sun's GlassFish
9.1_02
23
webservices-api.jar
webservices-extra.jar
webservices-extra-api.jar
webservices-rt.jar
webservices-tools.jar
A metro subdirectory containing the metro-on-tomcat.xml file is created. This file is an Ant install
script that installs the Metro JARs on your Tomcat system. The script creates the appropriate Tomcat
directory for the Metro libraries, copies the Metro libraries to the directory, and modifies the Tomcat
configuration file (catalina.properties).
3. Set the following environment variables in your operating system settings (in Windows, go to Control
Panel > System > Advanced Settings):
CATALINA_HOME to <TOMCAT_INSTALL_DIR>
CATALINA_BASE to <TOMCAT_INSTALL_DIR>
JAVA_HOME to <JAVA_RUNTIME_INSTALL_DIR>
PATH to include %JAVA_HOME%\bin
4. Run the metro-on-tomcat.xml Apache Ant script from the metro subdirectory:
24
25
26
27
28
APPENDIX B
Administrative Tasks
29
You can combine both the -data and -configuration options on a single command line.This is often
needed when using a Roaming Profile that is not always accessible when running applications.
30