7.00.02 - Database Connections with SSL JDBC Connections - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Published
September 2017
Content Type
Programming Reference
User Guide
Publication ID
B700-1022-700K
Language
English (United States)
Last Update
2018-04-17

If you want a driver-based SQL-MapReduce function to use a SSL JDBC connection to connect to Aster Database instead of a normal JDBC connection, you must specify the authentication arguments SSLSettings and SSLTrustStorePassword. For their descriptions, see Authentication Argument Descriptions.

For JDBC automatic cascading to work while SSL is enabled in SQL-MapReduce, the file truststore.jks must reside on the queen and all workers. If JDBC automatic cascading does not work:
  1. On each worker, copy truststore.jks to /home/beehive/truststore.
  2. Specify this argument:

    SSLSettings('ENABLESSL=true&SSLTRUSTSTORE=/home/beehive/truststore/truststore.jks')

Example

SELECT * FROM EIGEN_CENTRALITY (
  ON (SELECT 1)
  PARTITION BY 1
  SSLSettings ('jdbc:ncluster://192.168.1.2/beehive?
    ENABLESSL=true&SSLTRUSTSTORE=/home/beehive/truststore/truststore.jks')
    SSLTRUSTSTOREPASSWORD ('123456')  
  InputTable ('raw_edges')
  OutputTable ('eigen_centrality_string')
  Threshold ('0.01')
);