spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andrewor14 <...@git.apache.org>
Subject [GitHub] spark pull request: [SPARK-2458] Make failed application log visib...
Date Sat, 20 Dec 2014 02:42:09 GMT
Github user andrewor14 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/3467#discussion_r22139289
  
    --- Diff: core/src/main/scala/org/apache/spark/deploy/history/FsHistoryProvider.scala
---
    @@ -180,14 +176,15 @@ private[history] class FsHistoryProvider(conf: SparkConf) extends
ApplicationHis
                   appListener.startTime.getOrElse(-1L),
                   appListener.endTime.getOrElse(-1L),
                   getModificationTime(dir),
    -              appListener.sparkUser.getOrElse(NOT_STARTED)))
    +              appListener.sparkUser.getOrElse(NOT_STARTED),
    +              !fs.isFile(new Path(dir.getPath(), EventLoggingListener.APPLICATION_COMPLETE))))
               } catch {
                 case e: Exception =>
                   logInfo(s"Failed to load application log data from $dir.", e)
                   None
               }
             }
    -        .sortBy { info => -info.endTime }
    +        .sortBy { info => (-info.endTime, -info.startTime) }
    --- End diff --
    
    what does this mean? Which column does it sort by?


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Mime
View raw message