[GitHub] flink issue #4665: [Flink-7611]add metrics to measure the num of data droppe...

2017-09-15 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/4665 @aljoscha yes, i review the code this day, it will jude each window whether late , so the previous method i use will counts more lost data than the actual situation , i have fix the error and re

[GitHub] flink issue #4665: [Flink-7611]add metrics to measure the num of data droppe...

2017-09-14 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/4665 @aljoscha i agree that the name set to be "numLateElementsDropped", and do you mean that my result should minus the num of element that go to side output which is skipped and lateElement? ---

[GitHub] flink issue #4665: [Flink-7611]add metrics to measure the num of data droppe...

2017-09-19 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/4665 Hello,Is it can be merged in @aljoscha @zentol ? ---

[GitHub] flink pull request #4665: [Flink-7611]add metrics to measure the num of data...

2017-09-23 Thread Aitozi
Github user Aitozi commented on a diff in the pull request: https://github.com/apache/flink/pull/4665#discussion_r140634868 --- Diff: flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/operators/windowing/WindowOperator.java --- @@ -405,6 +411,8 @@ public void

[GitHub] flink pull request #4665: [Flink-7611]add metrics to measure the num of data...

2017-09-23 Thread Aitozi
Github user Aitozi commented on a diff in the pull request: https://github.com/apache/flink/pull/4665#discussion_r140635202 --- Diff: flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/operators/windowing/EvictingWindowOperator.java --- @@ -231,6 +231,8

[GitHub] flink pull request #4665: [Flink-7611]add metrics to measure the num of data...

2017-09-13 Thread Aitozi
Github user Aitozi commented on a diff in the pull request: https://github.com/apache/flink/pull/4665#discussion_r138789377 --- Diff: flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/operators/windowing/WindowOperator.java --- @@ -132,6 +133,13

[GitHub] flink pull request #4665: [Flink-7611]add metrics to measure the num of data...

2017-09-13 Thread Aitozi
Github user Aitozi commented on a diff in the pull request: https://github.com/apache/flink/pull/4665#discussion_r138778844 --- Diff: flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/operators/windowing/WindowOperator.java --- @@ -132,6 +133,13

[GitHub] flink pull request #4665: [Flink-7611]add metrics to measure the num of data...

2017-09-19 Thread Aitozi
Github user Aitozi commented on a diff in the pull request: https://github.com/apache/flink/pull/4665#discussion_r139742368 --- Diff: flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/operators/windowing/WindowOperator.java --- @@ -405,6 +411,8 @@ public void

[GitHub] flink pull request #4665: [Flink-7611]add metrics to measure the num of data...

2017-09-20 Thread Aitozi
Github user Aitozi commented on a diff in the pull request: https://github.com/apache/flink/pull/4665#discussion_r139933981 --- Diff: flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/operators/windowing/WindowOperator.java --- @@ -405,6 +411,8 @@ public void

[GitHub] flink pull request #4665: [Flink-7611]add metrics to measure the num of data...

2017-09-12 Thread Aitozi
GitHub user Aitozi opened a pull request: https://github.com/apache/flink/pull/4665 [Flink-7611]add metrics to measure the num of data dropped due to the data arrived late ## What is the purpose of the change 1. add metrics to measure the num of data dropped due

[GitHub] flink pull request #4665: [Flink-7611]add metrics to measure the num of data...

2017-09-12 Thread Aitozi
Github user Aitozi commented on a diff in the pull request: https://github.com/apache/flink/pull/4665#discussion_r138515752 --- Diff: flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/operators/windowing/WindowOperator.java --- @@ -132,6 +133,13

[GitHub] flink pull request #4665: [Flink-7611]add metrics to measure the num of data...

2017-09-12 Thread Aitozi
Github user Aitozi commented on a diff in the pull request: https://github.com/apache/flink/pull/4665#discussion_r138515541 --- Diff: flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/operators/windowing/WindowOperator.java --- @@ -132,6 +133,13

[GitHub] flink issue #4665: [Flink-7611]add metrics to measure the num of data droppe...

2017-09-28 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/4665 is there still anything wrong @zentol ---

[GitHub] flink issue #4665: [Flink-7611]add metrics to measure the num of data droppe...

2017-09-25 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/4665 is this ok to be merged in @bowenli86 @zentol @aljoscha ? 😄 ---

[GitHub] flink issue #4935: [Flink-7945][Metrics]Fix per partition-lag metr...

2017-11-27 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/4935 ping @tzulitai ~ ---

[GitHub] flink issue #4935: [Flink-7945][Metrics]Fix per partition-lag metr...

2017-11-30 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/4935 Hi, @tzulitai After i read kafkaConsumer code again, i found that the per partition kafka lag metric is register in method `FetchManagerMetrics#recordPartitionLag` But the when the client get

[GitHub] flink pull request #4935: [Flink-7945][Metrics]Fix per partition-l...

2017-11-03 Thread Aitozi
Github user Aitozi commented on a diff in the pull request: https://github.com/apache/flink/pull/4935#discussion_r148738495 --- Diff: flink-connectors/flink-connector-kafka-0.9/src/main/java/org/apache/flink/streaming/connectors/kafka/internal/KafkaConsumerThread.java

[GitHub] flink pull request #4935: [Flink-7945][Metrics]Fix per partition-l...

2017-11-03 Thread Aitozi
Github user Aitozi commented on a diff in the pull request: https://github.com/apache/flink/pull/4935#discussion_r148738023 --- Diff: flink-connectors/flink-connector-kafka-0.9/src/main/java/org/apache/flink/streaming/connectors/kafka/internal/KafkaConsumerThread.java

[GitHub] flink pull request #4935: [Flink-7945][Metrics]Fix per partition-l...

2017-11-01 Thread Aitozi
GitHub user Aitozi opened a pull request: https://github.com/apache/flink/pull/4935 [Flink-7945][Metrics]Fix per partition-lag metric lost in kafka connector ## What is the purpose of the change *When used KafkaConnector, we cant get per partition lag metric. But it has

[GitHub] flink issue #4935: [Flink-7945][Metrics]Fix per partition-lag metr...

2017-11-01 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/4935 cc @zentol @tzulitai please help review the code. ---

[GitHub] flink issue #4935: [Flink-7945][Metrics]Fix per partition-lag metr...

2017-11-07 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/4935 Hi @tzulitai , could you take look at this again :-) ? ---

[GitHub] flink issue #4960: Update version to 1.5-SNAPSHOT

2017-11-07 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/4960 🎉 ---

[GitHub] flink pull request #4935: [Flink-7945][Metrics]Fix per partition-l...

2017-11-02 Thread Aitozi
Github user Aitozi commented on a diff in the pull request: https://github.com/apache/flink/pull/4935#discussion_r148530767 --- Diff: flink-connectors/flink-connector-kafka-0.9/src/main/java/org/apache/flink/streaming/connectors/kafka/internal/KafkaConsumerThread.java

[GitHub] flink issue #4935: [Flink-7945][Metrics]Fix per partition-lag metr...

2017-11-03 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/4935 update the code according to the comment. ping @tzulitai ---

[GitHub] flink issue #4665: [Flink-7611]add metrics to measure the num of data droppe...

2017-10-24 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/4665 Hi @zentol , can you help merge this pr ? Is this be forgetten ---

[GitHub] flink issue #4878: [FLINK-7895][hotfix][docs]Fix error in example in get lat...

2017-10-24 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/4878 Yes, i will close this one ~ ---

[GitHub] flink pull request #4878: [FLINK-7895][hotfix][docs]Fix error in example in ...

2017-10-24 Thread Aitozi
Github user Aitozi closed the pull request at: https://github.com/apache/flink/pull/4878 ---

[GitHub] flink pull request #4878: [FLINK-7895][hotfix][docs]Fix error in example in ...

