Github user vanzin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/2497#discussion_r18419133
  
    --- Diff: core/src/main/scala/org/apache/spark/ui/JettyUtils.scala ---
    @@ -148,14 +146,19 @@ private[spark] object JettyUtils extends Logging {
               holder.setClassName(filter)
               // Get any parameters for each filter
               val paramName = "spark." + filter + ".params"
    -          val params = conf.get(paramName, 
"").split(',').map(_.trim()).toSet
    -          params.foreach {
    +          val params = conf.get(paramName, 
"").split(',').map(_.trim()).foreach {
    --- End diff --
    
    I tried that before, but scalac throws a fit:
    
        [error] 
/work/apache/spark/core/src/main/scala/org/apache/spark/ui/JettyUtils.scala:149:
 missing parameter type for expanded function
        [error] The argument types of an anonymous function must be fully 
known. (SLS 8.5)
        [error] Expected type was: ? => ?
        [error]           val params = conf.get(paramName, 
"").split(',').map(_.trim()).toSet.foreach {



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to