简体   繁体   English

如何将Pentaho Kettle存储库配置为包含Kettle ETL脚本的文件夹和/或SVN存储库?

[英]How do I configure Pentaho Kettle repository to folder and/or SVN repository containing Kettle ETL scripts?

I'm a newbie to Kettle and need some help setting it up properly. 我是Kettle的新手,需要一些帮助来正确设置它。 I'm trying to point Kettle at an SVN repository. 我试图将Kettle指向SVN存储库。 For now, I just have the following folders. 现在,我只有以下文件夹。

D:\ETL\data-integration\
D:\ETL\.kettle\
D:\ETL\Kettle-custom\
D:\ETL\scripts\
D:\ETL\logs\

The data-integration folder was extracted from pdi-ce-4.3.0-stable.zip. 数据集成文件夹是从pdi-ce-4.3.0-stable.zip中提取的。

In D:\\ETL.kettle\\repositories.xml, I'm pointing to D:\\ETL\\Kettle-custom\\ 在D:\\ ETL.kettle \\ repositories.xml中,我指向D:\\ ETL \\ Kettle-custom \\

<?xml version="1.0" encoding="UTF-8"?>
<repositories>
<repository>    
    <id>KettleFileRepository</id>
    <name>3</name>
    <description>custom_import</description>
    <base_directory>D:\ETL\Kettle-custom</base_directory>
    <read_only>N</read_only>
    <hides_hidden_files>N</hides_hidden_files>
  </repository>
</repositories>

I have an SVN repository set up called "etl" and a project named "kettle". 我有一个名为“ etl”的SVN存储库,还有一个名为“ kettle”的项目。

https://mydomain:8443/svn/etl/kettle/trunk

At this point, I get this popup, but I'm not sure what the "admin" password is, or what to do after this point. 至此,我得到了这个弹出窗口,但是我不确定“ admin”密码是什么,或者在此之后该怎么做。 I'd first like to connect Kettle to this folder. 首先,我想将Kettle连接到该文件夹​​。 But I'd also like to connect it to SVN if that's possible. 但是,如果可能的话,我也想将其连接到SVN。 Anything you can explain to me would be beneficial. 您可以向我解释的任何内容都会有所帮助。

在此处输入图片说明

I think you're confused about the term "Repository." 我认为您对“存储库”一词感到困惑。 The PDI Repository is not a SVN repository it's a custom home grown database repository. PDI存储库不是SVN存储库,它是自定义的自家生成的数据库存储库。

So you need to click on the + button to add a repository and enter some database details. 因此,您需要单击+按钮添加存储库并输入一些数据库详细信息。 The password is just admin/admin IIRC once you've created your repo. 创建存储库后,密码仅为admin / admin IIRC。

You dont need to use a repository though. 您虽然不需要使用存储库。 If you want to store your files in SVN and then open those files then just cancel this dialog. 如果要将文件存储在SVN中,然后打开这些文件,则只需取消此对话框即可。

启动汤匙后,您检查存储库是否已连接(如果未连接),然后连接,然后可以在共享位置查看repositiers.xml文件

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM