diff options
author | Karen Feng <karenfeng.us@gmail.com> | 2013-07-11 17:31:59 -0700 |
---|---|---|
committer | Karen Feng <karenfeng.us@gmail.com> | 2013-07-11 17:31:59 -0700 |
commit | 5c67ca027834582bcd6cdd55baee5fd74e743a71 (patch) | |
tree | cb4cc958a6f91ae37b8543afbed2c288303f330b /core/src/main | |
parent | 6d054487bf4c9e9aa9033187f73e4e9d8366bc37 (diff) | |
download | spark-5c67ca027834582bcd6cdd55baee5fd74e743a71.tar.gz spark-5c67ca027834582bcd6cdd55baee5fd74e743a71.tar.bz2 spark-5c67ca027834582bcd6cdd55baee5fd74e743a71.zip |
Remove "Bytes" in lieu of String notation
Diffstat (limited to 'core/src/main')
-rw-r--r-- | core/src/main/scala/spark/deploy/worker/ui/WorkerWebUI.scala | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/core/src/main/scala/spark/deploy/worker/ui/WorkerWebUI.scala b/core/src/main/scala/spark/deploy/worker/ui/WorkerWebUI.scala index 4e7f86d77a..ccd55c1ce4 100644 --- a/core/src/main/scala/spark/deploy/worker/ui/WorkerWebUI.scala +++ b/core/src/main/scala/spark/deploy/worker/ui/WorkerWebUI.scala @@ -95,24 +95,22 @@ class WorkerWebUI(val worker: Worker, val workDir: File, requestedPort: Option[I <a href={"?appId=%s&executorId=%s&logType=%s&offset=%s&byteLength=%s" .format(appId, executorId, logType, math.max(startByte-byteLength, 0), byteLength)}> - <button>Previous {Utils.memoryBytesToString(math.min(byteLength, startByte))} Bytes - </button> + <button>Previous {Utils.memoryBytesToString(math.min(byteLength, startByte))}</button> </a> } else { - <button disabled="disabled">Previous 0 Bytes</button> + <button disabled="disabled">Previous 0 B</button> } val nextButton = if (endByte < logLength) { <a href={"?appId=%s&executorId=%s&logType=%s&offset=%s&byteLength=%s". format(appId, executorId, logType, endByte, byteLength)}> - <button>Next {Utils.memoryBytesToString(math.min(byteLength, logLength-endByte))} Bytes - </button> + <button>Next {Utils.memoryBytesToString(math.min(byteLength, logLength-endByte))}</button> </a> } else { - <button disabled="disabled">Next 0 Bytes</button> + <button disabled="disabled">Next 0 B</button> } val content = |