Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: java.lang.IllegalArgumentException: Invalid DFS directory - Error in MapReduce

  1. #1
    Join Date
    Sep 2012

    Default java.lang.IllegalArgumentException: Invalid DFS directory - Error in MapReduce


    I am facing the following error while running a MapReduce transformation in Pentaho

    ERROR 07-10 06:23:39,909 - Pentaho MapReduce - [FAILED] -- Task: 1 Attempt: 2 Event: 12
    java.lang.IllegalArgumentException: Invalid DFS directory name
    at org.apache.hadoop.hdfs.DistributedFileSystem.setWorkingDirectory(
    at org.apache.hadoop.mapred.Child$
    at Method)
    at org.apache.hadoop.mapred.Child.main(

    Can anyone suggest me what is the issue?

  2. #2
    Join Date
    Jul 2012


    It happened in our environment as well. A Mapreduce job that was running fine suddenly started failing without any reason. Same error message as you are seeing. In our case, below is the sequence of events that caused the problem:
    1. We are currently using PDI 4.3. One of the developer downloaded PDI 4.4 for learning purpose and connected to the repository.
    2. PDI 4.4 mapreduce step is not having any option to specify Hadoop distribution (Cloudera) and temporary work directory (/tmp). When that developer opened the M/R job and saved it using PDI 4.4, these 2 fields got wiped out in the Job
    3. Rest of the team opened the job in PDI 4.3 and submitted the M/R jobs. The jobs failed due to the above mentioned 2 fields.

    Put the value for those 2 fields back and you should be good. Not sure how this has to be handled in 4.4 though.

  3. #3
    Join Date
    Nov 1999


    This doesn't look like a known issue in JIRA.

    Please create a bug report for this:
    Bug Reports and Feature Requests FAQ is over here:


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.