flume-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From juha...@apache.org
Subject svn commit: r1351553 - /incubator/flume/trunk/flume-ng-node/src/main/java/org/apache/flume/conf/file/AbstractFileConfigurationProvider.java
Date Tue, 19 Jun 2012 01:38:53 GMT
Author: juhanic
Date: Tue Jun 19 01:38:53 2012
New Revision: 1351553

URL: http://svn.apache.org/viewvc?rev=1351553&view=rev
Log:
FLUME-1246: FileChannel hangs silently when Hadoop libs not found

(Hari Shreedharan via Juhani Connolly)

Modified:
    incubator/flume/trunk/flume-ng-node/src/main/java/org/apache/flume/conf/file/AbstractFileConfigurationProvider.java

Modified: incubator/flume/trunk/flume-ng-node/src/main/java/org/apache/flume/conf/file/AbstractFileConfigurationProvider.java
URL: http://svn.apache.org/viewvc/incubator/flume/trunk/flume-ng-node/src/main/java/org/apache/flume/conf/file/AbstractFileConfigurationProvider.java?rev=1351553&r1=1351552&r2=1351553&view=diff
==============================================================================
--- incubator/flume/trunk/flume-ng-node/src/main/java/org/apache/flume/conf/file/AbstractFileConfigurationProvider.java
(original)
+++ incubator/flume/trunk/flume-ng-node/src/main/java/org/apache/flume/conf/file/AbstractFileConfigurationProvider.java
Tue Jun 19 01:38:53 2012
@@ -203,6 +203,9 @@ public abstract class AbstractFileConfig
         } catch (Exception e) {
           logger.error("Failed to load configuration data. Exception follows.",
               e);
+        } catch (NoClassDefFoundError e) {
+          logger.error("Failed to start agent because dependencies were not " +
+              "found in classpath. Error follows.", e);
         }
       }
     }



Mime
View raw message