[jira] [Commented] (FLUME-3025) Expose FileChannel.open on JMX

2016-11-21 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/FLUME-3025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15684972#comment-15684972
 ] 

Hudson commented on FLUME-3025:
---

SUCCESS: Integrated in Jenkins build Flume-trunk-hbase-1 #230 (See 
[https://builds.apache.org/job/Flume-trunk-hbase-1/230/])
FLUME-3025. Expose FileChannel.open on JMX (bessbd: 
[http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git=commit=21a64db1b0ebcb812e5c510668b580e84ff37f35])
* (edit) 
flume-ng-channels/flume-file-channel/src/test/java/org/apache/flume/channel/file/TestFileChannel.java
* (edit) 
flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/FileChannel.java
* (add) 
flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/instrumentation/FileChannelCounter.java
* (add) 
flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/instrumentation/FileChannelCounterMBean.java


> Expose FileChannel.open on JMX
> --
>
> Key: FLUME-3025
> URL: https://issues.apache.org/jira/browse/FLUME-3025
> Project: Flume
>  Issue Type: Improvement
>Reporter: Denes Arvay
>Assignee: Denes Arvay
> Fix For: v1.8.0
>
>
> We've encountered an issue several times when the {{FileChannel}} wasn't able 
> to start because of some startup-time exception.
> In this case {{FileChannel.open}} stays false {{false}}, exposing this field 
> on JMX would make it easier to detect when the file channel hasn't been 
> started / or has been stopped because of some reason.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[GitHub] flume pull request #85: FLUME-3025: Expose FileChannel.open JMX

2016-11-21 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/flume/pull/85


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Resolved] (FLUME-3025) Expose FileChannel.open on JMX

2016-11-21 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/FLUME-3025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bessenyei Balázs Donát resolved FLUME-3025.
---
   Resolution: Fixed
Fix Version/s: v1.8.0

> Expose FileChannel.open on JMX
> --
>
> Key: FLUME-3025
> URL: https://issues.apache.org/jira/browse/FLUME-3025
> Project: Flume
>  Issue Type: Improvement
>Reporter: Denes Arvay
>Assignee: Denes Arvay
> Fix For: v1.8.0
>
>
> We've encountered an issue several times when the {{FileChannel}} wasn't able 
> to start because of some startup-time exception.
> In this case {{FileChannel.open}} stays false {{false}}, exposing this field 
> on JMX would make it easier to detect when the file channel hasn't been 
> started / or has been stopped because of some reason.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FLUME-3025) Expose FileChannel.open on JMX

2016-11-21 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/FLUME-3025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15684813#comment-15684813
 ] 

ASF subversion and git services commented on FLUME-3025:


Commit 21a64db1b0ebcb812e5c510668b580e84ff37f35 in flume's branch 
refs/heads/trunk from [~denes]
[ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=21a64db ]

FLUME-3025. Expose FileChannel.open on JMX

This patch exposes the FileChannel's open flag on JMX to make it possible to 
detect when it wasn't able to start up. In those cases the open flag is false.

This closes #85

Reviewers: Attila Simon, Bessenyei Balázs Donát

(Denes Arvay via Bessenyei Balázs Donát)


> Expose FileChannel.open on JMX
> --
>
> Key: FLUME-3025
> URL: https://issues.apache.org/jira/browse/FLUME-3025
> Project: Flume
>  Issue Type: Improvement
>Reporter: Denes Arvay
>Assignee: Denes Arvay
>
> We've encountered an issue several times when the {{FileChannel}} wasn't able 
> to start because of some startup-time exception.
> In this case {{FileChannel.open}} stays false {{false}}, exposing this field 
> on JMX would make it easier to detect when the file channel hasn't been 
> started / or has been stopped because of some reason.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FLUME-3025) Expose FileChannel.open on JMX

2016-11-21 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/FLUME-3025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15684814#comment-15684814
 ] 

ASF GitHub Bot commented on FLUME-3025:
---

Github user asfgit closed the pull request at:

https://github.com/apache/flume/pull/85


> Expose FileChannel.open on JMX
> --
>
> Key: FLUME-3025
> URL: https://issues.apache.org/jira/browse/FLUME-3025
> Project: Flume
>  Issue Type: Improvement
>Reporter: Denes Arvay
>Assignee: Denes Arvay
>
> We've encountered an issue several times when the {{FileChannel}} wasn't able 
> to start because of some startup-time exception.
> In this case {{FileChannel.open}} stays false {{false}}, exposing this field 
> on JMX would make it easier to detect when the file channel hasn't been 
> started / or has been stopped because of some reason.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Re: incorrect RAT version on Web Site

2016-11-21 Thread P. Ottlinger
Hi all,

sorry for the delay - I've just fixed the download section of our RAT
homepage.

http://creadur.apache.org/rat/download_rat.cgi
should work as expected.

@Attila: feel free to close the RAT-222 in case the solution is okay
with you.

Cheers,
Phil

