Perform a trial load without writing to Greenplum Database.
gpsscli dryrun <loadcfgv3.yaml> [--name <job_name>]
[-p | --property <template_var=value>]
[--include-error-process]
[--config <gpsscliconfig.json>]
[--gpss-host <host>] [--gpss-port <port>]
[--no-check-ca] [-l | --log-dir <directory>] [--verbose]
gpsscli dryrun {-h | --help}
The gpsscli dryrun command performs a trial load of the job specified by loadcfgv3.yaml. You can use this command to help you diagnose a failed job.
NoteGPSS currently supports running the
gpsscli dryruncommand only on Kafka, file, and S3 jobs.
gpsscli dryrun reads data from the source and prepares for the load operation without actually inserting the data into Greenplum Database. The command also outputs the underlying SQL commands that GPSS would run to fulfill the job.
If the GPSS instance to which you want to send the request is not running on the default host (127.0.0.1) or the default port number (5000), you can specify the GPSS host and/or port via command line options.
Instructs GPSS to process errors and display error messages when save_failing_batch is true. By default, the command does not display these messages.
Note
gpsscli dryrunsupports this option only when trialing a Kafka load configuration file.
The GPSS configuration file. This file includes properties that identify the gpss instance that services the command. When SSL encryption is enabled between the GPSS client and server, you also use this file to identify the file system location of the client SSL certificates. Refer to gpss.json for detailed information about the format of this file and the configuration properties supported.
Note
gpssclisubcommands read the configuration specified in theListenAddressblock of thegpsscliconfig.jsonfile, and ignore thegpfdistconfiguration specified in theGpfdistblock of the file.
Enable the use of color when displaying front-end log messages. When specified, GPSS colors the log level in messages that it writes to stdout. Color is deactivated by default.
--color option if you also specify
--csv-log.
stdout using spaces between fields for a more human-readable format.
127.0.0.1. If specified, overrides a
ListenAddress:Host value provided in
gpsscliconfig.json
5000. If specified, overrides a
ListenAddress:Port value provided in
gpsscliconfig.json
gpsscli subcommand.
The directory to which GPSS writes client command log files. GPSS must have write permission to the directory. GPSS creates the log directory if it does not exist.
gpsscli client log files to the
$HOME/gpAdminLogs directory.
stdout. When you specify the
--verbose option, GPSS also outputs debug-level messages about the operation.
Perform a dry run of the Kafka load job specified by the configuration file named kjobcfgv3.yaml; include error processing in the trial run:
$ gpsscli dryrun --include-error-process kjobcfgv3.yaml