ETL component flume startup error [How to Solve]

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 cannot be found or loaded

2. After searching online for half an hour, I finally found a solution:

Modify the configuration file 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: