Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
flink-monitor
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵建伟
flink-monitor
Commits
eaf67527
Commit
eaf67527
authored
Mar 29, 2020
by
赵建伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update codes
parent
d0fabd6d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
start.sh
bin/start.sh
+1
-1
SimpleCacheService.java
.../java/com/gmei/data/monitor/cache/SimpleCacheService.java
+1
-1
No files found.
bin/start.sh
View file @
eaf67527
...
@@ -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:0
0
:00'
\
--startTime
'2020-03-29 15:0
8
: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
...
...
src/main/java/com/gmei/data/monitor/cache/SimpleCacheService.java
View file @
eaf67527
...
@@ -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
.
MILLI
SECONDS
)
.
expireAfterWrite
(
expireAfterWrite
,
TimeUnit
.
SECONDS
)
.
build
();
.
build
();
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment