alexott commented on a change in pull request #3797:
URL: https://github.com/apache/zeppelin/pull/3797#discussion_r438859180



##########
File path: 
flink/interpreter/src/main/scala/org/apache/zeppelin/flink/FlinkScalaInterpreter.scala
##########
@@ -829,6 +835,12 @@ class FlinkScalaInterpreter(val properties: Properties) {
       }
     }
   }
+
+  private def replaceYarnAddress(webURL: String, yarnAddress: String): String 
= {
+    val pattern = "(http://.*:\\d+)(/.*)".r

Review comment:
       I maybe would change it to the to parsing of `webURL` into URL or URI, 
and construction of the new object, but with changed components. 
   Also it won't handle `https` schema, etc.




----------------------------------------------------------------
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.

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


Reply via email to