Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
byit-myth-job
Overview
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
liyuan
byit-myth-job
Commits
f4d3f688
Commit
f4d3f688
authored
Jan 13, 2021
by
huangfusuper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
重跑异常
parent
b329ac9c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
ScriptMakeUpScriptTaskCallbackRunTheLifeCycleCallback.java
...criptMakeUpScriptTaskCallbackRunTheLifeCycleCallback.java
+3
-1
LogGobbler.java
...cutor-server/src/main/java/com/byit/utils/LogGobbler.java
+1
-1
No files found.
byit-myth-core/myth-admin-core/src/main/java/com/byit/strategy/task/script/ScriptMakeUpScriptTaskCallbackRunTheLifeCycleCallback.java
View file @
f4d3f688
...
@@ -69,7 +69,9 @@ public class ScriptMakeUpScriptTaskCallbackRunTheLifeCycleCallback implements Ta
...
@@ -69,7 +69,9 @@ public class ScriptMakeUpScriptTaskCallbackRunTheLifeCycleCallback implements Ta
Map
<
String
,
String
>
publicParamMap
=
JSON
.
parseObject
(
publicParam
,
Map
.
class
);
Map
<
String
,
String
>
publicParamMap
=
JSON
.
parseObject
(
publicParam
,
Map
.
class
);
String
runParam
=
jobTaskSchedule
.
getRunParam
();
String
runParam
=
jobTaskSchedule
.
getRunParam
();
RunParamWrapped
runParamWrapped
=
JSON
.
parseObject
(
runParam
,
RunParamWrapped
.
class
);
RunParamWrapped
runParamWrapped
=
JSON
.
parseObject
(
runParam
,
RunParamWrapped
.
class
);
if
(
runParamWrapped
==
null
)
{
runParamWrapped
=
new
RunParamWrapped
();
}
String
privateParam
=
runParamWrapped
.
getPrivateParam
();
String
privateParam
=
runParamWrapped
.
getPrivateParam
();
ScriptParamAndPlaceholderDto
scriptParamAndPlaceholderDto
=
JSON
.
parseObject
(
privateParam
,
ScriptParamAndPlaceholderDto
.
class
);
ScriptParamAndPlaceholderDto
scriptParamAndPlaceholderDto
=
JSON
.
parseObject
(
privateParam
,
ScriptParamAndPlaceholderDto
.
class
);
if
(
scriptParamAndPlaceholderDto
==
null
)
{
if
(
scriptParamAndPlaceholderDto
==
null
)
{
...
...
byit-myth-executor/myth-executor-server/src/main/java/com/byit/utils/LogGobbler.java
View file @
f4d3f688
...
@@ -50,7 +50,7 @@ public class LogGobbler extends Thread {
...
@@ -50,7 +50,7 @@ public class LogGobbler extends Thread {
Long
aLong
=
stringRedisTemplate
.
opsForList
().
rightPush
(
runKey
,
JSON
.
toJSONString
(
runLog
,
WriteClassName
));
Long
aLong
=
stringRedisTemplate
.
opsForList
().
rightPush
(
runKey
,
JSON
.
toJSONString
(
runLog
,
WriteClassName
));
log
.
info
(
"-------{}-------"
,
aLong
);
log
.
info
(
"-------{}-------"
,
aLong
);
}
}
printLog
(
line
);
//
printLog(line);
}
}
}
catch
(
final
IOException
e
)
{
}
catch
(
final
IOException
e
)
{
log
.
error
(
"Error reading from logging stream:"
,
e
);
log
.
error
(
"Error reading from logging stream:"
,
e
);
...
...
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