Hitachi Vantara Pentaho Community Forums
Results 1 to 6 of 6

Thread: kitchen.sh command line options not working (parmeter option and log file option)

  1. #1
    Join Date
    Jul 2007
    Posts
    7

    Default kitchen.sh command line options not working (parmeter option and log file option)

    Hi:
    I took the PDI 4.0 stable release and copied to unix environment. My java environment is 1.6. The helloworld kjb code works on windows environment and writes the passed in parameter value on 'write log', I can see it. If I copy the kjb to unix environment and run it with kitchen.sh environment. I see the default value only. I am not able to see the passed in named parameter values. The option for log file name is also not working. If I use the '-list params' syntax. I see the named parameters with the default value. Can you please provide the correct build or version to use. I see the same issue raised by another thread also. The pan.sh works on unix environemtn with the named parameter with the passed values to the transformation. Any help.

    kitchen.sh -file=helloworld.kjb -parmaram1=$arg1 -parmaram2=$arg2

    thank you.

  2. #2
    Join Date
    Jul 2007
    Posts
    247

    Default

    Hi Karthik,

    that was bug that has been fixed in PDI 4.0.1:http://jira.pentaho.com/browse/PDI-4219

    You can download the 4.0.1 relase either from this link or this forum post.


    HTH,
    Ben

  3. #3
    Join Date
    Jul 2007
    Posts
    7

    Default kitchen.sh command line options named parmeter option works with 4.0.1 r13705

    Hi Ben:
    Thank you for the build info.

    I see the passed in named parameter values shows in the log in unix env command line option.
    (pdi-ce-4.0.1-SNAPSHOT-r13705.zip)

    The -logfile option is not writing anything in the file. I see the file created. Any help.

    Thank you.

  4. #4
    Join Date
    Jul 2009
    Posts
    13

    Default

    I am having the same problem but I am using redirection as a workaround

    kitchen.bat /rep:"3.0 Development Repository" /job:"TransformationsWrapper" /user:admin /pass:admin /loglevel:Basic >> D:\TransformationsWrapper.log /dir:/

  5. #5
    Join Date
    Oct 2010
    Posts
    4

    Default

    Hi
    i created a jira report cause of this problem:
    kitchen.sh doesn`t write anything in logfile

    http://jira.pentaho.com/browse/PDI-5396

  6. #6
    Join Date
    Oct 2010
    Posts
    4

    Default

    created Jira 5396
    http://jira.pentaho.com/browse/PDI-5396

    same problem in Version 4.1.3

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.