List Info

Thread: Created: (HADOOP-1952) Streaming does not handle invalid -inputformat (typo by users for exa




Created: (HADOOP-1952) Streaming does not handle invalid -inputformat (typo by users for exa
country flaguser name
United States
2007-09-26 17:01:50
Streaming does not handle invalid -inputformat  (typo by
users for example)
------------------------------------------------------------
---------------

                 Key: HADOOP-1952
                 URL: htt
ps://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


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.


Updated: (HADOOP-1952) Streaming does not handle invalid -inputformat (typo by users for exa
country flaguser name
United States
2007-09-26 17:05:52
     [ https://issues.apache.org/jira/browse/HADOOP-1952?page=co
m.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: htt
ps://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.


Updated: (HADOOP-1952) Streaming does not handle invalid -inputformat (typo by users for exa
country flaguser name
United States
2007-10-20 04:35:50
     [ https://issues.apache.org/jira/browse/HADOOP-1952?page=co
m.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Assignee: lohit vijayarenu

> Streaming does not handle invalid -inputformat  (typo
by users for example)
>
------------------------------------------------------------
---------------
>
>                 Key: HADOOP-1952
>                 URL: htt
ps://issues.apache.org/jira/browse/HADOOP-1952
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/streaming
>    Affects Versions: 0.14.1
>            Reporter: lohit vijayarenu
>            Assignee: 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.


Updated: (HADOOP-1952) Streaming does not handle invalid -inputformat (typo by users for exa
country flaguser name
United States
2007-10-20 04:35:50
     [ https://issues.apache.org/jira/browse/HADOOP-1952?page=co
m.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Status: Patch Available  (was: Open)

Making this patch available. 

> Streaming does not handle invalid -inputformat  (typo
by users for example)
>
------------------------------------------------------------
---------------
>
>                 Key: HADOOP-1952
>                 URL: htt
ps://issues.apache.org/jira/browse/HADOOP-1952
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/streaming
>    Affects Versions: 0.14.1
>            Reporter: lohit vijayarenu
>            Assignee: 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.


Commented: (HADOOP-1952) Streaming does not handle invalid -inputformat (typo by users for e
country flaguser name
United States
2007-10-20 05:41:50
    [ https://issues.apache.org/jira/browse
/HADOOP-1952?page=com.atlassian.jira.plugin.system.issuetabp
anels:comment-tabpanel#action_12536417 ] 

Hadoop QA commented on HADOOP-1952:
-----------------------------------

+1 overall.  Here are the results of testing the latest
attachment 
http://issues.apache.org/j
ira/secure/attachment/12366611/CatchInvalidInputFormat.patch

against trunk revision r586680.

    author +1.  The patch does not contain any author
tags.

    javadoc +1.  The javadoc tool did not generate any
warning messages.

    javac +1.  The applied patch does not generate any new
compiler warnings.

    findbugs +1.  The patch does not introduce any new
Findbugs warnings.

    core tests +1.  The patch passed core unit tests.

    contrib tests +1.  The patch passed contrib unit tests.

Test results: http://lucene.zones.apache.org:8080/h
udson/job/Hadoop-Patch/975/testReport/
Findbugs warnings: http://lucene.zones.apache.org:8080/hudson/j
ob/Hadoop-Patch/975/artifact/trunk/build/test/findbugs/newPa
tchFindbugsWarnings.html
Checkstyle results: 
http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/
975/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://lucene.zones.apache.org:8080/hudso
n/job/Hadoop-Patch/975/console

This message is automatically generated.

> Streaming does not handle invalid -inputformat  (typo
by users for example)
>
------------------------------------------------------------
---------------
>
>                 Key: HADOOP-1952
>                 URL: htt
ps://issues.apache.org/jira/browse/HADOOP-1952
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/streaming
>    Affects Versions: 0.14.1
>            Reporter: lohit vijayarenu
>            Assignee: 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.


Commented: (HADOOP-1952) Streaming does not handle invalid -inputformat (typo by users for e
country flaguser name
United States
2007-11-07 05:40:50
    [ https://issues.apache.org/jira/browse
/HADOOP-1952?page=com.atlassian.jira.plugin.system.issuetabp
anels:comment-tabpanel#action_12540721 ] 

Arun C Murthy commented on HADOOP-1952:
---------------------------------------

Lohit, I see your latest patch removes some combiner
options... are you sure about these changes? If so, are they
related to this jira?


Index:
src/contrib/streaming/src/test/org/apache/hadoop/streaming/T
estStreamingFailure.java
============================================================
=======
---
src/contrib/streaming/src/test/org/apache/hadoop/streaming/T
estStreamingFailure.java  (revision 588543)
+++
src/contrib/streaming/src/test/org/apache/hadoop/streaming/T
estStreamingFailure.java  (working copy)
 -47,7
+47,6 
       "-input",
INVALID_INPUT_FILE.getAbsolutePath(),
       "-output", OUTPUT_DIR.getAbsolutePath(),
       "-mapper", map,
-      "-combiner", combine,
       "-reducer", reduce,
       //"-verbose",
       //"-jobconf", "stream.debug=set"
Index:
src/contrib/streaming/src/test/org/apache/hadoop/streaming/T
estGzipInput.java
============================================================
=======
---
src/contrib/streaming/src/test/org/apache/hadoop/streaming/T
estGzipInput.java (revision 588543)
+++
src/contrib/streaming/src/test/org/apache/hadoop/streaming/T
estGzipInput.java (working copy)
 -47,7
+47,6 
       "-input", INPUT_FILE.getAbsolutePath(),
       "-output", OUTPUT_DIR.getAbsolutePath(),
       "-mapper", map,
-      "-combiner", combine,
       "-reducer", reduce,
       "-jobconf",
"stream.recordreader.compression=gzip"
     };
Index:
src/contrib/streaming/src/test/org/apache/hadoop/streaming/T
estStreaming.java
============================================================
=======
---
src/contrib/streaming/src/test/org/apache/hadoop/streaming/T
estStreaming.java (revision 588543)
+++
src/contrib/streaming/src/test/org/apache/hadoop/streaming/T
estStreaming.java (working copy)
 -40,7
+40,6 
   protected String map =
StreamUtil.makeJavaCommand(TrApp.class, new
String[]{".", "\n"});
   // reduce behave like /usr/bin/uniq. But also prepend
lines with R.
   // command-line combiner does not have any effect any
more.
-  protected String combine  =
StreamUtil.makeJavaCommand(UniqApp.class, new
String[]{"C"});
   protected String reduce =
StreamUtil.makeJavaCommand(UniqApp.class, new
String[]{"R"});
   protected String outputExpect =
"RaretnRbluetnRbunniestnRpinktnRredtnRrosest
nRvioletstn";

 -66,7
+65,6 
       "-input", INPUT_FILE.getAbsolutePath(),
       "-output", OUTPUT_DIR.getAbsolutePath(),
       "-mapper", map,
-      "-combiner", combine,
       "-reducer", reduce,
       //"-verbose",
       //"-jobconf", "stream.debug=set"



> Streaming does not handle invalid -inputformat  (typo
by users for example)
>
------------------------------------------------------------
---------------
>
>                 Key: HADOOP-1952
>                 URL: htt
ps://issues.apache.org/jira/browse/HADOOP-1952
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/streaming
>    Affects Versions: 0.14.1
>            Reporter: lohit vijayarenu
>            Assignee: lohit vijayarenu
>            Priority: Minor
>             Fix For: 0.16.0
>
>         Attachments: CatchInvalidInputFormat.patch,
HADOOP-1952-1.patch, HADOOP-1952-2.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.


[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )