kettle 运行参数说明与示例

kettle的kitchen.bat /kitchen.sh
后面参数说明*
options:

/rep        : repository name
/user       : repository username
/pass       : repository password
/job        : the name of the job to launch
/dir        : the directory (dont forget the leading /)
/file       : the filename (job xml) to launch
/level      : the logging level (basic, detailed, debug, rowlevel, error, nothing)
/logfile    : the logging file to write to
/listdir    : list the directories in the repository
/listjobs   : list the jobs in the specified directory
/listrep    : list the available repositories
/norep      : do not log into the repository
/version    : show the version, revision and build date
/param      : set a named parameter <name>=<value>. for example -param:foo=bar
/listparam : list information concerning the defined parameters in the specified job.
/export     : exports all linked resources of the specified job. the argument is the name of a zip file.

而options 后面可以是=也可以是:也可以是空格
kitchen.bat /file d:\ 或者 -file=d:\ 或者/file:d:\等等都可以。。。

kitchen.sh运行参数例子:

kitchen.sh -rep can_test_kettle -user admin -pass admin -dir /test_db_data_copy/all_data_copy/job -job job_test_db_data_copy_main -level=basic

kitchen.bat -rep can_test_kettle -user admin -pass admin -dir /test_db_data_copy/all_data_copy/job -job job_test_db_data_copy_main -level=basic

pan.sh 运行参数基本与kitchen.bat相同
运行转化 的参数:

-trans
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • //[kettle官方首页]Data Integration | Pentaho Communityhttp://...
    葡萄喃喃呓语阅读 10,520评论 0 21
  • 个人学习批处理的初衷来源于实际工作;在某个迭代版本有个BS(安卓手游模拟器)大需求,从而在测试过程中就重复涉及到...
    Luckykailiu阅读 10,263评论 0 11
  • 1.创建文件夹 !/bin/sh mkdir -m 777 "%%1" 2.创建文件 !/bin/sh touch...
    BigJeffWang阅读 13,469评论 3 53
  • Spring Cloud为开发人员提供了快速构建分布式系统中一些常见模式的工具(例如配置管理,服务发现,断路器,智...
    卡卡罗2017阅读 135,769评论 19 139
  • linux资料总章2.1 1.0写的不好抱歉 但是2.0已经改了很多 但是错误还是无法避免 以后资料会慢慢更新 大...
    数据革命阅读 14,203评论 2 33