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

    https://github.com/apache/spark/pull/15247#discussion_r80803313
  
    --- Diff: core/src/main/scala/org/apache/spark/ui/SparkUI.scala ---
    @@ -126,6 +126,10 @@ private[spark] class SparkUI private (
           ))
         ))
       }
    +
    +  def getApplicationInfo(appId: String): Option[ApplicationInfo] = {
    +    throw new UnsupportedOperationException()
    --- End diff --
    
    I think this would be better to return the expected result (the info if the 
id matches or a None if it doesn't) rather than throw an UnsupportedException, 
just for consistency


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