Commit eaf67527 authored by 赵建伟's avatar 赵建伟

update codes

parent d0fabd6d
...@@ -31,7 +31,7 @@ $JAR_DIR/flink-monitor-1.0-SNAPSHOT.jar \ ...@@ -31,7 +31,7 @@ $JAR_DIR/flink-monitor-1.0-SNAPSHOT.jar \
--retryInteral 3000 \ --retryInteral 3000 \
--checkpointPath 'hdfs://bj-gmei-hdfs/user/data/flink/flink-monitor/checkpoint' \ --checkpointPath 'hdfs://bj-gmei-hdfs/user/data/flink/flink-monitor/checkpoint' \
--parallelism 12 \ --parallelism 12 \
--startTime '2020-03-29 15:00:00' \ --startTime '2020-03-29 15:08:00' \
>> /data/log/flink-monitor/flink-monitor.out 2>&1 & >> /data/log/flink-monitor/flink-monitor.out 2>&1 &
tail -10f /data/log/flink-monitor/flink-monitor.out tail -10f /data/log/flink-monitor/flink-monitor.out
......
...@@ -63,7 +63,7 @@ public class SimpleCacheService<K, V> extends CacheService<K, V> { ...@@ -63,7 +63,7 @@ public class SimpleCacheService<K, V> extends CacheService<K, V> {
cache = CacheBuilder cache = CacheBuilder
.newBuilder() .newBuilder()
.maximumSize(maximumSize) .maximumSize(maximumSize)
.expireAfterWrite(expireAfterWrite, TimeUnit.MILLISECONDS) .expireAfterWrite(expireAfterWrite, TimeUnit.SECONDS)
.build(); .build();
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment