Generating Scripts for Additional Hadoop Spark Instances - Aster Analytics

Teradata AsterĀ® Spark Connector User Guide

Product
Aster Analytics
Release Number
7.00.00.01
Published
May 2017
Language
English (United States)
Last Update
2018-04-13
dita:mapPath
dbt1482959363906.ditamap
dita:ditavalPath
Generic_no_ie_no_tempfilter.ditaval
dita:id
dbt1482959363906
lifecycle
previous
Product Category
Software
Using the script configureAsterSpark, this procedure generates two scripts scripts for an additional Hadoop Spark instance, one to be executed on the Hadoop name node and one to be executed on the Teradata Aster queen node. Follow this procedure for each additional instance.
  1. Display the script syntax and parameter descriptions, using this command:
    configureAsterSpark --help
    The script displays:
    Usage: configureAsterSpark[-h] [-t <tracelevel>] [-n <namenode>]
    [-s <sparkJobSubmitter>] [-p <persistDirectory>] [-u <y_or_n>] 
    [-b <beehivepassword>] [-z <dbsuperuserpassword>] [-j <sparkJobUserKeyTab>] [-r <nTestsToRun>]
     
    Options:
      -h, --help            show this help message and exit
      -t TRACELEVEL, --tracelevel=TRACELEVEL
                            display various levels of trace information (default:
                            0)
      -n NAMENODE, --namenode=NAMENODE
                            hostname of Hadoop Spark namenode
      -s SPARKJOBUSER, --sparkJobUser=SPARKJOBUSER
                            user authorized to submit spark jobs
      -p PERSISTDIR, --persistDir=PERSISTDIR
                            Spark-side path for Spark-side path for socket persist files
      -u UNINSTALLBEFOREINSTALL, --uninstallBeforeInstall=UNINSTALLBEFOREINSTALL
                            y to uninstall and then install
      -b BEEHIVEPASSWORD, --beehivePassword=BEEHIVEPASSWORD
                            password of act beehive user
      -z DBSUPERUSERPASSWORD, --dbSuperUserPassword=DBSUPERUSERPASSWORD
                            password of act db_superuser
      -j SPARKJOBUSERKEYTAB, --sparkJobUserKeyTab=SPARKJOBUSERKEYTAB
                            keytab file path for principal authorized to submit
                            spark jobs
      -r NTESTSTORUN, --nTestsToRun=NTESTSTORUN
                            number of verification tests to run
  2. Either invoke configureAsterSpark without parameters and supply the parameter values for which it prompts you (as in Generating Scripts for a Single Hadoop Spark Instance), or supply all the parameters in a single command line invocation; for example:
    configureAsterSpark --namenode=spark-cdh55-1-namenode.asterdata.com --sparkJobUser=sparkJobSubmitter --dbSuperUserPassword=db_superuser
    

    If you omit parameters, the script either prompts you for them or uses their defaults.

  3. Proceed to Executing the Teradata Aster Spark Hadoop Installation/Configuration Script.