title: Flume to HBase dependencie failure
body: <p>I have installed <code>HBase</code> and <code>Flume</code> using <code>Apache Cloudera</code>. I have a <code>flume</code> agent running on a <code>linux</code> server, where the <code>HBase</code> current master is running.
  I'm trying to write from a <code>spooldir</code> to <code>HBase</code> but I get the following error:</p>
  
  <pre><code>...
  ERROR org.apache.flume.node.PollingPropertiesFileConfigurationProvider: Failed to start agent because dependencies were not found in classpath. Error follows.
  java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/HBaseConfiguration
  at  org.apache.flume.sink.hbase.HBaseSink.&lt;init&gt;(HbaseSink.java:116)
  ...
  </code></pre>
  
  <p>Flume configuration:</p>
  
  <pre><code>...
  #Sinks
  tier1.sinks.hbase-sink.channel          = memory-channel
  tier1.sinks.hbase-sink.type             = org.apache.flume.sink.hbase.HBaseSink
  tier1.sinks.hbase-sink.table            = FlumeTable
  tier1.sinks.hbase-sink.columnFamily     = FlumeColumn
  </code></pre>
  
  <p>I tried to modify the <code>flume-env.sh</code> and set <code>HBASE_HOME</code> <code>HADOOP_HOME</code>, but it changed nothing.</p>
  
  <p>I have succeeded to write to <code>HDFS</code>, but the <code>HBase</code> is making problems.</p>