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

Mubarak Seyed updated FLUME-1093:
---------------------------------

    Attachment: FLUME-1093.trunk.v1.patch

The attached file is a patch. When sink class is not in classpath then we catch 
the exception and log it as

{code}
"Unable to load sink type: " + type
          + ", class: " + sinkClassName, ex);
{code}
                
> HDFSEventSink gives no indication of failure when Hadoop jars aren't in the 
> classpath
> -------------------------------------------------------------------------------------
>
>                 Key: FLUME-1093
>                 URL: https://issues.apache.org/jira/browse/FLUME-1093
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>    Affects Versions: v1.2.0
>         Environment: CentOS 5.7 64-bit
>            Reporter: Will McQueen
>            Priority: Critical
>             Fix For: v1.2.0
>
>         Attachments: FLUME-1093.trunk.v1.patch
>
>
> If HDFS sink starts up, but the hadoop jars aren't in the classpath, then the 
> HDFS sink doesn't fail-fast with an error. I think we should fail the 
> validation of the config file if it specifies an HDFS Sink when the hadoop 
> jars aren't in the classpath.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to