Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doujutun3207
flink
提交
6650d745
F
flink
项目概览
doujutun3207
/
flink
与 Fork 源项目一致
从无法访问的项目Fork
通知
24
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
flink
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
6650d745
编写于
12月 19, 2018
作者:
H
hequn8128
提交者:
Chesnay Schepler
1月 09, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[FLINK-11197][tests] Improve migration test comments about how to generate snapshots
上级
3702029f
变更
12
隐藏空白更改
内联
并排
Showing
12 changed file
with
12 addition
and
0 deletion
+12
-0
flink-connectors/flink-connector-filesystem/src/test/java/org/apache/flink/streaming/connectors/fs/bucketing/BucketingSinkMigrationTest.java
...g/connectors/fs/bucketing/BucketingSinkMigrationTest.java
+1
-0
flink-connectors/flink-connector-kafka-base/src/test/java/org/apache/flink/streaming/connectors/kafka/FlinkKafkaConsumerBaseMigrationTest.java
...connectors/kafka/FlinkKafkaConsumerBaseMigrationTest.java
+1
-0
flink-connectors/flink-connector-kinesis/src/test/java/org/apache/flink/streaming/connectors/kinesis/FlinkKinesisConsumerMigrationTest.java
...connectors/kinesis/FlinkKinesisConsumerMigrationTest.java
+1
-0
flink-fs-tests/src/test/java/org/apache/flink/hdfstests/ContinuousFileProcessingMigrationTest.java
...link/hdfstests/ContinuousFileProcessingMigrationTest.java
+1
-0
flink-libraries/flink-cep/src/test/java/org/apache/flink/cep/operator/CEPMigrationTest.java
.../java/org/apache/flink/cep/operator/CEPMigrationTest.java
+1
-0
flink-streaming-java/src/test/java/org/apache/flink/streaming/runtime/operators/windowing/WindowOperatorMigrationTest.java
...time/operators/windowing/WindowOperatorMigrationTest.java
+1
-0
flink-tests/src/test/java/org/apache/flink/test/checkpointing/utils/LegacyStatefulJobSavepointMigrationITCase.java
...ting/utils/LegacyStatefulJobSavepointMigrationITCase.java
+1
-0
flink-tests/src/test/java/org/apache/flink/test/checkpointing/utils/StatefulJobSavepointMigrationITCase.java
...ckpointing/utils/StatefulJobSavepointMigrationITCase.java
+1
-0
flink-tests/src/test/java/org/apache/flink/test/checkpointing/utils/StatefulJobWBroadcastStateMigrationITCase.java
...ting/utils/StatefulJobWBroadcastStateMigrationITCase.java
+1
-0
flink-tests/src/test/java/org/apache/flink/test/migration/TypeSerializerSnapshotMigrationITCase.java
...test/migration/TypeSerializerSnapshotMigrationITCase.java
+1
-0
flink-tests/src/test/scala/org/apache/flink/api/scala/migration/StatefulJobSavepointMigrationITCase.scala
...scala/migration/StatefulJobSavepointMigrationITCase.scala
+1
-0
flink-tests/src/test/scala/org/apache/flink/api/scala/migration/StatefulJobWBroadcastStateMigrationITCase.scala
...migration/StatefulJobWBroadcastStateMigrationITCase.scala
+1
-0
未找到文件。
flink-connectors/flink-connector-filesystem/src/test/java/org/apache/flink/streaming/connectors/fs/bucketing/BucketingSinkMigrationTest.java
浏览文件 @
6650d745
...
@@ -69,6 +69,7 @@ public class BucketingSinkMigrationTest {
...
@@ -69,6 +69,7 @@ public class BucketingSinkMigrationTest {
/**
/**
* TODO change this to the corresponding savepoint version to be written (e.g. {@link MigrationVersion#v1_3} for 1.3)
* TODO change this to the corresponding savepoint version to be written (e.g. {@link MigrationVersion#v1_3} for 1.3)
* TODO and remove all @Ignore annotations on write*Snapshot() methods to generate savepoints
* TODO and remove all @Ignore annotations on write*Snapshot() methods to generate savepoints
* TODO Note: You should generate the savepoint based on the release branch instead of the master.
*/
*/
private
final
MigrationVersion
flinkGenerateSavepointVersion
=
null
;
private
final
MigrationVersion
flinkGenerateSavepointVersion
=
null
;
...
...
flink-connectors/flink-connector-kafka-base/src/test/java/org/apache/flink/streaming/connectors/kafka/FlinkKafkaConsumerBaseMigrationTest.java
浏览文件 @
6650d745
...
@@ -79,6 +79,7 @@ public class FlinkKafkaConsumerBaseMigrationTest {
...
@@ -79,6 +79,7 @@ public class FlinkKafkaConsumerBaseMigrationTest {
/**
/**
* TODO change this to the corresponding savepoint version to be written (e.g. {@link MigrationVersion#v1_3} for 1.3)
* TODO change this to the corresponding savepoint version to be written (e.g. {@link MigrationVersion#v1_3} for 1.3)
* TODO and remove all @Ignore annotations on write*Snapshot() methods to generate savepoints
* TODO and remove all @Ignore annotations on write*Snapshot() methods to generate savepoints
* TODO Note: You should generate the savepoint based on the release branch instead of the master.
*/
*/
private
final
MigrationVersion
flinkGenerateSavepointVersion
=
null
;
private
final
MigrationVersion
flinkGenerateSavepointVersion
=
null
;
...
...
flink-connectors/flink-connector-kinesis/src/test/java/org/apache/flink/streaming/connectors/kinesis/FlinkKinesisConsumerMigrationTest.java
浏览文件 @
6650d745
...
@@ -76,6 +76,7 @@ public class FlinkKinesisConsumerMigrationTest {
...
@@ -76,6 +76,7 @@ public class FlinkKinesisConsumerMigrationTest {
/**
/**
* TODO change this to the corresponding savepoint version to be written (e.g. {@link MigrationVersion#v1_3} for 1.3)
* TODO change this to the corresponding savepoint version to be written (e.g. {@link MigrationVersion#v1_3} for 1.3)
* TODO and remove all @Ignore annotations on the writeSnapshot() method to generate savepoints
* TODO and remove all @Ignore annotations on the writeSnapshot() method to generate savepoints
* TODO Note: You should generate the savepoint based on the release branch instead of the master.
*/
*/
private
final
MigrationVersion
flinkGenerateSavepointVersion
=
null
;
private
final
MigrationVersion
flinkGenerateSavepointVersion
=
null
;
...
...
flink-fs-tests/src/test/java/org/apache/flink/hdfstests/ContinuousFileProcessingMigrationTest.java
浏览文件 @
6650d745
...
@@ -87,6 +87,7 @@ public class ContinuousFileProcessingMigrationTest {
...
@@ -87,6 +87,7 @@ public class ContinuousFileProcessingMigrationTest {
/**
/**
* TODO change this to the corresponding savepoint version to be written (e.g. {@link MigrationVersion#v1_3} for 1.3)
* TODO change this to the corresponding savepoint version to be written (e.g. {@link MigrationVersion#v1_3} for 1.3)
* TODO and remove all @Ignore annotations on write*Snapshot() methods to generate savepoints
* TODO and remove all @Ignore annotations on write*Snapshot() methods to generate savepoints
* TODO Note: You should generate the savepoint based on the release branch instead of the master.
*/
*/
private
final
MigrationVersion
flinkGenerateSavepointVersion
=
null
;
private
final
MigrationVersion
flinkGenerateSavepointVersion
=
null
;
...
...
flink-libraries/flink-cep/src/test/java/org/apache/flink/cep/operator/CEPMigrationTest.java
浏览文件 @
6650d745
...
@@ -64,6 +64,7 @@ public class CEPMigrationTest {
...
@@ -64,6 +64,7 @@ public class CEPMigrationTest {
/**
/**
* TODO change this to the corresponding savepoint version to be written (e.g. {@link MigrationVersion#v1_3} for 1.3)
* TODO change this to the corresponding savepoint version to be written (e.g. {@link MigrationVersion#v1_3} for 1.3)
* TODO and remove all @Ignore annotations on write*Snapshot() methods to generate savepoints
* TODO and remove all @Ignore annotations on write*Snapshot() methods to generate savepoints
* TODO Note: You should generate the savepoint based on the release branch instead of the master.
*/
*/
private
final
MigrationVersion
flinkGenerateSavepointVersion
=
null
;
private
final
MigrationVersion
flinkGenerateSavepointVersion
=
null
;
...
...
flink-streaming-java/src/test/java/org/apache/flink/streaming/runtime/operators/windowing/WindowOperatorMigrationTest.java
浏览文件 @
6650d745
...
@@ -100,6 +100,7 @@ public class WindowOperatorMigrationTest {
...
@@ -100,6 +100,7 @@ public class WindowOperatorMigrationTest {
/**
/**
* TODO change this to the corresponding savepoint version to be written (e.g. {@link MigrationVersion#v1_3} for 1.3)
* TODO change this to the corresponding savepoint version to be written (e.g. {@link MigrationVersion#v1_3} for 1.3)
* TODO and remove all @Ignore annotations on write*Snapshot() methods to generate savepoints
* TODO and remove all @Ignore annotations on write*Snapshot() methods to generate savepoints
* TODO Note: You should generate the savepoint based on the release branch instead of the master.
*/
*/
private
final
MigrationVersion
flinkGenerateSavepointVersion
=
null
;
private
final
MigrationVersion
flinkGenerateSavepointVersion
=
null
;
...
...
flink-tests/src/test/java/org/apache/flink/test/checkpointing/utils/LegacyStatefulJobSavepointMigrationITCase.java
浏览文件 @
6650d745
...
@@ -82,6 +82,7 @@ public class LegacyStatefulJobSavepointMigrationITCase extends SavepointMigratio
...
@@ -82,6 +82,7 @@ public class LegacyStatefulJobSavepointMigrationITCase extends SavepointMigratio
* TODO to generate savepoints for a specific Flink version / backend type,
* TODO to generate savepoints for a specific Flink version / backend type,
* TODO change these values accordingly, e.g. to generate for 1.3 with RocksDB,
* TODO change these values accordingly, e.g. to generate for 1.3 with RocksDB,
* TODO set as (MigrationVersion.v1_3, StateBackendLoader.ROCKSDB_STATE_BACKEND_NAME)
* TODO set as (MigrationVersion.v1_3, StateBackendLoader.ROCKSDB_STATE_BACKEND_NAME)
* TODO Note: You should generate the savepoint based on the release branch instead of the master.
*/
*/
private
final
MigrationVersion
flinkGenerateSavepointVersion
=
MigrationVersion
.
v1_4
;
private
final
MigrationVersion
flinkGenerateSavepointVersion
=
MigrationVersion
.
v1_4
;
private
final
String
flinkGenerateSavepointBackendType
=
StateBackendLoader
.
ROCKSDB_STATE_BACKEND_NAME
;
private
final
String
flinkGenerateSavepointBackendType
=
StateBackendLoader
.
ROCKSDB_STATE_BACKEND_NAME
;
...
...
flink-tests/src/test/java/org/apache/flink/test/checkpointing/utils/StatefulJobSavepointMigrationITCase.java
浏览文件 @
6650d745
...
@@ -72,6 +72,7 @@ public class StatefulJobSavepointMigrationITCase extends SavepointMigrationTestB
...
@@ -72,6 +72,7 @@ public class StatefulJobSavepointMigrationITCase extends SavepointMigrationTestB
}
}
// TODO change this to PERFORM_SAVEPOINT to regenerate binary savepoints
// TODO change this to PERFORM_SAVEPOINT to regenerate binary savepoints
// TODO Note: You should generate the savepoint based on the release branch instead of the master.
private
final
ExecutionMode
executionMode
=
ExecutionMode
.
VERIFY_SAVEPOINT
;
private
final
ExecutionMode
executionMode
=
ExecutionMode
.
VERIFY_SAVEPOINT
;
@Parameterized
.
Parameters
(
name
=
"Migrate Savepoint / Backend: {0}"
)
@Parameterized
.
Parameters
(
name
=
"Migrate Savepoint / Backend: {0}"
)
...
...
flink-tests/src/test/java/org/apache/flink/test/checkpointing/utils/StatefulJobWBroadcastStateMigrationITCase.java
浏览文件 @
6650d745
...
@@ -56,6 +56,7 @@ public class StatefulJobWBroadcastStateMigrationITCase extends SavepointMigratio
...
@@ -56,6 +56,7 @@ public class StatefulJobWBroadcastStateMigrationITCase extends SavepointMigratio
private
static
final
int
NUM_SOURCE_ELEMENTS
=
4
;
private
static
final
int
NUM_SOURCE_ELEMENTS
=
4
;
// TODO change this to PERFORM_SAVEPOINT to regenerate binary savepoints
// TODO change this to PERFORM_SAVEPOINT to regenerate binary savepoints
// TODO Note: You should generate the savepoint based on the release branch instead of the master.
private
final
StatefulJobSavepointMigrationITCase
.
ExecutionMode
executionMode
=
private
final
StatefulJobSavepointMigrationITCase
.
ExecutionMode
executionMode
=
StatefulJobSavepointMigrationITCase
.
ExecutionMode
.
VERIFY_SAVEPOINT
;
StatefulJobSavepointMigrationITCase
.
ExecutionMode
.
VERIFY_SAVEPOINT
;
...
...
flink-tests/src/test/java/org/apache/flink/test/migration/TypeSerializerSnapshotMigrationITCase.java
浏览文件 @
6650d745
...
@@ -73,6 +73,7 @@ public class TypeSerializerSnapshotMigrationITCase extends SavepointMigrationTes
...
@@ -73,6 +73,7 @@ public class TypeSerializerSnapshotMigrationITCase extends SavepointMigrationTes
}
}
// TODO change this to PERFORM_SAVEPOINT to regenerate binary savepoints
// TODO change this to PERFORM_SAVEPOINT to regenerate binary savepoints
// TODO Note: You should generate the savepoint based on the release branch instead of the master.
private
final
ExecutionMode
executionMode
=
ExecutionMode
.
VERIFY_SAVEPOINT
;
private
final
ExecutionMode
executionMode
=
ExecutionMode
.
VERIFY_SAVEPOINT
;
@Parameterized
.
Parameters
(
name
=
"Migrate Savepoint / Backend: {0}"
)
@Parameterized
.
Parameters
(
name
=
"Migrate Savepoint / Backend: {0}"
)
...
...
flink-tests/src/test/scala/org/apache/flink/api/scala/migration/StatefulJobSavepointMigrationITCase.scala
浏览文件 @
6650d745
...
@@ -66,6 +66,7 @@ object StatefulJobSavepointMigrationITCase {
...
@@ -66,6 +66,7 @@ object StatefulJobSavepointMigrationITCase {
// TODO to generate savepoints for a specific Flink version / backend type,
// TODO to generate savepoints for a specific Flink version / backend type,
// TODO change these values accordingly, e.g. to generate for 1.3 with RocksDB,
// TODO change these values accordingly, e.g. to generate for 1.3 with RocksDB,
// TODO set as (MigrationVersion.v1_3, StateBackendLoader.ROCKSDB_STATE_BACKEND_NAME)
// TODO set as (MigrationVersion.v1_3, StateBackendLoader.ROCKSDB_STATE_BACKEND_NAME)
// TODO Note: You should generate the savepoint based on the release branch instead of the master.
val
GENERATE_SAVEPOINT_VER
:
MigrationVersion
=
MigrationVersion
.
v1_4
val
GENERATE_SAVEPOINT_VER
:
MigrationVersion
=
MigrationVersion
.
v1_4
val
GENERATE_SAVEPOINT_BACKEND_TYPE
:
String
=
StateBackendLoader
.
ROCKSDB_STATE_BACKEND_NAME
val
GENERATE_SAVEPOINT_BACKEND_TYPE
:
String
=
StateBackendLoader
.
ROCKSDB_STATE_BACKEND_NAME
...
...
flink-tests/src/test/scala/org/apache/flink/api/scala/migration/StatefulJobWBroadcastStateMigrationITCase.scala
浏览文件 @
6650d745
...
@@ -64,6 +64,7 @@ object StatefulJobWBroadcastStateMigrationITCase {
...
@@ -64,6 +64,7 @@ object StatefulJobWBroadcastStateMigrationITCase {
// TODO to generate savepoints for a specific Flink version / backend type,
// TODO to generate savepoints for a specific Flink version / backend type,
// TODO change these values accordingly, e.g. to generate for 1.3 with RocksDB,
// TODO change these values accordingly, e.g. to generate for 1.3 with RocksDB,
// TODO set as (MigrationVersion.v1_3, StateBackendLoader.ROCKSDB_STATE_BACKEND_NAME)
// TODO set as (MigrationVersion.v1_3, StateBackendLoader.ROCKSDB_STATE_BACKEND_NAME)
// TODO Note: You should generate the savepoint based on the release branch instead of the master.
val
GENERATE_SAVEPOINT_VER
:
MigrationVersion
=
MigrationVersion
.
v1_7
val
GENERATE_SAVEPOINT_VER
:
MigrationVersion
=
MigrationVersion
.
v1_7
val
GENERATE_SAVEPOINT_BACKEND_TYPE
:
String
=
StateBackendLoader
.
MEMORY_STATE_BACKEND_NAME
val
GENERATE_SAVEPOINT_BACKEND_TYPE
:
String
=
StateBackendLoader
.
MEMORY_STATE_BACKEND_NAME
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录