2017-10-20 Thread Aitozi
GitHub user Aitozi opened a pull request: https://github.com/apache/flink/pull/4878 [FLINK-7895][hotfix][docs]Fix error in example in get late message in window doc * getSideOutput api is only available in SingleOutputOperator class, and is not the part of the base class

[GitHub] flink pull request #6080: [Flink-9443]Remove unused parameter in generateNod...

2018-05-26 Thread Aitozi
GitHub user Aitozi opened a pull request: https://github.com/apache/flink/pull/6080 [Flink-9443]Remove unused parameter in generateNodeLocalHash After Flink1.2 it used StreamGraphHasherV2 to generate hashes, The method generateNodeLocalHash dont use the information like (parallel

[GitHub] flink issue #6124: [FLINK-8914][CEP]Fix wrong semantic when greedy pattern i...

2018-06-08 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/6124 Got it. Thanks for your response @dawidwys and waiting for you further comment on this PR. I am glad to contribute to the cep library and really hope to get more ideas or share from you guys

[GitHub] flink issue #6171: [FLINK-9593] Unified After Match semantics with SQL MATCH...

2018-06-15 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/6171 Hi, @dawidwys can you explain a little about how does the semantics of `AfterMatch` differ from previous implementation, I read the doc and feel a lille confused. thx ;-) ---

[GitHub] flink pull request #6168: [FLINK-9588]Reused context with same computation s...

2018-06-14 Thread Aitozi
GitHub user Aitozi opened a pull request: https://github.com/apache/flink/pull/6168 [FLINK-9588]Reused context with same computation state calculate ## What is the purpose of the change Now cep checkFilterCondition with a newly created Conditioncontext for each edge, which

[GitHub] flink pull request #6168: [FLINK-9588][CEP]Reused context with same computat...

2018-06-15 Thread Aitozi
Github user Aitozi commented on a diff in the pull request: https://github.com/apache/flink/pull/6168#discussion_r195737755 --- Diff: flink-libraries/flink-cep/src/main/java/org/apache/flink/cep/nfa/NFA.java --- @@ -697,6 +697,7 @@ private int calculateIncreasingSelfState(int

[GitHub] flink pull request #6168: [FLINK-9588][CEP]Reused context with same computat...

2018-06-15 Thread Aitozi
Github user Aitozi commented on a diff in the pull request: https://github.com/apache/flink/pull/6168#discussion_r195738359 --- Diff: flink-libraries/flink-cep/src/main/java/org/apache/flink/cep/nfa/NFA.java --- @@ -697,6 +697,7 @@ private int calculateIncreasingSelfState(int

[GitHub] flink pull request #6168: [FLINK-9588][CEP]Reused context with same computat...

2018-06-15 Thread Aitozi
Github user Aitozi commented on a diff in the pull request: https://github.com/apache/flink/pull/6168#discussion_r195745115 --- Diff: flink-libraries/flink-cep/src/main/java/org/apache/flink/cep/nfa/NFA.java --- @@ -609,7 +611,7 @@ public void close() throws Exception

[GitHub] flink pull request #6168: [FLINK-9588][CEP]Reused context with same computat...

2018-06-15 Thread Aitozi
Github user Aitozi commented on a diff in the pull request: https://github.com/apache/flink/pull/6168#discussion_r195792448 --- Diff: flink-libraries/flink-cep/src/main/java/org/apache/flink/cep/nfa/NFA.java --- @@ -609,7 +611,7 @@ public void close() throws Exception

[GitHub] flink issue #6162: [FLINK-9579][CEP]Remove unneeded clear on elementQueueSta...

2018-06-14 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/6162 Thanks for your review , remove the same block in `onProcessingTime`. ---

[GitHub] flink pull request #6162: [FLINK-9579][CEP]Remove unneeded clear on elementQ...

