rpbouman / kettle-cookbook

Automatically exported from code.google.com/p/kettle-cookbook
GNU Lesser General Public License v3.0
46 stars 36 forks source link

cookbook for kettle 5.1 #67

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi.
I made some modifications on ktr files in order to work with kettle 5.1.0.0-752 
(mostly mapping steps).

Attached patch versus revision 87.

Hope this can be useful for other peoples.

Best regards.

Enrico

Original issue reported on code.google.com by enricomariam42 on 8 Sep 2014 at 10:59

Attachments:

GoogleCodeExporter commented 9 years ago
Hi Enrico! 

thank you! this is much appreciated. 

Will this patch also work with earlier versions of cookbook? If so I'd be happy 
to give you commit access so you can add it to the project.

Original comment by roland.bouman on 8 Sep 2014 at 11:06

GoogleCodeExporter commented 9 years ago
I tough r87 it was the last, I'm wrong?

However i checked out on 2014-08-26 and made my modifications.

May be better create a new branch for kettle5?

Original comment by enricomariam42 on 8 Sep 2014 at 11:14

GoogleCodeExporter commented 9 years ago
You're right, r87 is the last revision.

Perhaps creating a branch per kettle version is the best way to go forward.

I'll try and find some time next weekend to make branches. I'll get back to 
you. Thanks!

Original comment by roland.bouman on 8 Sep 2014 at 11:46

GoogleCodeExporter commented 9 years ago
@enricomariam42, could you check out 
https://code.google.com/p/kettle-cookbook/issues/detail?id=68 

Original comment by roland.bouman on 8 Sep 2014 at 12:01

GoogleCodeExporter commented 9 years ago
I'm a complete noob on using these revisions and such... I love cookbook and 
got pretty lost when it stopped working with Kettle5. Can you guys either make 
available a download option, or tell me how to download it from the source and 
make it work? I don't know if makes any difference, I'm on Windows 8 64-bit.

Original comment by joao.ciocca on 23 Feb 2015 at 10:32

GoogleCodeExporter commented 9 years ago
Hi Joao!
Try applying the patch attached above. I did it for kettle 5.1, may work for 
other version too.

Original comment by enricomariam42 on 24 Feb 2015 at 9:24

GoogleCodeExporter commented 9 years ago
Hi Enrico! I'm leaving on a trip today, be back saturday. Since that's work 
stuff, I think I'll test it only monday... but thanks, I'll try to apply it... 
not so sure how to do it, but I'll manage =p

Original comment by joao.ciocca on 24 Feb 2015 at 9:48

GoogleCodeExporter commented 9 years ago
Joao, to get the latest version, please install svn. Then follow the 
instructions here: https://code.google.com/p/kettle-cookbook/source/checkout to 
do a read-only anonymous checkout. The command is 

svn checkout http://kettle-cookbook.googlecode.com/svn/trunk/ 
kettle-cookbook-read-only

Original comment by roland.bouman on 24 Feb 2015 at 11:17

GoogleCodeExporter commented 9 years ago
Ok, I finally got around to getting svn and checking out the latest version.

Tried to run, and now I got this error message:
2015/03/03 18:48:50 - Make Executable - Running on platform : Windows 8
2015/03/03 18:48:50 - Make Executable - Executing command : cmd.exe /C 
""C:\Program Files 
(x86)\Pentaho\data-integration\null\kettle_13d7032a-c1ef-11e4-9331-c39dd1e80efbs
hell.bat""
2015/03/03 18:48:50 - Make Executable - (stdout)
2015/03/03 18:48:50 - Make Executable - (stdout) C:\Program Files 
(x86)\Pentaho\data-integration>chmod ug+x
2015/03/03 18:48:50 - Make Executable - ERROR (version 5.3.0.0-213, build 1 
from 2015-02-02_12-17-08 by buildguy) : (stderr) 'chmod' nÆo ‚ reconhecido 
como um comando interno
2015/03/03 18:48:50 - Make Executable - ERROR (version 5.3.0.0-213, build 1 
from 2015-02-02_12-17-08 by buildguy) : (stderr) ou externo, um programa 
oper vel ou um arquivo em lotes.

apparently, it's trying to chmod some file, but I'm on Windows, so that 
shouldn't happen? ${Is_Windows} for some reason is set to no... which didn't 
exist in earlier versions?

Ok, manually changed IS_WINDOWS to Y, and now it got stuck on another error:
2015/03/03 18:53:23 - document-folder - Starting entry [Execute transform 
script]
2015/03/03 18:53:23 - document-folder - Running on platform : Windows 8
2015/03/03 18:53:23 - document-folder - Executing command : cmd.exe /C 
""C:\Program Files (x86)\Pentaho\data-integration""
2015/03/03 18:53:23 - document-folder - ERROR (version 5.3.0.0-213, build 1 
from 2015-02-02_12-17-08 by buildguy) : (stderr) '"C:\Program Files 
(x86)\Pentaho\data-integration"' nÆo ‚ reconhecido como um comando interno
2015/03/03 18:53:23 - document-folder - ERROR (version 5.3.0.0-213, build 1 
from 2015-02-02_12-17-08 by buildguy) : (stderr) ou externo, um programa 
oper vel ou um arquivo em lotes.
2015/03/03 18:53:23 - document-folder - Finished job entry [Execute transform 
script] (result=[false])

Apparently, it's trying to run the folder where PDI is installed? Am I missing 
something else, like I did missed the manual setting of IS_WINDOWS?

Original comment by joao.ciocca on 3 Mar 2015 at 9:56

ghost commented 9 years ago

I'm kinda new to using git, but I believe your patch has a lot of paths pointed at your personal directories, so I wasn't able to apply this patch in my version. Did you do a lot of changes to the transformations? Maybe you could share what you did?