wolfboys commented on code in PR #3908:
URL: 
https://github.com/apache/incubator-streampark/pull/3908#discussion_r1686397070


##########
streampark-common/src/main/scala/org/apache/streampark/common/conf/SparkVersion.scala:
##########
@@ -98,7 +107,7 @@ class SparkVersion(val sparkHome: String) extends 
Serializable with Logger {
         override def accept(out: String): Unit = {
           buffer.append(out).append("\n")
           val matcher = SPARK_VERSION_PATTERN.matcher(out)
-          if (matcher.find) {
+          if (matcher.find && StringUtils.isBlank(sparkVersion)) {

Review Comment:
   Why is it necessary to check if sparkVersion is blank?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to