Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Flume >> mail # user >> Compilation error installing latest flume


Copy link to this message
-
Re: Compilation error installing latest flume
Iain,
Try mvn clean install -DskipTests ... but I have never tried to compile on
FreeBSD before. I know it builds on Mac OS and Linux.

Reagrds,
Mike

On Tue, Oct 2, 2012 at 10:03 PM, iain wright <[EMAIL PROTECTED]> wrote:

> Hi all,
>
> Thanks in advance for any help. We want to use flume for writing to hbase
> to help smooth over hbase pauses, I just can't seem to get the latest flume
> installed.
>
> Can anyone recommend a stable version with an hbase sink available, or
> help me get the latest build installed?
>
> dev0# uname -a
> FreeBSD dev0 8.2-RELEASE FreeBSD 8.2-RELEASE #0 r218789: Fri Feb 18
> 01:10:51 PST 2011     iain@dev0:/usr/obj/usr/src/sys/GENERIC  amd64
>
> *Here is what I did:*
> installed google protocol buffers
> cd /usr/local
> git clone https://git-wip-us.apache.org/repos/asf/flume.git flume
> cd clume
> git checkout trunk
> mvn package -DskipTests
>
> *Here is what happened:*
> The first error I got complained about reaching an End of File. I opened
> the file in question* **
> /usr/local/flume1.2/flume-ng-core/target/generated-sources/java/org/apache/flume/package-info.java
> * then removed the EOF from the end of the file.
>
> I then resumed the build at that goal using mvn <goal> -rf:flume-ng-core
>
> This worked and the installation continued all the way to "Flume legacy
> Avro Source" then failed with this:
> [INFO] Flume NG Core ..................................... SUCCESS
> [26.592s]
> [INFO] Flume NG Sinks .................................... SUCCESS [0.011s]
> [INFO] Flume NG HDFS Sink ................................ SUCCESS [3.506s]
> [INFO] Flume NG IRC Sink ................................. SUCCESS [1.071s]
> [INFO] Flume NG HBase Sink ............................... SUCCESS [6.234s]
> [INFO] Flume Sources ..................................... SUCCESS [0.008s]
> [INFO] Flume Scribe Source ............................... SUCCESS [2.931s]
> [INFO] Flume NG Channels ................................. SUCCESS [0.008s]
> [INFO] Flume NG JDBC channel ............................. SUCCESS [3.585s]
> [INFO] Flume NG Node ..................................... SUCCESS [2.618s]
> [INFO] Flume NG file-based channel ....................... SUCCESS [7.049s]
> [INFO] Flume NG file backed Memory channel ............... SUCCESS [1.903s]
> [INFO] Flume legacy Sources .............................. SUCCESS [0.008s]
> [INFO] Flume legacy Avro source .......................... FAILURE [1.179s]
> [INFO] Flume legacy Thrift Source ........................ SKIPPED
> [INFO] Flume NG Clients .................................. SKIPPED
> [INFO] Flume NG Log4j Appender ........................... SKIPPED
> [INFO] Flume NG distribution ............................. SKIPPED
> [INFO] Flume NG Integration Tests ........................ SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 58.038s
> [INFO] Finished at: Tue Oct 02 21:35:28 PDT 2012
> [INFO] Final Memory: 74M/468M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-cli)
> on project flume-avro-source: Compilation failure: Compilation failure:
> [ERROR]
> /usr/local/flume1.2/flume-ng-legacy-sources/flume-avro-source/src/main/java/org/apache/flume/source/avroLegacy/AvroLegacySource.java:[39,39]
> error: package com.cloudera.flume.handlers.avro does not exist
> [ERROR]
> /usr/local/flume1.2/flume-ng-legacy-sources/flume-avro-source/src/main/java/org/apache/flume/source/avroLegacy/AvroLegacySource.java:[40,39]
> error: package com.cloudera.flume.handlers.avro does not exist
> [ERROR]
> /usr/local/flume1.2/flume-ng-legacy-sources/flume-avro-source/src/main/java/org/apache/flume/source/avroLegacy/AvroLegacySource.java:[82,37]
> error: cannot find symbol
> [ERROR] class FlumeOGEventAvroServer
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB