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 "Hemanth Yamijala (JIRA)" <ji...@apache.org> on 2008/09/23 09:14:44 UTC
[jira] Created: (HADOOP-4247) hadoop jar throwing exception when
running examples
hadoop jar throwing exception when running examples
---------------------------------------------------
Key: HADOOP-4247
URL: https://issues.apache.org/jira/browse/HADOOP-4247
Project: Hadoop Core
Issue Type: Bug
Components: examples
Reporter: Hemanth Yamijala
With trunk, running examples like wordcount or sleep is giving an exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-4247) hadoop jar throwing exception when
running examples
Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12633752#action_12633752 ]
Owen O'Malley commented on HADOOP-4247:
---------------------------------------
What exception are you seeing? Branch-0.19 runs word count for me fine without the patch.
> hadoop jar throwing exception when running examples
> ---------------------------------------------------
>
> Key: HADOOP-4247
> URL: https://issues.apache.org/jira/browse/HADOOP-4247
> Project: Hadoop Core
> Issue Type: Bug
> Components: examples
> Affects Versions: 0.19.0
> Reporter: Hemanth Yamijala
> Assignee: Hemanth Yamijala
> Priority: Blocker
> Fix For: 0.19.0
>
> Attachments: HADOOP-4247.patch
>
>
> With trunk, running examples like wordcount or sleep is giving an exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-4247) hadoop jar throwing exception when
running examples
Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Owen O'Malley updated HADOOP-4247:
----------------------------------
Attachment: hadoop-4247-3.patch
Ok, clearly tools.jar is missing from the findbugs tests. I fixed the dead store findbugs warning.
> hadoop jar throwing exception when running examples
> ---------------------------------------------------
>
> Key: HADOOP-4247
> URL: https://issues.apache.org/jira/browse/HADOOP-4247
> Project: Hadoop Core
> Issue Type: Bug
> Components: examples
> Affects Versions: 0.19.0
> Reporter: Hemanth Yamijala
> Assignee: Owen O'Malley
> Priority: Blocker
> Fix For: 0.19.0
>
> Attachments: hadoop-4247-2.patch, hadoop-4247-3.patch, hadoop-4247.patch, HADOOP-4247.patch
>
>
> With trunk, running examples like wordcount or sleep is giving an exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-4247) hadoop jar throwing exception when
running examples
Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Owen O'Malley updated HADOOP-4247:
----------------------------------
Status: Patch Available (was: Open)
> hadoop jar throwing exception when running examples
> ---------------------------------------------------
>
> Key: HADOOP-4247
> URL: https://issues.apache.org/jira/browse/HADOOP-4247
> Project: Hadoop Core
> Issue Type: Bug
> Components: examples
> Affects Versions: 0.19.0
> Reporter: Hemanth Yamijala
> Assignee: Owen O'Malley
> Priority: Blocker
> Fix For: 0.19.0
>
> Attachments: hadoop-4247-2.patch, hadoop-4247-3.patch, hadoop-4247.patch, HADOOP-4247.patch
>
>
> With trunk, running examples like wordcount or sleep is giving an exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HADOOP-4247) hadoop jar throwing exception when
running examples
Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Owen O'Malley reassigned HADOOP-4247:
-------------------------------------
Assignee: Owen O'Malley (was: Hemanth Yamijala)
> hadoop jar throwing exception when running examples
> ---------------------------------------------------
>
> Key: HADOOP-4247
> URL: https://issues.apache.org/jira/browse/HADOOP-4247
> Project: Hadoop Core
> Issue Type: Bug
> Components: examples
> Affects Versions: 0.19.0
> Reporter: Hemanth Yamijala
> Assignee: Owen O'Malley
> Priority: Blocker
> Fix For: 0.19.0
>
> Attachments: HADOOP-4247.patch
>
>
> With trunk, running examples like wordcount or sleep is giving an exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-4247) hadoop jar throwing exception when
running examples
Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Owen O'Malley updated HADOOP-4247:
----------------------------------
Status: Open (was: Patch Available)
> hadoop jar throwing exception when running examples
> ---------------------------------------------------
>
> Key: HADOOP-4247
> URL: https://issues.apache.org/jira/browse/HADOOP-4247
> Project: Hadoop Core
> Issue Type: Bug
> Components: examples
> Affects Versions: 0.19.0
> Reporter: Hemanth Yamijala
> Assignee: Owen O'Malley
> Priority: Blocker
> Fix For: 0.19.0
>
> Attachments: hadoop-4247-2.patch, hadoop-4247-3.patch, hadoop-4247.patch, HADOOP-4247.patch
>
>
> With trunk, running examples like wordcount or sleep is giving an exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-4247) hadoop jar throwing exception when
running examples
Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12633771#action_12633771 ]
Owen O'Malley commented on HADOOP-4247:
---------------------------------------
Sorry! I had jira on "Subversion commits" since I was de-tangling the problems with HADOOP-4006 and missed your detailed description of the problem.
The fundamental problem is that examples.jar depends on tools.jar. We need to straighten out the dependencies, rather than just including both on the class path, I think.
> hadoop jar throwing exception when running examples
> ---------------------------------------------------
>
> Key: HADOOP-4247
> URL: https://issues.apache.org/jira/browse/HADOOP-4247
> Project: Hadoop Core
> Issue Type: Bug
> Components: examples
> Affects Versions: 0.19.0
> Reporter: Hemanth Yamijala
> Assignee: Hemanth Yamijala
> Priority: Blocker
> Fix For: 0.19.0
>
> Attachments: HADOOP-4247.patch
>
>
> With trunk, running examples like wordcount or sleep is giving an exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-4247) hadoop jar throwing exception when
running examples
Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Owen O'Malley updated HADOOP-4247:
----------------------------------
Status: Patch Available (was: Open)
> hadoop jar throwing exception when running examples
> ---------------------------------------------------
>
> Key: HADOOP-4247
> URL: https://issues.apache.org/jira/browse/HADOOP-4247
> Project: Hadoop Core
> Issue Type: Bug
> Components: examples
> Affects Versions: 0.19.0
> Reporter: Hemanth Yamijala
> Assignee: Owen O'Malley
> Priority: Blocker
> Fix For: 0.19.0
>
> Attachments: hadoop-4247.patch, HADOOP-4247.patch
>
>
> With trunk, running examples like wordcount or sleep is giving an exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-4247) hadoop jar throwing exception when
running examples
Posted by "Hemanth Yamijala (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hemanth Yamijala updated HADOOP-4247:
-------------------------------------
Status: Patch Available (was: Open)
> hadoop jar throwing exception when running examples
> ---------------------------------------------------
>
> Key: HADOOP-4247
> URL: https://issues.apache.org/jira/browse/HADOOP-4247
> Project: Hadoop Core
> Issue Type: Bug
> Components: examples
> Affects Versions: 0.19.0
> Reporter: Hemanth Yamijala
> Assignee: Hemanth Yamijala
> Priority: Blocker
> Fix For: 0.19.0
>
> Attachments: HADOOP-4247.patch
>
>
> With trunk, running examples like wordcount or sleep is giving an exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-4247) hadoop jar throwing exception when
running examples
Posted by "Chris Douglas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12634241#action_12634241 ]
Chris Douglas commented on HADOOP-4247:
---------------------------------------
+1
> hadoop jar throwing exception when running examples
> ---------------------------------------------------
>
> Key: HADOOP-4247
> URL: https://issues.apache.org/jira/browse/HADOOP-4247
> Project: Hadoop Core
> Issue Type: Bug
> Components: examples
> Affects Versions: 0.19.0
> Reporter: Hemanth Yamijala
> Assignee: Owen O'Malley
> Priority: Blocker
> Fix For: 0.19.0
>
> Attachments: hadoop-4247-2.patch, hadoop-4247-3.patch, hadoop-4247.patch, HADOOP-4247.patch
>
>
> With trunk, running examples like wordcount or sleep is giving an exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-4247) hadoop jar throwing exception when
running examples
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12634100#action_12634100 ]
Hadoop QA commented on HADOOP-4247:
-----------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12390813/hadoop-4247-3.patch
against trunk revision 698385.
+1 @author. The patch does not contain any @author tags.
-1 tests included. The patch doesn't appear to include any new or modified tests.
Please justify why no tests are needed for this patch.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs warnings.
+1 core tests. The patch passed core unit tests.
-1 contrib tests. The patch failed contrib unit tests.
Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3360/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3360/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3360/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3360/console
This message is automatically generated.
> hadoop jar throwing exception when running examples
> ---------------------------------------------------
>
> Key: HADOOP-4247
> URL: https://issues.apache.org/jira/browse/HADOOP-4247
> Project: Hadoop Core
> Issue Type: Bug
> Components: examples
> Affects Versions: 0.19.0
> Reporter: Hemanth Yamijala
> Assignee: Owen O'Malley
> Priority: Blocker
> Fix For: 0.19.0
>
> Attachments: hadoop-4247-2.patch, hadoop-4247-3.patch, hadoop-4247.patch, HADOOP-4247.patch
>
>
> With trunk, running examples like wordcount or sleep is giving an exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-4247) hadoop jar throwing exception when
running examples
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12634932#action_12634932 ]
Hudson commented on HADOOP-4247:
--------------------------------
Integrated in Hadoop-trunk #615 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/615/])
> hadoop jar throwing exception when running examples
> ---------------------------------------------------
>
> Key: HADOOP-4247
> URL: https://issues.apache.org/jira/browse/HADOOP-4247
> Project: Hadoop Core
> Issue Type: Bug
> Components: examples
> Affects Versions: 0.19.0
> Reporter: Hemanth Yamijala
> Assignee: Owen O'Malley
> Priority: Blocker
> Fix For: 0.19.0
>
> Attachments: hadoop-4247-2.patch, hadoop-4247-3.patch, hadoop-4247.patch, HADOOP-4247.patch
>
>
> With trunk, running examples like wordcount or sleep is giving an exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-4247) hadoop jar throwing exception when
running examples
Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Owen O'Malley updated HADOOP-4247:
----------------------------------
Attachment: hadoop-4247.patch
This patch moves the InputSampler into mapred.lib, since adding the tool.jar into the class path for non-tools would prohibit overriding distcp, etc. from the command line.
> hadoop jar throwing exception when running examples
> ---------------------------------------------------
>
> Key: HADOOP-4247
> URL: https://issues.apache.org/jira/browse/HADOOP-4247
> Project: Hadoop Core
> Issue Type: Bug
> Components: examples
> Affects Versions: 0.19.0
> Reporter: Hemanth Yamijala
> Assignee: Owen O'Malley
> Priority: Blocker
> Fix For: 0.19.0
>
> Attachments: hadoop-4247.patch, HADOOP-4247.patch
>
>
> With trunk, running examples like wordcount or sleep is giving an exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-4247) hadoop jar throwing exception when
running examples
Posted by "Hemanth Yamijala (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hemanth Yamijala updated HADOOP-4247:
-------------------------------------
Attachment: HADOOP-4247.patch
The attached patch fixes the problem. But I absolutely don't know if that's the right fix. Can someone please review ?
> hadoop jar throwing exception when running examples
> ---------------------------------------------------
>
> Key: HADOOP-4247
> URL: https://issues.apache.org/jira/browse/HADOOP-4247
> Project: Hadoop Core
> Issue Type: Bug
> Components: examples
> Reporter: Hemanth Yamijala
> Attachments: HADOOP-4247.patch
>
>
> With trunk, running examples like wordcount or sleep is giving an exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-4247) hadoop jar throwing exception when
running examples
Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Owen O'Malley updated HADOOP-4247:
----------------------------------
Status: Open (was: Patch Available)
> hadoop jar throwing exception when running examples
> ---------------------------------------------------
>
> Key: HADOOP-4247
> URL: https://issues.apache.org/jira/browse/HADOOP-4247
> Project: Hadoop Core
> Issue Type: Bug
> Components: examples
> Affects Versions: 0.19.0
> Reporter: Hemanth Yamijala
> Assignee: Owen O'Malley
> Priority: Blocker
> Fix For: 0.19.0
>
> Attachments: hadoop-4247.patch, HADOOP-4247.patch
>
>
> With trunk, running examples like wordcount or sleep is giving an exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-4247) hadoop jar throwing exception when
running examples
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12634000#action_12634000 ]
Hadoop QA commented on HADOOP-4247:
-----------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12390799/hadoop-4247-2.patch
against trunk revision 698385.
+1 @author. The patch does not contain any @author tags.
-1 tests included. The patch doesn't appear to include any new or modified tests.
Please justify why no tests are needed for this patch.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
-1 findbugs. The patch appears to introduce 1 new Findbugs warnings.
+1 core tests. The patch passed core unit tests.
-1 contrib tests. The patch failed contrib unit tests.
Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3357/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3357/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3357/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3357/console
This message is automatically generated.
> hadoop jar throwing exception when running examples
> ---------------------------------------------------
>
> Key: HADOOP-4247
> URL: https://issues.apache.org/jira/browse/HADOOP-4247
> Project: Hadoop Core
> Issue Type: Bug
> Components: examples
> Affects Versions: 0.19.0
> Reporter: Hemanth Yamijala
> Assignee: Owen O'Malley
> Priority: Blocker
> Fix For: 0.19.0
>
> Attachments: hadoop-4247-2.patch, hadoop-4247.patch, HADOOP-4247.patch
>
>
> With trunk, running examples like wordcount or sleep is giving an exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-4247) hadoop jar throwing exception when
running examples
Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Owen O'Malley updated HADOOP-4247:
----------------------------------
Resolution: Fixed
Hadoop Flags: [Reviewed]
Status: Resolved (was: Patch Available)
I just committed this.
> hadoop jar throwing exception when running examples
> ---------------------------------------------------
>
> Key: HADOOP-4247
> URL: https://issues.apache.org/jira/browse/HADOOP-4247
> Project: Hadoop Core
> Issue Type: Bug
> Components: examples
> Affects Versions: 0.19.0
> Reporter: Hemanth Yamijala
> Assignee: Owen O'Malley
> Priority: Blocker
> Fix For: 0.19.0
>
> Attachments: hadoop-4247-2.patch, hadoop-4247-3.patch, hadoop-4247.patch, HADOOP-4247.patch
>
>
> With trunk, running examples like wordcount or sleep is giving an exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-4247) hadoop jar throwing exception when
running examples
Posted by "Hemanth Yamijala (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hemanth Yamijala updated HADOOP-4247:
-------------------------------------
Priority: Blocker (was: Major)
Affects Version/s: 0.19.0
Fix Version/s: 0.19.0
Assignee: Hemanth Yamijala
Marking this a blocker for 0.19. The problem shows only when we use a deployed version of hadoop, such as one built with {{ant tar}} or {{ant binary}}. Specifically, if the build folder has the build files, then since build/tools is included in the classpath, everything works fine.
In the fix, I am not sure if {{HADOOP_OPTS}} needs to be included. I see that it is included in the {{sampler}} argument to bin/hadoop. So, I've left it there.
Thanks to Amarsri for helping me debug this in Hadoop 0.19.
> hadoop jar throwing exception when running examples
> ---------------------------------------------------
>
> Key: HADOOP-4247
> URL: https://issues.apache.org/jira/browse/HADOOP-4247
> Project: Hadoop Core
> Issue Type: Bug
> Components: examples
> Affects Versions: 0.19.0
> Reporter: Hemanth Yamijala
> Assignee: Hemanth Yamijala
> Priority: Blocker
> Fix For: 0.19.0
>
> Attachments: HADOOP-4247.patch
>
>
> With trunk, running examples like wordcount or sleep is giving an exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HADOOP-4247) hadoop jar throwing exception when
running examples
Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Owen O'Malley updated HADOOP-4247:
----------------------------------
Attachment: hadoop-4247-2.patch
Forgot to change the bin/hadoop script.
> hadoop jar throwing exception when running examples
> ---------------------------------------------------
>
> Key: HADOOP-4247
> URL: https://issues.apache.org/jira/browse/HADOOP-4247
> Project: Hadoop Core
> Issue Type: Bug
> Components: examples
> Affects Versions: 0.19.0
> Reporter: Hemanth Yamijala
> Assignee: Owen O'Malley
> Priority: Blocker
> Fix For: 0.19.0
>
> Attachments: hadoop-4247-2.patch, hadoop-4247.patch, HADOOP-4247.patch
>
>
> With trunk, running examples like wordcount or sleep is giving an exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-4247) hadoop jar throwing exception when
running examples
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12633728#action_12633728 ]
Hadoop QA commented on HADOOP-4247:
-----------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12390721/HADOOP-4247.patch
against trunk revision 697306.
+1 @author. The patch does not contain any @author tags.
-1 tests included. The patch doesn't appear to include any new or modified tests.
Please justify why no tests are needed for this patch.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs warnings.
-1 core tests. The patch failed core unit tests.
-1 contrib tests. The patch failed contrib unit tests.
Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3352/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3352/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3352/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3352/console
This message is automatically generated.
> hadoop jar throwing exception when running examples
> ---------------------------------------------------
>
> Key: HADOOP-4247
> URL: https://issues.apache.org/jira/browse/HADOOP-4247
> Project: Hadoop Core
> Issue Type: Bug
> Components: examples
> Affects Versions: 0.19.0
> Reporter: Hemanth Yamijala
> Assignee: Hemanth Yamijala
> Priority: Blocker
> Fix For: 0.19.0
>
> Attachments: HADOOP-4247.patch
>
>
> With trunk, running examples like wordcount or sleep is giving an exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HADOOP-4247) hadoop jar throwing exception when
running examples
Posted by "Hemanth Yamijala (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-4247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12633635#action_12633635 ]
Hemanth Yamijala commented on HADOOP-4247:
------------------------------------------
Exception stack trace:
{code}
$ ./bin/hadoop jar ./hadoop-0.20.0-dev-examples.jar wordcount input output
java.lang.NoClassDefFoundError: org/apache/hadoop/tools/InputSampler$Sampler
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
at java.lang.Class.getMethod0(Class.java:2670)
at java.lang.Class.getMethod(Class.java:1603)
at org.apache.hadoop.util.ProgramDriver$ProgramDescription.<init>(ProgramDriver.java:56)
at org.apache.hadoop.util.ProgramDriver.addClass(ProgramDriver.java:99)
at org.apache.hadoop.examples.ExampleDriver.main(ExampleDriver.java:48)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.util.RunJar.main(RunJar.java:165)
at org.apache.hadoop.mapred.JobShell.run(JobShell.java:54)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
at org.apache.hadoop.mapred.JobShell.main(JobShell.java:68)
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.tools.InputSampler$Sampler
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
{code}
> hadoop jar throwing exception when running examples
> ---------------------------------------------------
>
> Key: HADOOP-4247
> URL: https://issues.apache.org/jira/browse/HADOOP-4247
> Project: Hadoop Core
> Issue Type: Bug
> Components: examples
> Reporter: Hemanth Yamijala
>
> With trunk, running examples like wordcount or sleep is giving an exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.