2018-06-14 Thread Aitozi
GitHub user Aitozi opened a pull request: https://github.com/apache/flink/pull/6162 [FLINK-9579][CEP]Remove unneeded clear on elementQueueState ## What is the purpose of the change Remove unneeded clear on elementQueueState, when soretedTimestamp is empty, the elements

[GitHub] flink issue #6162: [FLINK-9579][CEP]Remove unneeded clear on elementQueueSta...

2018-06-15 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/6162 Is this OK? @dawidwys ---

[GitHub] flink issue #6168: [FLINK-9588][CEP]Reused context with same computation sta...

2018-06-15 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/6168 please help review this pr @dawidwys , thx. ---

[GitHub] flink pull request #6104: [FLINK-9476]Emit late elements in CEP as sideOutPu...

2018-05-30 Thread Aitozi
GitHub user Aitozi opened a pull request: https://github.com/apache/flink/pull/6104 [FLINK-9476]Emit late elements in CEP as sideOutPut Now, when use with Eventtime in CEP library, elements come later than watermark will be dropped,we can put it in side Output with outPutTag You

[GitHub] flink issue #6104: [FLINK-9476]Emit late elements in CEP as sideOutPut

2018-05-30 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/6104 @bowenli86 thanks for review, i have fix the error according to the comment and add the unit test in CEPITCase, please help review it again. cc @kl0u ---

[GitHub] flink issue #6080: [FLINK-9443]Remove unused parameter in generateNodeLocalH...

2018-05-29 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/6080 @aljoscha please help review this ,thanks ---

[GitHub] flink pull request #6109: [FLINK-9483] 'Building Flink' doc doesn't highligh...

2018-06-03 Thread Aitozi
Github user Aitozi commented on a diff in the pull request: https://github.com/apache/flink/pull/6109#discussion_r192628465 --- Diff: docs/start/building.md --- @@ -50,7 +50,11 @@ mvn clean install -DskipTests This instructs [Maven](http://maven.apache.org) (`mvn

[GitHub] flink issue #6059: [Flink-9418] Migrate SharedBuffer to use MapState

2018-06-04 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/6059 @dawidwys I'm sorry, I don't have a systematic testing tool. I'm working on the inner dynamic cep and `CEPOperator` can process serveral `NFA` when receive an element. Then i encounter

[GitHub] flink issue #6104: [FLINK-9476]Emit late elements in CEP as sideOutPut

2018-06-04 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/6104 thx, can help merge this @dawidwys ---

[GitHub] flink issue #6104: [FLINK-9476]Emit late elements in CEP as sideOutPut

2018-06-04 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/6104 @dawidwys fix the flaw according to your suggestion ;-) ---

[GitHub] flink pull request #6059: [Flink-9418] Migrate SharedBuffer to use MapState

2018-06-02 Thread Aitozi
Github user Aitozi commented on a diff in the pull request: https://github.com/apache/flink/pull/6059#discussion_r192558813 --- Diff: flink-libraries/flink-cep/src/main/java/org/apache/flink/cep/nfa/sharedbuffer/EventWrapper.java --- @@ -0,0 +1,188 @@ +/* + * Licensed

[GitHub] flink pull request #6111: [FLINK-9504]Change the log level of checkpoint dur...

2018-06-02 Thread Aitozi
GitHub user Aitozi opened a pull request: https://github.com/apache/flink/pull/6111 [FLINK-9504]Change the log level of checkpoint duration to debug Now, every time checkpoint it will log with the OperatorStateBackend and KeyedStateBackend with per partition/parallel time cost

[GitHub] flink pull request #6104: [FLINK-9476]Emit late elements in CEP as sideOutPu...

2018-06-01 Thread Aitozi
Github user Aitozi commented on a diff in the pull request: https://github.com/apache/flink/pull/6104#discussion_r192428178 --- Diff: flink-libraries/flink-cep/src/main/java/org/apache/flink/cep/PatternStream.java --- @@ -54,6 +54,12 @@ // comparator to sort events