Am 14.10.2016 um 12:19 schrieb Attila Simon:
> Hi All,
> 
> Since I'm not on the dev@creadur list let me copy here their answers:
> 
> http://mail-archives.apache.org/mod_mbox/creadur-dev/201609.mbox/%3c5d1d4b7c-cdd3-f5da-e248-ba6308d6f...@gmx.de%3E
> http://mail-archives.apache.org/mod_mbox/creadur-dev/201609.mbox/%3ce93f5bac-a80a-c106-18bf-2b0a6228f...@apache.org%3E
> http://mail-archives.apache.org/mod_mbox/creadur-dev/201609.mbox/%3ca3ce6b76-5fa8-f6d9-44da-621e2bb13...@gmx.de%3E
> And the associated jira to track this issue:
> https://issues.apache.org/jira/browse/RAT-222
> 
> It seems like it is indeed a bug with their site and not with their release.
> 
> Cheers,
> Attila
> 
> 
> 
> *Attila Simon*
> Software Engineer
> Email:   s...@cloudera.com
> 
> [image: Cloudera Inc.]
> 
> On Thu, Sep 22, 2016 at 3:36 PM, Attila Simon  wrote:
> 
>> Hi RAT devs,
>>
>> I saw a related email thread (Re: Creadur Web Site
>> )
>> on dev but it seemed detoured from this issue hence raising awareness in a
>> fresh thread.
>>
>> Although Apache RAT latest available version is 0.12 the official site
>> mentions 0.13 with broken links to download the artifacts. Could you please
>> check whether it is indeed the case and advise on the latest official
>> released version?
>>
>> https://archive.apache.org/dist/creadur/  -> lists 0.12 as latest
>> http://creadur.apache.org -> tells that RAT latest release is 0.12 on
>> 2016.06.10
>> http://creadur.staging.apache.org/rat/download_rat.cgi  -> tells 0.12
>> (also available in maven)
>> http://creadur.apache.org/rat/download_rat.cgi -> tells 0.13  (maven
>> fails to resolve)
>>
>> Cheers,
>> Attila Simon
>>
>>
> 



[jira] [Commented] (FLUME-3026) Add Kafka 0.10 support for Flume

2016-11-21 Thread JIRA

[ 
https://issues.apache.org/jira/browse/FLUME-3026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15683430#comment-15683430
 ] 

Bessenyei Balázs Donát commented on FLUME-3026:
---

[~jholoman], [~wpwang]: we can start discussing our plans for the next release 
on the dev@ mailing list, if that helps.

> Add Kafka 0.10 support for Flume  
> --
>
> Key: FLUME-3026
> URL: https://issues.apache.org/jira/browse/FLUME-3026
> Project: Flume
>  Issue Type: Improvement
>  Components: Channel, Sinks+Sources
>Affects Versions: v1.7.0
>Reporter: Ping Wang
> Attachments: FLUME-3026.patch
>
>
> Kafka 0.10 already released and it introduces some new APIs that not 
> compatible with old one.  When using Kafka 0.10, the unit test cases will hit 
> compilation error:
> ...
> [ERROR] 
> /root/flume/flume-ng-sinks/flume-ng-kafka-sink/src/test/java/org/apache/flume/sink/kafka/TestKafkaSink.java:[526,14]
>  error: method createTopic in class AdminUtils cannot be applied to given 
> types;
> ...
> [ERROR] 
> /root/flume/flume-ng-sources/flume-kafka-source/src/test/java/org/apache/flume/source/kafka/TestKafkaSource.java:[23,19]
>  error: cannot find symbol
> [ERROR] package kafka.common
> [ERROR] 
> /root/flume/flume-ng-sources/flume-kafka-source/src/test/java/org/apache/flume/source/kafka/TestKafkaSource.java:[109,13]
>  error: cannot find symbol
> [ERROR] class TestKafkaSource
> [ERROR] 
> /root/flume/flume-ng-sources/flume-kafka-source/src/test/java/org/apache/flume/source/kafka/KafkaSourceEmbeddedKafka.java:[134,14]
>  error: method createTopic in class AdminUtils cannot be applied to given 
> types;
> ...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FLUME-3026) Add Kafka 0.10 support for Flume

2016-11-21 Thread Ping Wang (JIRA)

[ 
https://issues.apache.org/jira/browse/FLUME-3026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15682945#comment-15682945
 ] 

Ping Wang commented on FLUME-3026:
--

Hi Jeff, thanks for the information.  I see,  the next Flume version is not 
decided and which Kafka version to support can not be decided.  You can cancel 
this JIRA..

> Add Kafka 0.10 support for Flume  
> --
>
> Key: FLUME-3026
> URL: https://issues.apache.org/jira/browse/FLUME-3026
> Project: Flume
>  Issue Type: Improvement
>  Components: Channel, Sinks+Sources
>Affects Versions: v1.7.0
>Reporter: Ping Wang
> Attachments: FLUME-3026.patch
>
>
> Kafka 0.10 already released and it introduces some new APIs that not 
> compatible with old one.  When using Kafka 0.10, the unit test cases will hit 
> compilation error:
> ...
> [ERROR] 
> /root/flume/flume-ng-sinks/flume-ng-kafka-sink/src/test/java/org/apache/flume/sink/kafka/TestKafkaSink.java:[526,14]
>  error: method createTopic in class AdminUtils cannot be applied to given 
> types;
> ...
> [ERROR] 
> /root/flume/flume-ng-sources/flume-kafka-source/src/test/java/org/apache/flume/source/kafka/TestKafkaSource.java:[23,19]
>  error: cannot find symbol
> [ERROR] package kafka.common
> [ERROR] 
> /root/flume/flume-ng-sources/flume-kafka-source/src/test/java/org/apache/flume/source/kafka/TestKafkaSource.java:[109,13]
>  error: cannot find symbol
> [ERROR] class TestKafkaSource
> [ERROR] 
> /root/flume/flume-ng-sources/flume-kafka-source/src/test/java/org/apache/flume/source/kafka/KafkaSourceEmbeddedKafka.java:[134,14]
>  error: method createTopic in class AdminUtils cannot be applied to given 
> types;
> ...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)