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. 9
      script/scp-hosts.sh

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

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

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

@ -303,25 +303,26 @@
color: #0097e0; color: #0097e0;
font-size: 12px; font-size: 12px;
margin-left: 10px; margin-left: 10px;
i { em {
vertical-align: middle; vertical-align: middle;
} }
} }
.clock { .clock {
>i { >em {
font-size: 20px; font-size: 20px;
vertical-align: middle; vertical-align: middle;
transform: scale(1); transform: scale(1);
} }
} }
.refresh-log { .refresh-log {
>i { >em {
text-decoration: none;
font-size: 20px; font-size: 20px;
vertical-align: middle; vertical-align: middle;
transform: scale(1); transform: scale(1);
} }
&.active { &.active {
>i { >em {
-webkit-transition-property: -webkit-transform; -webkit-transition-property: -webkit-transform;
-webkit-transition-duration: 1s; -webkit-transition-duration: 1s;
-moz-transition-property: -moz-transform; -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> </style>

9
script/scp-hosts.sh

@ -34,7 +34,12 @@ do
echo $workerGroup; echo $workerGroup;
worker=`echo $workerGroup|awk -F':' '{print $1}'` worker=`echo $workerGroup|awk -F':' '{print $1}'`
groupName=`echo $workerGroup|awk -F':' '{print $2}'` groupName=`echo $workerGroup|awk -F':' '{print $2}'`
workersGroupMap+=([$worker]=$groupName) if [ -z ${workersGroupMap[$worker]} ];then
workersGroupMap+=([$worker]=$groupName)
else
finalGroupName="${workersGroupMap[$worker]},$groupName"
workersGroupMap[$worker]=$finalGroupName
fi
done done
@ -53,7 +58,7 @@ do
do do
# if worker in workersGroupMap # if worker in workersGroupMap
if [[ "${workersGroupMap[${host}]}" ]] && [[ "${dsDir}" == "conf" ]]; then 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 fi
echo "start to scp $dsDir to $host/$installPath" echo "start to scp $dsDir to $host/$installPath"

Loading…
Cancel
Save