[GitHub] flink pull request #6104: [FLINK-9476]Emit late elements in CEP as sideOutPu...

2018-06-01 Thread Aitozi
Github user Aitozi commented on a diff in the pull request: https://github.com/apache/flink/pull/6104#discussion_r192428106 --- Diff: docs/dev/libs/cep.md --- @@ -1524,7 +1524,52 @@ In `CEP` the order in which elements are processed matters. To guarantee that el

[GitHub] flink pull request #6104: [FLINK-9476]Emit late elements in CEP as sideOutPu...

2018-06-01 Thread Aitozi
Github user Aitozi commented on a diff in the pull request: https://github.com/apache/flink/pull/6104#discussion_r192428038 --- Diff: docs/dev/libs/cep.md --- @@ -1524,7 +1524,52 @@ In `CEP` the order in which elements are processed matters. To guarantee that el

[GitHub] flink pull request #6104: [FLINK-9476]Emit late elements in CEP as sideOutPu...

2018-06-01 Thread Aitozi
Github user Aitozi commented on a diff in the pull request: https://github.com/apache/flink/pull/6104#discussion_r192428502 --- Diff: flink-libraries/flink-cep/src/test/java/org/apache/flink/cep/CEPITCase.java --- @@ -383,6 +386,100 @@ public String select(Map> patt

[GitHub] flink issue #6059: [Flink-9418] Migrate SharedBuffer to use MapState

2018-06-02 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/6059 After go through the whole change, i think it is extremely a good feature 👍, and i will apply this patch to our inner library to test how much the performance improved. A little question: why

[GitHub] flink pull request #6124: [FLINK-8914][CEP]Fix wrong semantic when greedy pa...

2018-06-05 Thread Aitozi
GitHub user Aitozi opened a pull request: https://github.com/apache/flink/pull/6124 [FLINK-8914][CEP]Fix wrong semantic when greedy pattern is the head of the pattern ## What is the purpose of the change As described in the jira [FLINK-8914](https://issues.apache.org/jira

[GitHub] flink issue #6124: [FLINK-8914][CEP]Fix wrong semantic when greedy pattern i...

2018-06-05 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/6124 @dawidwys please help review this pr when you free,thx ---

[GitHub] flink issue #6111: [FLINK-9504]Change the log level of checkpoint duration t...

2018-06-04 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/6111 thanks @StephanEwen for review. As you mentioned, I only set the log level in state backends to `debug` , is there something wrong with my pull request or misunderstand what your meaning ? ---

[GitHub] flink issue #6205: [FLINK-9642]Reduce the count to deal with state during a ...

2018-06-26 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/6205 Using the `entries#putAll` in `flushCache` lead to the count in `NFAStateAccessTest` increased, I will check it locally , this travis will fail. ---

[GitHub] flink pull request #6205: [FLINK-9642]Reduce the count to deal with state du...

2018-06-26 Thread Aitozi
Github user Aitozi commented on a diff in the pull request: https://github.com/apache/flink/pull/6205#discussion_r198151182 --- Diff: flink-libraries/flink-cep/src/main/java/org/apache/flink/cep/nfa/sharedbuffer/SharedBuffer.java --- @@ -346,16 +351,87 @@ private void lockEvent

[GitHub] flink issue #6205: [FLINK-9642]Reduce the count to deal with state during a ...

2018-06-26 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/6205 fixed the error that the access to state increased in `NFAStateAccessTest` by add the `isEmpty` judgment before update the state. ---

[GitHub] flink pull request #6205: [FLINK-9642]Reduce the count to deal with state du...

2018-06-23 Thread Aitozi
GitHub user Aitozi opened a pull request: https://github.com/apache/flink/pull/6205 [FLINK-9642]Reduce the count to deal with state during a CEP process ## What is the purpose of the change With the rework of sharedBuffer Flink-9418, the lock & release operation is

[GitHub] flink issue #6205: [FLINK-9642]Reduce the count to deal with state during a ...

2018-06-24 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/6205 Hi @zhangminglei , thanks for your review. I only check the SharedBufferTest locally before, the error in travis means the num of state access (read and write) is less than before which

[GitHub] flink pull request #6205: [FLINK-9642]Reduce the count to deal with state du...

2018-06-24 Thread Aitozi
Github user Aitozi commented on a diff in the pull request: https://github.com/apache/flink/pull/6205#discussion_r197629310 --- Diff: flink-libraries/flink-cep/src/main/java/org/apache/flink/cep/nfa/sharedbuffer/SharedBuffer.java --- @@ -346,16 +351,87 @@ private void lockEvent

[GitHub] flink pull request #6205: [FLINK-9642]Reduce the count to deal with state du...

2018-06-24 Thread Aitozi
Github user Aitozi commented on a diff in the pull request: https://github.com/apache/flink/pull/6205#discussion_r197629218 --- Diff: flink-libraries/flink-cep/src/main/java/org/apache/flink/cep/nfa/sharedbuffer/SharedBuffer.java --- @@ -75,6 +76,9 @@ private MapState

[GitHub] flink pull request #6205: [FLINK-9642]Reduce the count to deal with state du...

2018-06-23 Thread Aitozi
Github user Aitozi commented on a diff in the pull request: https://github.com/apache/flink/pull/6205#discussion_r197629205 --- Diff: flink-libraries/flink-cep/src/main/java/org/apache/flink/cep/nfa/sharedbuffer/SharedBuffer.java --- @@ -346,16 +351,87 @@ private void lockEvent

[GitHub] flink issue #6205: [FLINK-9642]Reduce the count to deal with state during a ...

2018-06-24 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/6205 The travis error this time seems unrelated. ---

[GitHub] flink issue #6168: [FLINK-9588][CEP]Reused context with same computation sta...

2018-06-19 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/6168 Is it ok now ? @dawidwys ---

[GitHub] flink issue #6205: [FLINK-9642]Reduce the count to deal with state during a ...

2018-06-26 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/6205 Is this look ok now? ping @sihuazhou @dawidwys ---

[GitHub] flink pull request #6205: [FLINK-9642]Reduce the count to deal with state du...

2018-06-26 Thread Aitozi
Github user Aitozi commented on a diff in the pull request: https://github.com/apache/flink/pull/6205#discussion_r198142501 --- Diff: flink-libraries/flink-cep/src/main/java/org/apache/flink/cep/nfa/sharedbuffer/SharedBuffer.java --- @@ -346,16 +351,87 @@ private void lockEvent

[GitHub] flink pull request #6205: [FLINK-9642]Reduce the count to deal with state du...

2018-06-26 Thread Aitozi
Github user Aitozi commented on a diff in the pull request: https://github.com/apache/flink/pull/6205#discussion_r198143091 --- Diff: flink-libraries/flink-cep/src/main/java/org/apache/flink/cep/nfa/sharedbuffer/SharedBuffer.java --- @@ -346,16 +351,87 @@ private void lockEvent

[GitHub] flink pull request #6234: [FLINK-9431]Introduce time bounded condition to ce...

2018-07-01 Thread Aitozi
GitHub user Aitozi opened a pull request: https://github.com/apache/flink/pull/6234 [FLINK-9431]Introduce time bounded condition to cep ## What is the purpose of the change In cep the event is now driving the transformation of the NFA, I think the time factor should also

[GitHub] flink pull request #5405: [FLINK-8477][Window]Add api to support user to ski...

2018-02-02 Thread Aitozi
GitHub user Aitozi opened a pull request: https://github.com/apache/flink/pull/5405 [FLINK-8477][Window]Add api to support user to skip serval broken window In production, some application like monitor type , it need the accuarcy data,but in this scenario: if we start a job at 10

[GitHub] flink issue #5405: [FLINK-8477][Window]Add api to support user to skip serva...

2018-02-02 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/5405 cc @aljoscha please help review this patch. ![image](https://user-images.githubusercontent.com/9486140/35761522-6e00f4b8-08c4-11e8-8063-7ec015802428.png) see the picture above, when user

[GitHub] flink issue #5405: [FLINK-8477][Window]Add api to support user to skip serva...

2018-02-11 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/5405 Hi @aljoscha , you have mentioned two points : 1. The events arrived may out of order in event-time processing 2. We can use windowFunction or ProcessWindowFunction to filter serverl window

[GitHub] flink issue #5405: [FLINK-8477][Window]Add api to support user to skip serva...

2018-02-09 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/5405 ping @aljoscha ---

[GitHub] flink pull request #6168: [FLINK-9588][CEP]Reused context with same computat...

2018-07-08 Thread Aitozi
Github user Aitozi closed the pull request at: https://github.com/apache/flink/pull/6168 ---

[GitHub] flink issue #6224: [FLINK-9687]Delay the state fetch only when the triggerRe...

2018-07-10 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/6224 Aha, I meat to improve the performance of windowOperator, In the scenario mentioned in the issue, this PR can avoid that bug, lucky hit ;-) ---

[GitHub] flink issue #6205: [FLINK-9642]Reduce the count to deal with state during a ...

2018-07-10 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/6205 Resolved the conflicts, please help review when you free @dawidwys . ---

[GitHub] flink issue #6224: [FLINK-9687]Delay the state fetch only when the triggerRe...

2018-07-11 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/6224 OK 👌 ---

[GitHub] flink issue #6111: [FLINK-9504]Change the log level of checkpoint duration t...

2018-07-11 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/6111 Hi @StephanEwen , is there any change should be made to this PR ? ---

[GitHub] flink issue #6168: [FLINK-9588][CEP]Reused context with same computation sta...

2018-07-06 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/6168 Hi @dawidwys , since this commit has been merged in, is this pr need to be closed by me? ---

[GitHub] flink issue #6224: [FLINK-9687]Delay the state fetch only when the triggerRe...

2018-07-06 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/6224 ping @aljoscha , could you help review it, I'd like to hear your opinion on this PR too. thx ---

[GitHub] flink issue #6205: [FLINK-9642]Reduce the count to deal with state during a ...

2018-07-06 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/6205 Could you take a look at this PR @dawidwys ? ---

[GitHub] flink pull request #6186: [FLINK-9514,FLINK-9515,FLINK-9516] State ttl wrapp...

2018-07-11 Thread Aitozi
Github user Aitozi commented on a diff in the pull request: https://github.com/apache/flink/pull/6186#discussion_r201895445 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/state/ttl/TtlListState.java --- @@ -0,0 +1,171 @@ +/* + * Licensed to the Apache

[GitHub] flink issue #6186: [FLINK-9514,FLINK-9515,FLINK-9516] State ttl wrappers

2018-07-11 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/6186 Hi, after read the whole implementation, i found that the state is expired when it is accessed, When there is the dirty data store to state and never be queried, how does it can be expired

[GitHub] flink pull request #6186: [FLINK-9514,FLINK-9515,FLINK-9516] State ttl wrapp...

2018-07-12 Thread Aitozi
Github user Aitozi commented on a diff in the pull request: https://github.com/apache/flink/pull/6186#discussion_r201971238 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/state/ttl/TtlListState.java --- @@ -0,0 +1,171 @@ +/* + * Licensed to the Apache

[GitHub] flink pull request #:

2018-07-09 Thread Aitozi
Github user Aitozi commented on the pull request: https://github.com/apache/flink/commit/8c89f3c6b5ebd0334176d9e7e57b38b4d39a594a#commitcomment-29640344 Hi, do you discuss about the logic change of Trigger in the PR: https://github.com/apache/flink/pull/6224 ---

[GitHub] flink pull request #6224: [FLINK-9687]Delay the state fetch only when the tr...

2018-07-09 Thread Aitozi
Github user Aitozi closed the pull request at: https://github.com/apache/flink/pull/6224 ---

[GitHub] flink issue #6224: [FLINK-9687]Delay the state fetch only when the triggerRe...

2018-07-09 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/6224 Got it, Thanks for your explanation ;-). I will close this PR. ---

[GitHub] flink issue #6224: [FLINK-9687]Delay the state fetch only when the triggerRe...

2018-07-09 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/6224 Hi, @aljoscha I read the PR of https://issues.apache.org/jira/browse/FLINK-5363, i think it is not a same thing with this PR. You meant to get `TriggerResult` no matter the window content

[GitHub] flink issue #6224: [FLINK-9687]Delay the state fetch only when the triggerRe...

2018-07-09 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/6224 Get it, this change indeed will lead to the situation you mentioned. > What are the cases where this change leads to an improvement I just read code and think the order is not suita

[GitHub] flink issue #3105: [FLINK-4641] [cep] Support branching CEP patterns

2018-03-12 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/3105 why it is closed ? Is it has been merged in? ---

[GitHub] flink issue #6224: [FLINK-9687]Delay the state fetch only when the triggerRe...

2018-06-28 Thread Aitozi
Github user Aitozi commented on the issue: https://github.com/apache/flink/pull/6224 The failed info in travis error shows the test with `checkClusterEmpty` is wrong, Is this happened due to the reuse of yarn cluster? It seems unrelated with this pull request. ---

[GitHub] flink pull request #6168: [FLINK-9588][CEP]Reused context with same computat...

2018-06-22 Thread Aitozi
Github user Aitozi commented on a diff in the pull request: https://github.com/apache/flink/pull/6168#discussion_r197482701 --- Diff: flink-libraries/flink-cep/src/main/java/org/apache/flink/cep/nfa/NFA.java --- @@ -609,7 +611,7 @@ public void close() throws Exception

[jira] [Updated] (FLINK-7611) add metrics to measure the data drop by watermark

2017-09-11 Thread aitozi (JIRA)
[ https://issues.apache.org/jira/browse/FLINK-7611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] aitozi updated FLINK-7611: -- Affects Version/s: 1.3.0 > add metrics to measure the data drop by waterm

[jira] [Updated] (FLINK-7611) add metrics to measure the data drop by watermark

2017-09-11 Thread aitozi (JIRA)
[ https://issues.apache.org/jira/browse/FLINK-7611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] aitozi updated FLINK-7611: -- Affects Version/s: 1.2.0 > add metrics to measure the data drop by waterm

[jira] [Commented] (FLINK-7608) LatencyGauge change to histogram metric

2017-09-16 Thread aitozi (JIRA)
[ https://issues.apache.org/jira/browse/FLINK-7608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16168852#comment-16168852 ] aitozi commented on FLINK-7608: --- i am doubt that why it need to access the value of p50,p95,p99. i think

[jira] [Created] (FLINK-7611) add metrics to measure the data drop by watermark

2017-09-11 Thread aitozi (JIRA)
aitozi created FLINK-7611: - Summary: add metrics to measure the data drop by watermark Key: FLINK-7611 URL: https://issues.apache.org/jira/browse/FLINK-7611 Project: Flink Issue Type: Improvement

[jira] [Commented] (FLINK-7611) add metrics to measure the data drop by watermark

2017-09-12 Thread aitozi (JIRA)
[ https://issues.apache.org/jira/browse/FLINK-7611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16164008#comment-16164008 ] aitozi commented on FLINK-7611: --- i have add the pr, https://github.com/apache/flink/pull/4665 , anyone

[jira] [Updated] (FLINK-7945) Per partition-lag metric lost in kafka connector

2017-11-01 Thread aitozi (JIRA)
[ https://issues.apache.org/jira/browse/FLINK-7945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] aitozi updated FLINK-7945: -- Summary: Per partition-lag metric lost in kafka connector (was: kafka-connector11 use kafkaConsumer0.9 caused

  1   2   3   4   5   6   7   8   9   >