hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9044) add FindClass main class to provide classpath checking of installations
Date Thu, 15 Nov 2012 12:08:12 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-9044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13497963#comment-13497963

Steve Loughran commented on HADOOP-9044:

FindClass class with tests

This is not an extension to the hadoop command, but it is a toolrunner class that can be invoked
by the hadoop + classname method. I don't see any reason why it could not be added as a new
command -I've just initially targeted it at installation script such as those of Whirr.

Usage : [load <classname> | create <classname> | resource <resourcename>
The return codes are:
  0 -- The operation was successful
  1 -- Something went wrong
  2 -- The usage message was printed
  3 -- The class or resource was not found
  4 -- The class was found but could not be loaded
  5 -- The class was loaded, but an instance it could not be created
> add FindClass main class to provide classpath checking of installations
> -----------------------------------------------------------------------
>                 Key: HADOOP-9044
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9044
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: util
>    Affects Versions: 1.1.0
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Minor
>         Attachments: HADOOP-9044.patch
> It's useful in postflight checking of a hadoop installation to verify that classes load,
especially codes with external JARs and native codecs. 
> An entry point designed to load a named class and create an instance of that class can
do this -and be invoked from any shell script or tool that does the installation.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message