Tag Archives: flume Install Error

[olved] flume Install Error: Could not find or load main class org.apache.flume.tools.GetJavaProperty

Problems with flume installation:

Error: Could not find or load main class org.apache.flume.tools.GetJavaProperty
Error: Could not find or load main class org.apache.flume.tools.GetJavaProperty
Error: Could not find or load main class org.apache.flume.tools.VersionInfo

 

Solution:

1. Check your own configuration path:

sudo vim /etc/profile

 

 

source /etc/profile

run again:

2. Flume and hive conflict

Solution:
Modify the Hbase configuration file hbas-env.sh to:
1. Comment out the line configuration of hbase.env.sh of hbase
# Extra Java CLASSPATH elements. Optional.
#export HBASE_CLASSPATH=/home/hadoop/hbase/ conf
2 , or change HBASE_CLASSPATH to JAVA_CLASSPATH, the configuration is as follows
# Extra Java CLASSPATH elements. Optional.
export JAVA_CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar