[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-23 Thread shixiaogang
Github user shixiaogang closed the pull request at: https://github.com/apache/flink/pull/3336 --- 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

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-22 Thread aljoscha
Github user aljoscha commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102426884 --- Diff: docs/dev/stream/state.md --- @@ -118,6 +118,11 @@ added to the state. Contrary to `ReducingState`, the aggregate type may be diffe of

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-22 Thread aljoscha
Github user aljoscha commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102426841 --- Diff: docs/dev/stream/state.md --- @@ -118,6 +118,11 @@ added to the state. Contrary to `ReducingState`, the aggregate type may be diffe of

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-21 Thread wenlong88
Github user wenlong88 commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102381085 --- Diff: flink-core/src/main/java/org/apache/flink/api/common/state/MapStateDescriptor.java --- @@ -0,0 +1,147 @@ +/* + * Licensed to the Apache

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-21 Thread shixiaogang
Github user shixiaogang commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102225285 --- Diff: flink-contrib/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBMapState.java --- @@ -382,11 +342,26

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-21 Thread aljoscha
Github user aljoscha commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102194100 --- Diff: flink-contrib/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBMapState.java --- @@ -0,0 +1,579 @@

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-21 Thread StefanRRichter
Github user StefanRRichter commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102188520 --- Diff: flink-contrib/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBMapState.java --- @@ -0,0 +1,579 @@

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-21 Thread StefanRRichter
Github user StefanRRichter commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102187482 --- Diff: flink-contrib/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBMapState.java --- @@ -382,11

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-21 Thread aljoscha
Github user aljoscha commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102173749 --- Diff: flink-contrib/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBKeyedStateBackend.java --- @@ -834,7

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-21 Thread aljoscha
Github user aljoscha commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102173582 --- Diff: flink-contrib/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBMapState.java --- @@ -0,0 +1,579 @@

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-21 Thread StefanRRichter
Github user StefanRRichter commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102164095 --- Diff: flink-contrib/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBMapState.java --- @@ -0,0 +1,579 @@

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-21 Thread StefanRRichter
Github user StefanRRichter commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102163881 --- Diff: flink-contrib/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBMapState.java --- @@ -0,0 +1,579 @@

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-21 Thread StefanRRichter
Github user StefanRRichter commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102163224 --- Diff: flink-contrib/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBMapState.java --- @@ -0,0 +1,579 @@

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-21 Thread StefanRRichter
Github user StefanRRichter commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102162964 --- Diff: flink-runtime/src/test/java/org/apache/flink/runtime/query/netty/message/KvStateRequestSerializerTest.java --- @@ -410,6 +415,124 @@

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-21 Thread StefanRRichter
Github user StefanRRichter commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102162632 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/state/DefaultKeyedStateStore.java --- @@ -93,6 +95,18 @@ public

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-21 Thread StefanRRichter
Github user StefanRRichter commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102162187 --- Diff: flink-contrib/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBMapState.java --- @@ -0,0 +1,579 @@

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-21 Thread shixiaogang
Github user shixiaogang commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102153318 --- Diff: flink-contrib/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBMapState.java --- @@ -0,0 +1,579 @@

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-20 Thread shixiaogang
Github user shixiaogang commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102138099 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/query/netty/message/KvStateRequestSerializer.java --- @@ -484,6 +487,71 @@ public static

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-20 Thread shixiaogang
Github user shixiaogang commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102135289 --- Diff: flink-runtime/src/test/java/org/apache/flink/runtime/query/netty/message/KvStateRequestSerializerTest.java --- @@ -410,6 +415,124 @@ public

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-20 Thread shixiaogang
Github user shixiaogang commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102129362 --- Diff: flink-contrib/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBKeyedStateBackend.java --- @@ -834,7

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-20 Thread shixiaogang
Github user shixiaogang commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102128355 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/state/DefaultKeyedStateStore.java --- @@ -93,6 +95,18 @@ public

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-20 Thread shixiaogang
Github user shixiaogang commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102127867 --- Diff: flink-contrib/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBMapState.java --- @@ -0,0 +1,579 @@

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-20 Thread shixiaogang
Github user shixiaogang commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102127767 --- Diff: flink-contrib/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBMapState.java --- @@ -0,0 +1,579 @@

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-20 Thread shixiaogang
Github user shixiaogang commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102126863 --- Diff: flink-contrib/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBMapState.java --- @@ -0,0 +1,579 @@

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-20 Thread shixiaogang
Github user shixiaogang commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102125445 --- Diff: flink-contrib/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBMapState.java --- @@ -0,0 +1,579 @@

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-20 Thread shixiaogang
Github user shixiaogang commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102125062 --- Diff: flink-contrib/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBMapState.java --- @@ -0,0 +1,579 @@

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-20 Thread StefanRRichter
Github user StefanRRichter commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102034484 --- Diff: flink-contrib/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBMapState.java --- @@ -0,0 +1,579 @@

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-20 Thread aljoscha
Github user aljoscha commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102033998 --- Diff: flink-contrib/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBMapState.java --- @@ -0,0 +1,579 @@

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-20 Thread aljoscha
Github user aljoscha commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102033285 --- Diff: flink-contrib/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBKeyedStateBackend.java --- @@ -834,7

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-20 Thread StefanRRichter
Github user StefanRRichter commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102016693 --- Diff: flink-contrib/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBMapState.java --- @@ -0,0 +1,579 @@

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-20 Thread StefanRRichter
Github user StefanRRichter commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102022926 --- Diff: flink-contrib/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBMapState.java --- @@ -0,0 +1,579 @@

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-20 Thread StefanRRichter
Github user StefanRRichter commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r101994211 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/state/heap/HeapMapState.java --- @@ -0,0 +1,321 @@ +/* + * Licensed to the

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-20 Thread StefanRRichter
Github user StefanRRichter commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102019357 --- Diff: flink-contrib/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBMapState.java --- @@ -0,0 +1,579 @@

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-20 Thread StefanRRichter
Github user StefanRRichter commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102020837 --- Diff: flink-contrib/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBMapState.java --- @@ -0,0 +1,579 @@

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-20 Thread StefanRRichter
Github user StefanRRichter commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102023644 --- Diff: flink-contrib/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBMapState.java --- @@ -0,0 +1,579 @@

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-20 Thread StefanRRichter
Github user StefanRRichter commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102020386 --- Diff: flink-contrib/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBMapState.java --- @@ -0,0 +1,579 @@

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-20 Thread StefanRRichter
Github user StefanRRichter commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102022585 --- Diff: flink-contrib/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBMapState.java --- @@ -0,0 +1,579 @@

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-20 Thread StefanRRichter
Github user StefanRRichter commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102018529 --- Diff: flink-contrib/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBMapState.java --- @@ -0,0 +1,579 @@

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-20 Thread StefanRRichter
Github user StefanRRichter commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r101992577 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/query/netty/message/KvStateRequestSerializer.java --- @@ -484,6 +487,71 @@ public

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-20 Thread StefanRRichter
Github user StefanRRichter commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r101994880 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/state/HashMapSerializer.java --- @@ -0,0 +1,179 @@ +/* + * Licensed to the

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-20 Thread StefanRRichter
Github user StefanRRichter commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r101994611 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/state/HashMapSerializer.java --- @@ -0,0 +1,179 @@ +/* + * Licensed to the

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-20 Thread StefanRRichter
Github user StefanRRichter commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r101995663 --- Diff: flink-runtime/src/test/java/org/apache/flink/runtime/query/netty/message/KvStateRequestSerializerTest.java --- @@ -410,6 +415,124 @@

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-20 Thread StefanRRichter
Github user StefanRRichter commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r101990286 --- Diff: flink-core/src/main/java/org/apache/flink/api/common/typeutils/base/MapSerializer.java --- @@ -0,0 +1,179 @@ +/* + * Licensed to

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-20 Thread StefanRRichter
Github user StefanRRichter commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102018403 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/state/DefaultKeyedStateStore.java --- @@ -93,6 +95,18 @@ public

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-20 Thread StefanRRichter
Github user StefanRRichter commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r101999084 --- Diff: flink-contrib/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBMapState.java --- @@ -0,0 +1,579 @@

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-20 Thread StefanRRichter
Github user StefanRRichter commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r101997876 --- Diff: flink-contrib/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBMapState.java --- @@ -0,0 +1,579 @@

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-20 Thread aljoscha
Github user aljoscha commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r102002192 --- Diff: flink-core/src/main/java/org/apache/flink/api/common/state/MapState.java --- @@ -0,0 +1,111 @@ +/* + * Licensed to the Apache Software

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-20 Thread shixiaogang
Github user shixiaogang commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r101987352 --- Diff: flink-core/src/main/java/org/apache/flink/api/common/state/MapState.java --- @@ -0,0 +1,111 @@ +/* + * Licensed to the Apache Software

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-20 Thread aljoscha
Github user aljoscha commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r101983507 --- Diff: flink-core/src/main/java/org/apache/flink/api/common/state/MapState.java --- @@ -0,0 +1,111 @@ +/* + * Licensed to the Apache Software

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-19 Thread shixiaogang
Github user shixiaogang commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r101936792 --- Diff: flink-core/src/main/java/org/apache/flink/api/common/state/MapState.java --- @@ -0,0 +1,111 @@ +/* + * Licensed to the Apache Software

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-17 Thread aljoscha
Github user aljoscha commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r101749935 --- Diff: flink-core/src/main/java/org/apache/flink/api/common/state/MapState.java --- @@ -0,0 +1,111 @@ +/* + * Licensed to the Apache Software

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-17 Thread aljoscha
Github user aljoscha commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r101750130 --- Diff: flink-core/src/main/java/org/apache/flink/api/common/typeutils/base/MapSerializer.java --- @@ -0,0 +1,179 @@ +/* + * Licensed to the

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-17 Thread aljoscha
Github user aljoscha commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r101750262 --- Diff: flink-core/src/main/java/org/apache/flink/api/java/typeutils/MapTypeInfo.java --- @@ -0,0 +1,147 @@ +/* + * Licensed to the Apache

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-17 Thread aljoscha
Github user aljoscha commented on a diff in the pull request: https://github.com/apache/flink/pull/3336#discussion_r10175 --- Diff: flink-core/src/main/java/org/apache/flink/api/common/state/MapStateDescriptor.java --- @@ -0,0 +1,132 @@ +/* + * Licensed to the Apache

[GitHub] flink pull request #3336: [FLINK-4856][state] Add MapState in KeyedState

2017-02-16 Thread shixiaogang
GitHub user shixiaogang opened a pull request: https://github.com/apache/flink/pull/3336 [FLINK-4856][state] Add MapState in KeyedState 1. Add `MapState` and `MapStateDescriptor` 2. Implementation of `MapState` in `HeapKeyedStateBackend` and `RocksDBKeyedStateBackend`. 3.