Uploaded image for project: 'Pentaho Data Integration - Kettle'
  1. Pentaho Data Integration - Kettle
  2. PDI-14344

Execute a process/Shell fails with Unknown error 316 on OS X Yosemite

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Severity: High
    • Resolution: Fixed
    • Affects Version/s: 5.3.0 GA, 5.4.0.1 GA
    • Fix Version/s: 6.1.0 GA
    • Component/s: Job, Transformation
    • Labels:
    • Environment:
      Macbook Pro Early 2013
    • Story Points:
      1
    • PDI Sub-component:
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.
    • Sprint Team:
      Mos Eisley
    • Operating System/s:
      Mac OSX Yosemite
    • Steps to Reproduce:
      Hide

      The error can be triggered both in jobs and transformations.

      To reproduce in job:

      1. Download the attached PDI-14344.kjb and test.sh file
      2. Set the execute bit and run test.sh to confirm it works correctly
      3. Execute the PDI-14344.kjb file in Spoon

      Expected Results: The job completes successfully, showing the "curl --help" output in the log
      Actual Results: The job fails, similar to the attached PDI-14344_530_original.txt error message

      To reproduce in transformation:

      1. Create new transformation
      2. Add a data grid
      3. Add a column named "command"
      4. Add any fully qualified command name to the first row (such as /usr/local/bin/ldftk in my case
      5. Add Execute a process to the transformation and hook it up to the grid.
      6. Select the "command" column in the Excute a process step.
      7. Save and Run

      In order to be able to see that the step fails check the "Fail if not success" checkbox.

      The steps to reproduce the issue in a Job is similar but obviously use "Shell" instead of "Execute a process".

      Show
      The error can be triggered both in jobs and transformations. To reproduce in job: Download the attached PDI-14344.kjb and test.sh file Set the execute bit and run test.sh to confirm it works correctly Execute the PDI-14344 .kjb file in Spoon Expected Results: The job completes successfully, showing the "curl --help" output in the log Actual Results: The job fails, similar to the attached PDI-14344_530_original.txt error message To reproduce in transformation: Create new transformation Add a data grid Add a column named "command" Add any fully qualified command name to the first row (such as /usr/local/bin/ldftk in my case Add Execute a process to the transformation and hook it up to the grid. Select the "command" column in the Excute a process step. Save and Run In order to be able to see that the step fails check the "Fail if not success" checkbox. The steps to reproduce the issue in a Job is similar but obviously use "Shell" instead of "Execute a process".

      Description

      After installing Pentaho on OS X using the Graphical Installer, it is not possible to run a PDI job that calls a shell script, as it fails with an Unknown error 316 or Caused by: java.io.IOException: error=0, spawn failed

      The executable of course exists and runs perfectly if invoked from a terminal.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            Mikael Setterberg Mikael Setterberg
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: