首页 > 其他分享 >Mac M2 启动 kettle web 服务 cart

Mac M2 启动 kettle web 服务 cart

时间:2023-12-19 12:00:13浏览次数:29  
标签:web IDENTIFIERS FORCE OPTION EXTRA kettle cart MYSQL DATA

查看本地资料库配置

<?xml version="1.0" encoding="UTF-8"?>
<repositories>
  <connection>
    <name>dses_etldb</name>
    <server>10.132.81.199</server>
    <type>MYSQL</type>
    <access>Native</access>
    <database>dses_etldb</database>
    <port>3306</port>
    <username>dep</username>
    <password>Encrypted xxxxxx</password>
    <servername/>
    <data_tablespace/>
    <index_tablespace/>
    <attributes>
      <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
      <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
      <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
      <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
      <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
      <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
      <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>Y</attribute></attribute>
      <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
      <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
      <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
      <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
      <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
    </attributes>
  </connection>
  <connection>
    <name>test_db</name>
    <server>172.16.37.208</server>
    <type>MYSQL</type>
    <access>Native</access>
    <database>dses_etldb</database>
    <port>3306</port>
    <username>dep</username>
    <password>Encrypted xxxxxx</password>
    <servername/>
    <data_tablespace/>
    <index_tablespace/>
    <attributes>
      <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
      <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
      <attribute><code>EXTRA_OPTION_MYSQL.useSSL</code><attribute>false</attribute></attribute>
      <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
      <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
      <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
      <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
      <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>Y</attribute></attribute>
      <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
      <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
      <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
      <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
      <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
    </attributes>
  </connection>
  <connection>
    <name>local_test</name>
    <server>localhost</server>
    <type>MYSQL</type>
    <access>Native</access>
    <database>test</database>
    <port>3306</port>
    <username>root</username>
    <password>Encrypted xxxxxx</password>
    <servername/>
    <data_tablespace/>
    <index_tablespace/>
    <attributes>
      <attribute><code>EXTRA_OPTION_MYSQL.defaultFetchSize</code><attribute>500</attribute></attribute>
      <attribute><code>EXTRA_OPTION_MYSQL.useCursorFetch</code><attribute>true</attribute></attribute>
      <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute>
      <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute>
      <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute>
      <attribute><code>PORT_NUMBER</code><attribute>3306</attribute></attribute>
      <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>Y</attribute></attribute>
      <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute>
      <attribute><code>STREAM_RESULTS</code><attribute>Y</attribute></attribute>
      <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute>
      <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute>
      <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute>
    </attributes>
  </connection>
  <repository>    <id>KettleDatabaseRepository</id>
    <name>Test_repo</name>
    <description>Database repository</description>
    <is_default>false</is_default>
    <connection>test_db</connection>
  </repository>  <repository>    <id>KettleDatabaseRepository</id>
    <name>ShenzhenEtlRepo</name>
    <description>Database repository</description>
    <is_default>false</is_default>
    <connection>dses_etldb</connection>
  </repository>  <repository>    <id>KettleDatabaseRepository</id>
    <name>Test_local</name>
    <description>Database repository</description>
    <is_default>true</is_default>
    <connection>local_test</connection>
  </repository>  </repositories>

配置cart 默认资料库 必须是已经在本地资料库配置

cd  ~/data-integration
vim  pwd/carte-config-master-8080.xml 
<slave_config>
  <slaveserver>
    <name>master1</name>
    <hostname>localhost</hostname>
    <port>8080</port>
    <master>Y</master>
  </slaveserver>
    <repository>
    <name>ShenzhenEtlRepo</name>
    <is_default>true</is_default>
    <connection>dses_etldb</connection>
    <username>admin</username>
    <password>admin</password>
  </repository>
</slave_config>

启动服务


sh carte.sh pwd/carte-config-master-8080.xml  

标签:web,IDENTIFIERS,FORCE,OPTION,EXTRA,kettle,cart,MYSQL,DATA
From: https://www.cnblogs.com/guanchaoguo/p/17913400.html

相关文章

  • WebAPI局域网访问出错(经验总结)
    WebAPI局域网访问出错(经验总结)经验一:未设置入站规则方法:控制面板->系统和安全->WindowsDefender防火墙->高级设置->入站规则->新建规则->端口->,如图:下一页特定本地端口为WebAPI在IIS中设置的端口号。选择允许连接,最后起个名称完成即可。即可通过此设备......
  • windows本地部署webUI框架遇到的问题及解决
    最近对stablediffusion比较感兴趣,就想着拿一些模型在本地跑一跑感受一下,也想训练一些自己的模型玩一玩,刚开始参照网上的教程及github上的官方教程一直安装不成功,总是报错:torch安装不成功或其他的一些,本人系统是win10,总结了一些可以尝试的解决方法如下:1.对conda使用不是很熟悉,......
  • 第二章:SpringMVC的配置文件(web.xml)及访问页面
    一、开发环境二、创建maven工程三、默认方式配置web.xml四、扩展方式配置web.xml五、创建控制器六、配置springMVC配置文件七、访问首页八、访问指定页面九、总结......
  • Java登陆第二十五天——Tomcat、认识JavaWeb项目
    Java项目开发后,需要部署到服务器中,服务器需要有最基本的操作系统。单一的操作系统还不够,因为Java项目经过JVM编译后的是.class文件(字节码文件)。字节码文件的运行需要Java运行环境(JRE)。有了JRE还是不够。不是所有的项目都可以直接运行,还需要服务器软件服务器软......
  • kettle组件控制操作MySQL
    使用kettle执行脚本:然后保存执行实现以下效果;转换参数:实现变量转换:deletefromtestwhereuserid='${userid}';实现效果:100被删除......
  • webservice接口的调用
    1.添加web引用:找到服务的url(网址) 输入好url后点击添加引用注意:.asmx链接引用时是添加web引用?wsdl链接引用时添加service引用2.代码调用WebReference.WebService1webtest=newWebReference.WebService1();webtest.GDXF2("sss"); ......
  • ASP.NET WEBAPI 接入微信公众平台总结,Token验证失败解决办法
    首先,请允许我说一句:shit!因为这个问题不难,但是网上有关ASP.NETWEBAPI的资料太少。都是PHP等等的。我也是在看了某位大神的博客后有启发,一点点研究出来的。来看正题!1.微信公众平台的接入方法,无非4个参数(signature,timestamp,nonce,echostr)加1个Token(两边对应)2.Token,timestamp,......
  • 模拟登录之web监控
    1.什么是web监控zabbix除了能通过脚本+自定义key,实现服务器数据提取监控以外也支持对网页的HTTP请求、响应监控。2.web监控需求以zabbix-UI页面的登录监控,模拟登录,输入账号密码,实现首页的健康监控。1.模拟登录输入zabbix账号密码,登录后台,如果登录失败就报警2.基于响......
  • datax web采集oracle数据库,能连接无法使用的问题
    链接oracle数据库时,要注意自己数据的连接参数,下边代码中的高亮部分作为参考{"job":{"setting":{"speed":{"channel":3,"byte":1048576},"errorLimit":{"record":0......
  • JavaWeb - Day09 - Mybatis - 基础操作、XML映射文件、动态SQL
    01.Mybatis-基础操作-环境准备需求需求说明:根据资料中提供的《tlias智能学习辅助系统》页面原型及需求,完成员工管理的需求开发。通过分析以上的页面原型和需求,我们确定了功能列表:查询根据主键ID查询条件查询新增更新删除根据主键ID删除根据......