Skip to content

Commit

Permalink
fix merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
squito committed Mar 10, 2015
1 parent 0c12b50 commit c7d884f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ object AllStagesResource {
inputRecords = 0, //fix after SPARK-4874
outputBytes = stageUiData.outputBytes,
outputRecords = 0, //fix after SPARK-4874
shuffleReadBytes = stageUiData.shuffleReadBytes,
shuffleReadBytes = stageUiData.shuffleReadTotalBytes,
shuffleReadRecords = 0, //fix after SPARK-4874
shuffleWriteBytes = stageUiData.shuffleWriteBytes,
shuffleWriteRecords = 0, //fix after SPARK-4874
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package org.apache.spark.deploy.history

import java.io.{IOException, FileInputStream, FileWriter, File}
import java.net.{HttpURLConnection, URL}
import javax.servlet.http.HttpServletResponse
import javax.servlet.http.{HttpServletRequest, HttpServletResponse}

import org.apache.commons.io.{FileUtils, IOUtils}

Expand Down Expand Up @@ -154,7 +154,7 @@ class HistoryServerSuite extends FunSuite with BeforeAndAfter with Matchers with
val ui = mock[SparkUI]
val link = "/history/app1"
val info = new ApplicationHistoryInfo("app1", "app1", 0, 2, 1, "xxx", true)
when(historyServer.getApplicationList()).thenReturn(Seq(info))
when(historyServer.getApplicationList(true)).thenReturn(Seq(info))
when(ui.basePath).thenReturn(link)
when(historyServer.getProviderConfig()).thenReturn(Map[String, String]())
val page = new HistoryPage(historyServer)
Expand Down

0 comments on commit c7d884f

Please sign in to comment.