[ 
https://issues.apache.org/jira/browse/HADOOP-1952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

lohit vijayarenu updated HADOOP-1952:
-------------------------------------

    Attachment: CatchInvalidInputFormat.patch

Attached is a simple patch to fix this. This patch also adds check for 
class.getSimpleName() while checking for inputformat class. In that case, users 
do not have to specify full class path for standard Class, instead they could 
just provide the simple class name.
Thanks

> Streaming does not handle invalid -inputformat  (typo by users for example)
> ---------------------------------------------------------------------------
>
>                 Key: HADOOP-1952
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1952
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/streaming
>    Affects Versions: 0.14.1
>            Reporter: lohit vijayarenu
>            Priority: Minor
>         Attachments: CatchInvalidInputFormat.patch
>
>
> Hadoop Streaming does not handle invalid inputformat class. For example 
> -inputformat INVALID class would not be thrown as an error. Instead it 
> defaults to StreamInputFormat. If an invalid inputformat is specified, it is 
> good to fail. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to