Home | About | Sematext search-lucene.com search-hadoop.com
 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
Mike Percy 2012-10-05, 08:09
Great! Glad you got it working.

Regards
Mike
On Thursday, October 4, 2012 at 10:32 AM, iain wright wrote:

> Thanks Mike, i was able to get it installed on FreeBSD 9, Just had trouble on the box that had FreeBSD 8.2 installed for some reason
>
> All the best,
> --
> Iain Wright
>
>
 (http://www.labctsi.org/)> This email message is confidential, intended only for the recipient(s) named above and may contain information that is privileged, exempt from disclosure under applicable law. If you are not the intended recipient, do not disclose or disseminate the message to anyone except the intended recipient. If you have received this message in error, or are not the named recipient(s), please immediately notify the sender by return email, and delete all copies of this message.
>
>
> On Wed, Oct 3, 2012 at 2:00 PM, Mike Percy <[EMAIL PROTECTED] (mailto:[EMAIL PROTECTED])> wrote:
> > 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] (mailto:[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] -------------------------------------------------------------------- (http://www.labctsi.org/)> > > This email message is confidential, intended only for the recipient(s) named above and may contain information that is privileged, exempt from disclosure under applicable law. If you are not the intended recipient, do not disclose or disseminate the message to anyone except the intended recipient. If you have received this message in error, or are not the named recipient(s), please immediately notify the sender by return email, and delete all copies of this message.