You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Sanjay Dahiya (JIRA)" <ji...@apache.org> on 2006/11/07 12:26:54 UTC

[jira] Updated: (HADOOP-676) JobClient should print user friendly messages for standard errors

     [ http://issues.apache.org/jira/browse/HADOOP-676?page=all ]

Sanjay Dahiya updated HADOOP-676:
---------------------------------

    Attachment: Hadoop-676.patch

This patch adds 3 new exceptions 
- InvalidJobConfException  (mendatory attributes missing or incorrect)
- InvalidFileTypeException (expecting file / got dir or vice versa ) 
- FileAlreadyExistsException  (as it says)

It throws these exceptions from job client and prints better error messages. All exceptions extend IOException to conform with existing API but are added in throws declaration to appear in javadocs. 

Is there any other exception you would like to be thrown/printed ? 

> JobClient should print user friendly messages for standard errors
> -----------------------------------------------------------------
>
>                 Key: HADOOP-676
>                 URL: http://issues.apache.org/jira/browse/HADOOP-676
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: mapred
>    Affects Versions: 0.7.2
>            Reporter: Owen O'Malley
>         Assigned To: Sanjay Dahiya
>             Fix For: 0.9.0
>
>         Attachments: Hadoop-676.patch
>
>
> The exceptions for non-existent input dirs or already existing output dirs should generate user-friendly error messages. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira