1. 04 2月, 2016 7 次提交
    • S
    • S
    • A
      524e56bc
    • A
      [FLINK-3200] Use Partitioned State in WindowOperator · 67ca4a43
      Aljoscha Krettek 提交于
      This changes window operator to use the new partitioned state
      abstraction for keeping window contents instead of custom internal
      state and the checkpointed interface.
      
      For now, timers are still kept as custom checkpointed state, however.
      
      WindowOperator now expects a StateIdentifier for MergingState, this can
      either be for ReducingState or ListState but WindowOperator is agnostic
      to the type of State. Also the signature of WindowFunction is changed to
      include the type of intermediate input. For example, if a ReducingState
      is used the input of the WindowFunction is T (where T is the input
      type). If using a ListState the input of the WindowFunction would be of
      type Iterable[T].
      67ca4a43
    • A
      [FLINK-3201] Enhance Partitioned State Interface with State Types · caf46728
      Aljoscha Krettek 提交于
      Add new state types ValueState, ListState and ReducingState, where
      ListState and ReducingState derive from interface MergingState.
      
      ValueState behaves exactly the same as OperatorState. MergingState is a
      stateful list to which elements can be added and for which the elements
      that it contains can be obtained. If using a ListState the list of
      elements is actually kept, for a ReducingState a reduce function is used
      to combine all added elements into one. To create a ValueState the user
      passes a ValueStateIdentifier to
      StreamingRuntimeContext.getPartitionedState() while they would pass a
      ListStateIdentifier or ReducingStateIdentifier for the other state
      types.
      
      This change is necessary to give the system more information about the
      nature of the operator state. We want this to be able to do incremental
      snapshots. This would not be possible, for example, if the user had a
      List as a state. Inside OperatorState this list would be opaque and
      Flink could not create good incremental snapshots.
      
      This also refactors the StateBackend. Before, the logic for partitioned
      state was spread out over StreamingRuntimeContext,
      AbstractStreamOperator and StateBackend. Now it is consolidated in
      StateBackend.
      
      This also adds support for partitioned state in two-input operators.
      caf46728
    • U
      [hotfix, yarn] Exit JVM after YARN actor system shut down · 680c2c3e
      Ufuk Celebi 提交于
      This closes #1582, #1576.
      680c2c3e
    • U
      [docs] Move libraries to batch and streaming guides · 35ec26cd
      Ufuk Celebi 提交于
      Old guides are redirected to the new pages.
      35ec26cd
  2. 03 2月, 2016 8 次提交
  3. 02 2月, 2016 13 次提交
  4. 01 2月, 2016 9 次提交
  5. 30 1月, 2016 1 次提交
  6. 29 1月, 2016 1 次提交
  7. 28 1月, 2016 1 次提交