Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Flume >> mail # dev >> Test case TestFileChannel fails when flume is built from paths containing the string "hadoop"


Copy link to this message
-
Test case TestFileChannel fails when flume is built from paths containing the string "hadoop"
Hello,

When flume 1.3.0 or 1.3.1 is built from a path that contains the string
"hadoop" in it (ie: /home/user/hadoop_components/flume), the test case
TestFileChannel fails.

The reason it fails is because it can't find the correct location of the
hadoop jar file - the function findHadoopJar in TestFileChannel.java
looks for the hadoop jar path by searching for the string "hadoop" in
the property java.class.path, and returns the first match of the search.
This is not necessarily the correct location of the hadoop jar.

Would you agree that the right thing to do is to look for the name of
the hadoop jar in the classpath (ie: hadoop-core-1.1.1.jar), instead of
looking for the string "hadoop"?

Best regards,
Aline Guedes
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB