1. Error reporting
Failed to start agent because dependencies were not found in classpath. Error follows. java.lang.NoClassDefFoundError: org/apache/hadoop/io/SequenceFile$CompressionType Solution: cp {HADOOP_HOME}share/hadoop/common/hadoop-common-2.4.0.jar {flume}/lib/
2. Error reporting
java.lang.NoClassDefFoundError: org/apache/commons/configuration/Configuration Solution: cp {HADOOP_HOME}share/hadoop/common/lib/commons-configuration-1.6.jar ${FLUME_HOME}/lib/
3. Error reporting
java.lang.NoClassDefFoundError: org/apache/hadoop/util/PlatformName Solution: cp {HADOOP_HOME}share/hadoop/common/lib/hadoop-auth-2.4.0.jar {FLUME_HOME}/lib/
4. Error reporting
java.lang.NoClassDefFoundError: org/apache/htrace/SamplerBuilder
Copy all jars in
cp {HADOOP_HOME}share/hadoop/common/lib/*.jar {FLUME_HOME}/lib/
Similar Posts:
- Error: Could not find or load main class org.apache.hadoop.mapreduce.v2.app.MRAppMaster
- Hive Start Error: Exception in thread “main” java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkArgumen
- [olved] flume Install Error: Could not find or load main class org.apache.flume.tools.GetJavaProperty
- [Solved] ava.io.IOException: HADOOP_HOME or hadoop.home.dir are not set
- Java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkArgument
- [Solved] Hadoop Error: Input path does not exist: hdfs://Master:9000/user/hadoop/input
- [Solved] Cannot initialize Cluster. Please check your configuration for mapreduce.framework.name and the correspond server addresses
- [Solved] Cannot initialize Cluster. Please check your configuration for mapreduce.framework.name and the correspond server addresses
- “Execution error, return code 1 from org. Apache. Hadoop. Hive. QL. Exec. Movetask” error occurred when hive imported data locally
- ERROR Shell: Failed to locate the winutils binary in the hadoop binary path