Hitachi Vantara Pentaho Community Forums
Results 1 to 4 of 4

Thread: File Output on Linux

  1. #1

    Question File Output on Linux

    Hi there,

    I am using 'Text Output' step to create a file on Linux (Redhat Linux).

    In the filename field, I entered '/home/data/data' with extension as 'txt'.

    When the step is run it's throwing an error - could not open file and therefore the text file is not created.

    I am running the job via Chef. It looks like there are some file permissions issues when chef is trying to create the file (my guess).

    Any help is appreciated!

    Cheers!!!

  2. #2
    Join Date
    May 2006
    Posts
    4,882

    Default

    Try to create /home/data/data.txt manually and see which error you get.

    Regards,
    Sven

  3. #3

    Default

    I am able to create the text file manually on Linux. As a Linux user I am able to do it.

    When I try to create the same file via 'Text Output' step, it's failing.

    Is it because the Kettle job is considered a different 'user' with different permissions?

    Can you see any issues there?

    Thanks for the quick reply.

  4. #4
    Join Date
    May 2006
    Posts
    4,882

    Default

    Kettle runs under the same permissions as the user you start it with... unless you have sticky bits or so, but looking at your question I doubt that.

    Attach the transformation and the log and we can have a look. One possible reason I could think of is that you reuse the same name for a file throughout your jobs/transformations... that could be problematic as java is pretty bad in releasing files.

    Regards,
    Sven

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.