Command-line arguments for Kettlekitchen and pan

Source: Internet
Author: User
Parameter syntax:
[/-]name [[: =]value]
Arguments start with a slash (/) or a horizontal line (-) followed by the parameter name. Most parameters are followed by a parameter value. Parameters and parameter values are concatenated with a colon (:) or (=), and if there is a space in the parameter value, the parameter value must be enclosed in single or double quotation marks.
The parameters common to kitchen and pan are as follows:
Name of parameter Parameter meaning Role
Norep
Rep Resource Pool Name The name of the repository to connect to
User Resource pool Users Resource pool users to connect to
Pass Resource Pool user Password The repository user password to connect to
Listrep List all available repositories
Dir Paths in the resource pool Specify the resource pool path
Listdir List the paths for all repositories
File Filename Specify the file name where the job or transformation resides
Level Error | Nothing|
Basic | detailed|
Debug | rowlevel|
Specify Log level
LogFile Log file name Specify the log file name to write to
Version Displays the version number of the kettle, build date

For kitchen, the dir and Listdir parameters list the path to the job, and these two parameters in the pan command list the path to the transformation. Kitchen unique command-line arguments:

Name of parameter Parameter meaning Role
Jobs Job name Specify a job name in the repository
ListJobs

List all the jobs in the repository

Pan-Unique command-line arguments:

Name of parameter Parameter meaning Homework
Trans Conversion name Specify a conversion name in the repository
Listtrans List all conversions in the repository

Example:/opt/dtb_etl/kitchen.sh-rep=etl_1-user=admin-pass=admin-job=event_main-dir=events

Start the kitchen.sh command in the/opt/dtb_etl/directory, specify the repository Etl_1, repository username admin, password admin, execute event_main This job, specify the location of this job in the repository's events directory.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.