Pentaho Kettle - script batch ne produit pas de sortie
-
28-09-2019 - |
Question
J'ai écrit un script bouilloire Pentaho très simple qui fonctionne très bien quand je le lance de la cuillère ide. Il faut dans un fichier csv et l'écrit dans un fichier texte et un fichier xml. Cependant, si je lance comme un traitement par lots à l'aide pan.bat, il ne crée pas ou mettre à jour ou l'autre des fichiers qu'il est censé. Je suis en cours d'exécution comme xml (pas par le référentiel)
Voici la commande:
C:\test\data-integration>pan.bat /file ./demo/hello.ktr /level:Basic
Voici cette sortie:
INFO 24-11 13:18:43,765 - Using "C:\DOCUME~1\mcd\LOCALS~1\Temp\vfs_cache" as te
mporary files store.
INFO 24-11 13:18:44,156 - Pan - Pan
INFO 24-11 13:18:44,156 - Pan - Pan
INFO 24-11 13:18:44,312 - hello - Dispatching started for transformation [hello
]
INFO 24-11 13:18:44,343 - hello - This transformation can be replayed with repl
ay date: 2010/11/24 13:18:44
INFO 24-11 13:18:44,343 - File with Greetings - Opening output stream in encodi
ng: UTF-8
INFO 24-11 13:18:44,375 - CSV file input - Header row skipped in file 'file:///
C:/test/data-integration/demo/list.csv'
INFO 24-11 13:18:44,375 - CSV file input - Finished processing (I=7, O=0, R=0,
W=6, U=0, E=0)
INFO 24-11 13:18:44,593 - Greetings - Finished processing (I=0, O=0, R=6, W=12,
U=0, E=0)
INFO 24-11 13:18:44,593 - File with Greetings - Finished processing (I=0, O=6,
R=6, W=6, U=0, E=0)
INFO 24-11 13:18:44,593 - Text file output - Finished processing (I=0, O=7, R=6
, W=6, U=0, E=0)
INFO 24-11 13:18:44,593 - Pan - Pan
INFO 24-11 13:18:44,593 - Pan - Pan
INFO 24-11 13:18:44,593 - Pan - Pan
INFO 24-11 13:18:44,609 - hello -
INFO 24-11 13:18:44,609 - hello - Step CSV file input.0 ended successfully, processed 6 lines. ( - lines/s)
INFO 24-11 13:18:44,609 - hello - Step Greetings.0 ended successfully, processe
d 12 lines. ( - lines/s)
INFO 24-11 13:18:44,609 - hello - Step File with Greetings.0 ended successfully
, processed 6 lines. ( - lines/s)
INFO 24-11 13:18:44,609 - hello - Step Text file output.0 ended successfully, p
rocessed 6 lines. ( - lines/s)
Cela devrait créer / mettre à jour quelques fichiers, mais rien ne se passe. Toutes les idées?
La solution
Problème résolu - la sortie a été signalé dans un autre répertoire que je pensais. Je certainement avais corrigé, mais je dois avoir entrer le changement dans le fichier d'origine par opposition à celui que je travaillais avec. Ne jamais faire des copies à moins que vous devez.