An error is reported when flume starts
1.Flume couldn’t write to HDFS after it was started, so I hit the wall. As a result, I ignored the previous opening problem:
Error: Info: including HBase libraries found via (/ opt/HBase/bin/HBase) for HBase access
error: the main class org.apache.flume.tools.getjavaproperty cannot be found or loaded
2. After searching online for half an hour, I finally found a solution:
Modify the configuration file hbas-env.sh of HBase to:
Export HBase_ Classpath =/opt/HBase/conf comments
Replace with: export Java_ CLASSPATH=.:$JAVA_ HOME/lib/dt.jar:$JAVA_ HOME/lib/tools.jar
Similar Posts:
- [olved] flume Install Error: Could not find or load main class org.apache.flume.tools.GetJavaProperty
- [HBase] java.io.IOException: Failed on local exception: com.google.protobuf.InvalidProtocolBufferException: Protocol message end-group tag did not match expected tag.
- [Solved] Error: JAVA_HOME is not set and could not be found.
- Solution to unknown hostexception error when HBase starts regionserver
- Flume + HDFS startup error [Four Errors & How to Solve]
- [Solved] Hbase Startup Normally but Execute Error: Server is not running yet
- [Solved] Hbase list ERROR: org.apache.hadoop.hbase.PleaseHoldException: Master is initializing
- [Solved] Flume startup error: org.apache.flume.FlumeException: Failed to set up server socket
- The CATALINA_HOME environment variable is not defined correctly
- [Solved] HBase Startup Error: master.HMaster: Failed to become active master