Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mobvista-dmp
Project
Overview
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
王金锋
mobvista-dmp
Commits
02a43e98
Commit
02a43e98
authored
Sep 02, 2021
by
WangJinfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update RTDmpFetch poolSize = 50
parent
4589cb76
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
rtdmp_fetch_v2.sh
azkaban/rtdmp/rtdmp_fetch_v2.sh
+1
-1
RTDmpFetch.java
src/main/java/mobvista/dmp/datasource/rtdmp/RTDmpFetch.java
+2
-2
No files found.
azkaban/rtdmp/rtdmp_fetch_v2.sh
View file @
02a43e98
...
...
@@ -11,7 +11,7 @@ if [[ ! -d "/home/hadoop/wangjf/RTDmp/data" ]]; then
mkdir
-p
/home/hadoop/wangjf/RTDmp/data
fi
java
-cp
../
${
JAR
}
mobvista.dmp.datasource.rtdmp.RTDmpFetch
"
${
start_time
}
"
"
${
end_time
}
"
java
-
Xmx4096m
-
cp
../
${
JAR
}
mobvista.dmp.datasource.rtdmp.RTDmpFetch
"
${
start_time
}
"
"
${
end_time
}
"
if
[[
$?
-ne
0
]]
;
then
exit
255
...
...
src/main/java/mobvista/dmp/datasource/rtdmp/RTDmpFetch.java
View file @
02a43e98
...
...
@@ -87,9 +87,9 @@ public class RTDmpFetch {
ThreadFactory
threadFactory
=
new
ThreadFactoryBuilder
()
.
setNameFormat
(
"RTDmpFetch-%d"
).
build
();
ExecutorService
pool
=
new
ThreadPoolExecutor
(
50
,
8
0
,
ExecutorService
pool
=
new
ThreadPoolExecutor
(
40
,
6
0
,
120L
,
TimeUnit
.
MILLISECONDS
,
new
LinkedBlockingQueue
<>(
64
),
threadFactory
,
new
ThreadPoolExecutor
.
AbortPolicy
());
new
LinkedBlockingQueue
<>(
128
),
threadFactory
,
new
ThreadPoolExecutor
.
AbortPolicy
());
for
(
int
i
=
0
;
i
<
jsonArray
.
size
();
i
++)
{
int
finalI
=
i
;
...
...
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