Table of Contents

Search

  1. Preface
  2. Introduction to Big Data Streaming
  3. Big Data Streaming Administration
  4. Sources in a Streaming Mapping
  5. Targets in a Streaming Mapping
  6. Streaming Mappings
  7. Window Transformation
  8. Connections
  9. Sample Files

Creating an HDFS Connection using Informatica Command Line Program

Creating an HDFS Connection using Informatica Command Line Program

You can use the
infacmd
command line program to create an HDFS connection. Access the command from the
<Informatica installation directory>/clients/DeveloperClient/infacmd
directory.
On UNIX, run the following command:
sh infacmd.sh createConnection
On Windows, run the following command:
infacmd.bat createConnection
Enter connection options in the following format:
... -o option_name='value' option_name='value' ...
For example, run the following command to create an HDFS connection on UNIX:
sh infacmd.sh createConnection -dn <domain name> -un <domain user> -pd <domain password> -cn <connection name> -cid <connection id> -ct HadoopFileSystem -o NameNodeURL='hdfs://<namenode>:<port>' USERNAME='username' clusterConfigId='ConfId'
For more information about the CreateConnection command and HDFS connection options, see the
Informatica Command Reference Guide
.