flink运行命令:
./bin/flink run -c myflink.SocketWindowWordCount tmp/my-flink-project-0.1.jar

 

保存savepoint

./bin/flink savepoint 3be198ab34a38c524a7ee805cd082038 /opt/third/flink/flink-1.7.2/tmp/

根据sp恢复 

./bin/flink run  -s /opt/third/flink/flink-1.7.2/tmp/savepoint-3be198-0dbae0624761 -c myflink.SocketWindowWordCount  tmp/my-flink-project-0.1.jar