We don't really support or test against Java 8. I think there are several
jiras open to fix Flume to work properly against Java 8, though I don't
think all of them have any work on it yet. Can you test against Java 7?

On Thu, Apr 30, 2015 at 5:11 AM, Ashish <[email protected]> wrote:

> Have trouble with the build. I don't think it's specific to this
> release. I have seen this in past.
>
> Building with  jdk1.8.0_25
> Encountering the following error (tried 4-5 times), so far haven't
> been able to get a working build
>
> log4j:WARN No appenders could be found for logger
> (org.apache.flume.channel.file.FileChannel).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig
> for more info.
> Attempting to shutdown background worker.
> Attempting to shutdown background worker.
> Attempting to shutdown background worker.
> Attempting to shutdown background worker.
> Attempting to shutdown background worker.
> Attempting to shutdown background worker.
> Attempting to shutdown background worker.
> Attempting to shutdown background worker.
> Attempting to shutdown background worker.
> Attempting to shutdown background worker.
> Attempting to shutdown background worker.
> Attempting to shutdown background worker.
> Attempting to shutdown background worker.
> Attempting to shutdown background worker.
> Attempting to shutdown background worker.
> Attempting to shutdown background worker.
> src : [ 1106 ms ].
> sink : [ 2232 ms ].
> main : [ 2234 ms ].
> Max Queue size 428169
> Attempting to shutdown background worker.
> src : [ 1 ms ].
> sink : [ 6 ms ].
> src : [ 168 ms ].
> sink : [ 10 ms ].
> sink1 : [ 24 ms ].        {  items = 5000, attempts = 6 }
> src1 : [ 43 ms ].
> src2 : [ 43 ms ].
> sink3 : [ 105 ms ].        {  items = 2500, attempts = 3 }
> sink2 : [ 105 ms ].        {  items = 2500, attempts = 5 }
> Attempting to shutdown background worker.
> Exception in thread "src5" Exception in thread "src3"
> org.apache.flume.ChannelFullException: The channel has reached it's
> capacity. This might be the result of a sink on the channel having too
> low of batch size, a downstream system running slower than normal, or
> that the channel capacity is just too low.
> [channel=spillChannel-907f6e39-ffe1-4953-abc1-265fa339934a]
> at
> org.apache.flume.channel.file.FileChannel$FileBackedTransaction.doPut(FileChannel.java:465)
> at
> org.apache.flume.channel.BasicTransactionSemantics.put(BasicTransactionSemantics.java:93)
> at
> org.apache.flume.channel.SpillableMemoryChannel$SpillableMemoryTransaction.commitPutsToOverflow(SpillableMemoryChannel.java:490)
> at
> org.apache.flume.channel.SpillableMemoryChannel$SpillableMemoryTransaction.putCommit(SpillableMemoryChannel.java:480)
> at
> org.apache.flume.channel.SpillableMemoryChannel$SpillableMemoryTransaction.doCommit(SpillableMemoryChannel.java:401)
> at
> org.apache.flume.channel.BasicTransactionSemantics.commit(BasicTransactionSemantics.java:151)
> at
> org.apache.flume.channel.TestSpillableMemoryChannel.transactionalPutN(TestSpillableMemoryChannel.java:157)
> at
> org.apache.flume.channel.TestSpillableMemoryChannel.access$000(TestSpillableMemoryChannel.java:43)
> at
> org.apache.flume.channel.TestSpillableMemoryChannel$1.run(TestSpillableMemoryChannel.java:230)
> Exception in thread "src2" org.apache.flume.ChannelFullException: The
> channel has reached it's capacity. This might be the result of a sink
> on the channel having too low of batch size, a downstream system
> running slower than normal, or that the channel capacity is just too
> low. [channel=spillChannel-907f6e39-ffe1-4953-abc1-265fa339934a]
> at
> org.apache.flume.channel.file.FileChannel$FileBackedTransaction.doPut(FileChannel.java:465)
> at
> org.apache.flume.channel.BasicTransactionSemantics.put(BasicTransactionSemantics.java:93)
> at
> org.apache.flume.channel.SpillableMemoryChannel$SpillableMemoryTransaction.commitPutsToOverflow(SpillableMemoryChannel.java:490)
> at
> org.apache.flume.channel.SpillableMemoryChannel$SpillableMemoryTransaction.putCommit(SpillableMemoryChannel.java:480)
> at
> org.apache.flume.channel.SpillableMemoryChannel$SpillableMemoryTransaction.doCommit(SpillableMemoryChannel.java:401)
> at
> org.apache.flume.channel.BasicTransactionSemantics.commit(BasicTransactionSemantics.java:151)
> at
> org.apache.flume.channel.TestSpillableMemoryChannel.transactionalPutN(TestSpillableMemoryChannel.java:157)
> at
> org.apache.flume.channel.TestSpillableMemoryChannel.access$000(TestSpillableMemoryChannel.java:43)
> at
> org.apache.flume.channel.TestSpillableMemoryChannel$1.run(TestSpillableMemoryChannel.java:230)
> org.apache.flume.ChannelFullException: The channel has reached it's
> capacity. This might be the result of a sink on the channel having too
> low of batch size, a downstream system running slower than normal, or
> that the channel capacity is just too low.
> [channel=spillChannel-907f6e39-ffe1-4953-abc1-265fa339934a]
> at
> org.apache.flume.channel.file.FileChannel$FileBackedTransaction.doPut(FileChannel.java:465)
> at
> org.apache.flume.channel.BasicTransactionSemantics.put(BasicTransactionSemantics.java:93)
> at
> org.apache.flume.channel.SpillableMemoryChannel$SpillableMemoryTransaction.commitPutsToOverflow(SpillableMemoryChannel.java:490)
> at
> org.apache.flume.channel.SpillableMemoryChannel$SpillableMemoryTransaction.putCommit(SpillableMemoryChannel.java:480)
> at
> org.apache.flume.channel.SpillableMemoryChannel$SpillableMemoryTransaction.doCommit(SpillableMemoryChannel.java:401)
> at
> org.apache.flume.channel.BasicTransactionSemantics.commit(BasicTransactionSemantics.java:151)
> at
> org.apache.flume.channel.TestSpillableMemoryChannel.transactionalPutN(TestSpillableMemoryChannel.java:157)
> at
> org.apache.flume.channel.TestSpillableMemoryChannel.access$000(TestSpillableMemoryChannel.java:43)
> at
> org.apache.flume.channel.TestSpillableMemoryChannel$1.run(TestSpillableMemoryChannel.java:230)
>
> On Thu, Apr 30, 2015 at 1:56 AM, Johny Rufus <[email protected]> wrote:
> > Hi All,
> >
> > This is the ninth release for Apache Flume as a top-level project,
> > version 1.6.0. We are voting on release candidate RC0.
> >
> > It fixes the following issues:
> >
> >
> https://git-wip-us.apache.org/repos/asf?p=flume.git;a=blob;f=CHANGELOG;h=774aced731de1e49043c179a722e55feb69f1b29;hb=493976e20dfe14b0b611c92f3e160d4336d10af2
> >
> > *** Please cast your vote within the next 72 hours ***
> >
> > The tarball (*.tar.gz), signature (*.asc), and checksums (*.md5, *.sha1)
> > for the source and binary artifacts can be found here:
> >
> > http://people.apache.org/~hshreedharan/apache-flume-1.6.0-rc0/
> >
> > Maven staging repo:
> >
> > *https://repository.apache.org/content/repositories/orgapacheflume-1013/
> > <https://repository.apache.org/content/repositories/orgapacheflume-1013/
> >*
> >
> > The tag to be voted on:
> >
> >
> https://git-wip-us.apache.org/repos/asf?p=flume.git;a=commit;h=30af6e90603d476aa058d2736c2ae154acff4af9
> >
> >
> > Flume's KEYS file containing PGP keys we use to sign the release:
> >   http://www.apache.org/dist/flume/KEYS
> >
> >
> > Thanks,
> > Rufus
>
>
>
> --
> thanks
> ashish
>
> Blog: http://www.ashishpaliwal.com/blog
> My Photo Galleries: http://www.pbase.com/ashishpaliwal
>

Reply via email to