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
Language
English (United States)
Last Update
2018-04-17
dita:mapPath
uce1497542673292.ditamap
dita:ditavalPath
AA-notempfilter_pdf_output.ditaval
dita:id
B700-1022
lifecycle
previous
Product Category
Software

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')
);