Browse Source

Merge branch '1.3.2-release' of github.com:apache/incubator-dolphinscheduler into 132

pull/3/MERGE
lenboo 4 years ago
parent
commit
48dc52a09a
  1. 4
      dolphinscheduler-server/src/main/resources/worker.properties
  2. 22
      dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/log.vue
  3. 7
      script/scp-hosts.sh

4
dolphinscheduler-server/src/main/resources/worker.properties

@ -30,5 +30,5 @@
# worker listener port
#worker.listen.port: 1234
# default worker group
#worker.groups=default
# default worker group,if this worker belongs different groups,you can config the following like that `worker.groups=default,test`
worker.groups=default

22
dolphinscheduler-ui/src/js/conf/home/pages/dag/_source/formModel/log.vue

@ -303,25 +303,26 @@
color: #0097e0;
font-size: 12px;
margin-left: 10px;
i {
em {
vertical-align: middle;
}
}
.clock {
>i {
>em {
font-size: 20px;
vertical-align: middle;
transform: scale(1);
}
}
.refresh-log {
>i {
>em {
text-decoration: none;
font-size: 20px;
vertical-align: middle;
transform: scale(1);
}
&.active {
>i {
>em {
-webkit-transition-property: -webkit-transform;
-webkit-transition-duration: 1s;
-moz-transition-property: -moz-transform;
@ -368,5 +369,16 @@
}
}
}
@-webkit-keyframes rotateloading{from{-webkit-transform: rotate(0deg)}
to{-webkit-transform: rotate(360deg)}
}
@-moz-keyframes rotateloading{from{-moz-transform: rotate(0deg)}
to{-moz-transform: rotate(359deg)}
}
@-o-keyframes rotateloading{from{-o-transform: rotate(0deg)}
to{-o-transform: rotate(359deg)}
}
@keyframes rotateloading{from{transform: rotate(0deg)}
to{transform: rotate(359deg)}
}
</style>

7
script/scp-hosts.sh

@ -34,7 +34,12 @@ do
echo $workerGroup;
worker=`echo $workerGroup|awk -F':' '{print $1}'`
groupName=`echo $workerGroup|awk -F':' '{print $2}'`
if [ -z ${workersGroupMap[$worker]} ];then
workersGroupMap+=([$worker]=$groupName)
else
finalGroupName="${workersGroupMap[$worker]},$groupName"
workersGroupMap[$worker]=$finalGroupName
fi
done
@ -53,7 +58,7 @@ do
do
# if worker in workersGroupMap
if [[ "${workersGroupMap[${host}]}" ]] && [[ "${dsDir}" == "conf" ]]; then
sed -i ${txt} "s#worker.group.*#worker.group=${workersGroupMap[${host}]}#g" ${dsDir}/worker.properties
sed -i ${txt} "s#worker.groups.*#worker.groups=${workersGroupMap[${host}]}#g" ${dsDir}/worker.properties
fi
echo "start to scp $dsDir to $host/$installPath"

Loading…
Cancel
Save