aboutsummaryrefslogtreecommitdiff
path: root/core/src/test/resources/HistoryServerExpectations/stage_task_list_w__sortBy_short_names__runtime_expectation.json
diff options
context:
space:
mode:
authorImran Rashid <irashid@cloudera.com>2015-05-08 16:54:32 +0100
committerPatrick Wendell <patrick@databricks.com>2015-05-08 16:54:32 +0100
commitc796be70f36e262b6a2ce75924bd970f40bf4045 (patch)
tree4899b2784c1aed2b16ed065496f9aa30f6094408 /core/src/test/resources/HistoryServerExpectations/stage_task_list_w__sortBy_short_names__runtime_expectation.json
parentebff7327af5efa9f57c605284de4fae6b050ae0f (diff)
downloadspark-c796be70f36e262b6a2ce75924bd970f40bf4045.tar.gz
spark-c796be70f36e262b6a2ce75924bd970f40bf4045.tar.bz2
spark-c796be70f36e262b6a2ce75924bd970f40bf4045.zip
[SPARK-3454] separate json endpoints for data in the UI
Exposes data available in the UI as json over http. Key points: * new endpoints, handled independently of existing XyzPage classes. Root entrypoint is `JsonRootResource` * Uses jersey + jackson for routing & converting POJOs into json * tests against known results in `HistoryServerSuite` * also fixes some minor issues w/ the UI -- synchronizing on access to `StorageListener` & `StorageStatusListener`, and fixing some inconsistencies w/ the way we handle retained jobs & stages. Author: Imran Rashid <irashid@cloudera.com> Closes #5940 from squito/SPARK-3454_better_test_files and squashes the following commits: 1a72ed6 [Imran Rashid] rats 85fdb3e [Imran Rashid] Merge branch 'no_php' into SPARK-3454 1fc65b0 [Imran Rashid] Revert "Revert "[SPARK-3454] separate json endpoints for data in the UI"" 1276900 [Imran Rashid] get rid of giant event file, replace w/ smaller one; check both shuffle read & shuffle write 4e12013 [Imran Rashid] just use test case name for expectation file name 863ef64 [Imran Rashid] rename json files to avoid strange file names and not look like php
Diffstat (limited to 'core/src/test/resources/HistoryServerExpectations/stage_task_list_w__sortBy_short_names__runtime_expectation.json')
-rw-r--r--core/src/test/resources/HistoryServerExpectations/stage_task_list_w__sortBy_short_names__runtime_expectation.json561
1 files changed, 561 insertions, 0 deletions
diff --git a/core/src/test/resources/HistoryServerExpectations/stage_task_list_w__sortBy_short_names__runtime_expectation.json b/core/src/test/resources/HistoryServerExpectations/stage_task_list_w__sortBy_short_names__runtime_expectation.json
new file mode 100644
index 0000000000..72fe017e9f
--- /dev/null
+++ b/core/src/test/resources/HistoryServerExpectations/stage_task_list_w__sortBy_short_names__runtime_expectation.json
@@ -0,0 +1,561 @@
+[ {
+ "taskId" : 40,
+ "index" : 40,
+ "attempt" : 0,
+ "launchTime" : "2015-05-06T13:03:07.197GMT",
+ "executorId" : "driver",
+ "host" : "localhost",
+ "taskLocality" : "PROCESS_LOCAL",
+ "speculative" : false,
+ "accumulatorUpdates" : [ ],
+ "taskMetrics" : {
+ "executorDeserializeTime" : 4,
+ "executorRunTime" : 14,
+ "resultSize" : 2065,
+ "jvmGcTime" : 0,
+ "resultSerializationTime" : 0,
+ "memoryBytesSpilled" : 0,
+ "diskBytesSpilled" : 0,
+ "inputMetrics" : {
+ "bytesRead" : 70564,
+ "recordsRead" : 10000
+ },
+ "shuffleWriteMetrics" : {
+ "bytesWritten" : 1710,
+ "writeTime" : 94792,
+ "recordsWritten" : 10
+ }
+ }
+}, {
+ "taskId" : 86,
+ "index" : 86,
+ "attempt" : 0,
+ "launchTime" : "2015-05-06T13:03:07.374GMT",
+ "executorId" : "driver",
+ "host" : "localhost",
+ "taskLocality" : "PROCESS_LOCAL",
+ "speculative" : false,
+ "accumulatorUpdates" : [ ],
+ "taskMetrics" : {
+ "executorDeserializeTime" : 3,
+ "executorRunTime" : 16,
+ "resultSize" : 2065,
+ "jvmGcTime" : 0,
+ "resultSerializationTime" : 1,
+ "memoryBytesSpilled" : 0,
+ "diskBytesSpilled" : 0,
+ "inputMetrics" : {
+ "bytesRead" : 70564,
+ "recordsRead" : 10000
+ },
+ "shuffleWriteMetrics" : {
+ "bytesWritten" : 1710,
+ "writeTime" : 95848,
+ "recordsWritten" : 10
+ }
+ }
+}, {
+ "taskId" : 41,
+ "index" : 41,
+ "attempt" : 0,
+ "launchTime" : "2015-05-06T13:03:07.200GMT",
+ "executorId" : "driver",
+ "host" : "localhost",
+ "taskLocality" : "PROCESS_LOCAL",
+ "speculative" : false,
+ "accumulatorUpdates" : [ ],
+ "taskMetrics" : {
+ "executorDeserializeTime" : 2,
+ "executorRunTime" : 16,
+ "resultSize" : 2065,
+ "jvmGcTime" : 0,
+ "resultSerializationTime" : 0,
+ "memoryBytesSpilled" : 0,
+ "diskBytesSpilled" : 0,
+ "inputMetrics" : {
+ "bytesRead" : 70564,
+ "recordsRead" : 10000
+ },
+ "shuffleWriteMetrics" : {
+ "bytesWritten" : 1710,
+ "writeTime" : 90765,
+ "recordsWritten" : 10
+ }
+ }
+}, {
+ "taskId" : 68,
+ "index" : 68,
+ "attempt" : 0,
+ "launchTime" : "2015-05-06T13:03:07.306GMT",
+ "executorId" : "driver",
+ "host" : "localhost",
+ "taskLocality" : "PROCESS_LOCAL",
+ "speculative" : false,
+ "accumulatorUpdates" : [ ],
+ "taskMetrics" : {
+ "executorDeserializeTime" : 2,
+ "executorRunTime" : 16,
+ "resultSize" : 2065,
+ "jvmGcTime" : 0,
+ "resultSerializationTime" : 0,
+ "memoryBytesSpilled" : 0,
+ "diskBytesSpilled" : 0,
+ "inputMetrics" : {
+ "bytesRead" : 70564,
+ "recordsRead" : 10000
+ },
+ "shuffleWriteMetrics" : {
+ "bytesWritten" : 1710,
+ "writeTime" : 101750,
+ "recordsWritten" : 10
+ }
+ }
+}, {
+ "taskId" : 58,
+ "index" : 58,
+ "attempt" : 0,
+ "launchTime" : "2015-05-06T13:03:07.263GMT",
+ "executorId" : "driver",
+ "host" : "localhost",
+ "taskLocality" : "PROCESS_LOCAL",
+ "speculative" : false,
+ "accumulatorUpdates" : [ ],
+ "taskMetrics" : {
+ "executorDeserializeTime" : 3,
+ "executorRunTime" : 16,
+ "resultSize" : 2065,
+ "jvmGcTime" : 0,
+ "resultSerializationTime" : 0,
+ "memoryBytesSpilled" : 0,
+ "diskBytesSpilled" : 0,
+ "inputMetrics" : {
+ "bytesRead" : 70564,
+ "recordsRead" : 10000
+ },
+ "shuffleWriteMetrics" : {
+ "bytesWritten" : 1710,
+ "writeTime" : 97521,
+ "recordsWritten" : 10
+ }
+ }
+}, {
+ "taskId" : 43,
+ "index" : 43,
+ "attempt" : 0,
+ "launchTime" : "2015-05-06T13:03:07.204GMT",
+ "executorId" : "driver",
+ "host" : "localhost",
+ "taskLocality" : "PROCESS_LOCAL",
+ "speculative" : false,
+ "accumulatorUpdates" : [ ],
+ "taskMetrics" : {
+ "executorDeserializeTime" : 2,
+ "executorRunTime" : 16,
+ "resultSize" : 2065,
+ "jvmGcTime" : 0,
+ "resultSerializationTime" : 0,
+ "memoryBytesSpilled" : 0,
+ "diskBytesSpilled" : 0,
+ "inputMetrics" : {
+ "bytesRead" : 70564,
+ "recordsRead" : 10000
+ },
+ "shuffleWriteMetrics" : {
+ "bytesWritten" : 1710,
+ "writeTime" : 171516,
+ "recordsWritten" : 10
+ }
+ }
+}, {
+ "taskId" : 57,
+ "index" : 57,
+ "attempt" : 0,
+ "launchTime" : "2015-05-06T13:03:07.257GMT",
+ "executorId" : "driver",
+ "host" : "localhost",
+ "taskLocality" : "PROCESS_LOCAL",
+ "speculative" : false,
+ "accumulatorUpdates" : [ ],
+ "taskMetrics" : {
+ "executorDeserializeTime" : 3,
+ "executorRunTime" : 16,
+ "resultSize" : 2065,
+ "jvmGcTime" : 0,
+ "resultSerializationTime" : 0,
+ "memoryBytesSpilled" : 0,
+ "diskBytesSpilled" : 0,
+ "inputMetrics" : {
+ "bytesRead" : 70564,
+ "recordsRead" : 10000
+ },
+ "shuffleWriteMetrics" : {
+ "bytesWritten" : 1710,
+ "writeTime" : 96849,
+ "recordsWritten" : 10
+ }
+ }
+}, {
+ "taskId" : 59,
+ "index" : 59,
+ "attempt" : 0,
+ "launchTime" : "2015-05-06T13:03:07.265GMT",
+ "executorId" : "driver",
+ "host" : "localhost",
+ "taskLocality" : "PROCESS_LOCAL",
+ "speculative" : false,
+ "accumulatorUpdates" : [ ],
+ "taskMetrics" : {
+ "executorDeserializeTime" : 3,
+ "executorRunTime" : 17,
+ "resultSize" : 2065,
+ "jvmGcTime" : 0,
+ "resultSerializationTime" : 0,
+ "memoryBytesSpilled" : 0,
+ "diskBytesSpilled" : 0,
+ "inputMetrics" : {
+ "bytesRead" : 70564,
+ "recordsRead" : 10000
+ },
+ "shuffleWriteMetrics" : {
+ "bytesWritten" : 1710,
+ "writeTime" : 100753,
+ "recordsWritten" : 10
+ }
+ }
+}, {
+ "taskId" : 32,
+ "index" : 32,
+ "attempt" : 0,
+ "launchTime" : "2015-05-06T13:03:07.148GMT",
+ "executorId" : "driver",
+ "host" : "localhost",
+ "taskLocality" : "PROCESS_LOCAL",
+ "speculative" : false,
+ "accumulatorUpdates" : [ ],
+ "taskMetrics" : {
+ "executorDeserializeTime" : 3,
+ "executorRunTime" : 17,
+ "resultSize" : 2065,
+ "jvmGcTime" : 0,
+ "resultSerializationTime" : 0,
+ "memoryBytesSpilled" : 0,
+ "diskBytesSpilled" : 0,
+ "inputMetrics" : {
+ "bytesRead" : 70564,
+ "recordsRead" : 10000
+ },
+ "shuffleWriteMetrics" : {
+ "bytesWritten" : 1710,
+ "writeTime" : 89603,
+ "recordsWritten" : 10
+ }
+ }
+}, {
+ "taskId" : 87,
+ "index" : 87,
+ "attempt" : 0,
+ "launchTime" : "2015-05-06T13:03:07.374GMT",
+ "executorId" : "driver",
+ "host" : "localhost",
+ "taskLocality" : "PROCESS_LOCAL",
+ "speculative" : false,
+ "accumulatorUpdates" : [ ],
+ "taskMetrics" : {
+ "executorDeserializeTime" : 12,
+ "executorRunTime" : 17,
+ "resultSize" : 2065,
+ "jvmGcTime" : 0,
+ "resultSerializationTime" : 0,
+ "memoryBytesSpilled" : 0,
+ "diskBytesSpilled" : 0,
+ "inputMetrics" : {
+ "bytesRead" : 70564,
+ "recordsRead" : 10000
+ },
+ "shuffleWriteMetrics" : {
+ "bytesWritten" : 1710,
+ "writeTime" : 102159,
+ "recordsWritten" : 10
+ }
+ }
+}, {
+ "taskId" : 99,
+ "index" : 99,
+ "attempt" : 0,
+ "launchTime" : "2015-05-06T13:03:07.426GMT",
+ "executorId" : "driver",
+ "host" : "localhost",
+ "taskLocality" : "PROCESS_LOCAL",
+ "speculative" : false,
+ "accumulatorUpdates" : [ ],
+ "taskMetrics" : {
+ "executorDeserializeTime" : 2,
+ "executorRunTime" : 17,
+ "resultSize" : 2065,
+ "jvmGcTime" : 0,
+ "resultSerializationTime" : 0,
+ "memoryBytesSpilled" : 0,
+ "diskBytesSpilled" : 0,
+ "inputMetrics" : {
+ "bytesRead" : 70565,
+ "recordsRead" : 10000
+ },
+ "shuffleWriteMetrics" : {
+ "bytesWritten" : 1710,
+ "writeTime" : 133964,
+ "recordsWritten" : 10
+ }
+ }
+}, {
+ "taskId" : 63,
+ "index" : 63,
+ "attempt" : 0,
+ "launchTime" : "2015-05-06T13:03:07.276GMT",
+ "executorId" : "driver",
+ "host" : "localhost",
+ "taskLocality" : "PROCESS_LOCAL",
+ "speculative" : false,
+ "accumulatorUpdates" : [ ],
+ "taskMetrics" : {
+ "executorDeserializeTime" : 20,
+ "executorRunTime" : 17,
+ "resultSize" : 2065,
+ "jvmGcTime" : 5,
+ "resultSerializationTime" : 0,
+ "memoryBytesSpilled" : 0,
+ "diskBytesSpilled" : 0,
+ "inputMetrics" : {
+ "bytesRead" : 70564,
+ "recordsRead" : 10000
+ },
+ "shuffleWriteMetrics" : {
+ "bytesWritten" : 1710,
+ "writeTime" : 102779,
+ "recordsWritten" : 10
+ }
+ }
+}, {
+ "taskId" : 90,
+ "index" : 90,
+ "attempt" : 0,
+ "launchTime" : "2015-05-06T13:03:07.385GMT",
+ "executorId" : "driver",
+ "host" : "localhost",
+ "taskLocality" : "PROCESS_LOCAL",
+ "speculative" : false,
+ "accumulatorUpdates" : [ ],
+ "taskMetrics" : {
+ "executorDeserializeTime" : 2,
+ "executorRunTime" : 17,
+ "resultSize" : 2065,
+ "jvmGcTime" : 0,
+ "resultSerializationTime" : 0,
+ "memoryBytesSpilled" : 0,
+ "diskBytesSpilled" : 0,
+ "inputMetrics" : {
+ "bytesRead" : 70564,
+ "recordsRead" : 10000
+ },
+ "shuffleWriteMetrics" : {
+ "bytesWritten" : 1710,
+ "writeTime" : 98472,
+ "recordsWritten" : 10
+ }
+ }
+}, {
+ "taskId" : 39,
+ "index" : 39,
+ "attempt" : 0,
+ "launchTime" : "2015-05-06T13:03:07.180GMT",
+ "executorId" : "driver",
+ "host" : "localhost",
+ "taskLocality" : "PROCESS_LOCAL",
+ "speculative" : false,
+ "accumulatorUpdates" : [ ],
+ "taskMetrics" : {
+ "executorDeserializeTime" : 2,
+ "executorRunTime" : 17,
+ "resultSize" : 2065,
+ "jvmGcTime" : 0,
+ "resultSerializationTime" : 0,
+ "memoryBytesSpilled" : 0,
+ "diskBytesSpilled" : 0,
+ "inputMetrics" : {
+ "bytesRead" : 70564,
+ "recordsRead" : 10000
+ },
+ "shuffleWriteMetrics" : {
+ "bytesWritten" : 1710,
+ "writeTime" : 98748,
+ "recordsWritten" : 10
+ }
+ }
+}, {
+ "taskId" : 42,
+ "index" : 42,
+ "attempt" : 0,
+ "launchTime" : "2015-05-06T13:03:07.203GMT",
+ "executorId" : "driver",
+ "host" : "localhost",
+ "taskLocality" : "PROCESS_LOCAL",
+ "speculative" : false,
+ "accumulatorUpdates" : [ ],
+ "taskMetrics" : {
+ "executorDeserializeTime" : 10,
+ "executorRunTime" : 17,
+ "resultSize" : 2065,
+ "jvmGcTime" : 0,
+ "resultSerializationTime" : 0,
+ "memoryBytesSpilled" : 0,
+ "diskBytesSpilled" : 0,
+ "inputMetrics" : {
+ "bytesRead" : 70564,
+ "recordsRead" : 10000
+ },
+ "shuffleWriteMetrics" : {
+ "bytesWritten" : 1710,
+ "writeTime" : 103713,
+ "recordsWritten" : 10
+ }
+ }
+}, {
+ "taskId" : 51,
+ "index" : 51,
+ "attempt" : 0,
+ "launchTime" : "2015-05-06T13:03:07.242GMT",
+ "executorId" : "driver",
+ "host" : "localhost",
+ "taskLocality" : "PROCESS_LOCAL",
+ "speculative" : false,
+ "accumulatorUpdates" : [ ],
+ "taskMetrics" : {
+ "executorDeserializeTime" : 2,
+ "executorRunTime" : 17,
+ "resultSize" : 2065,
+ "jvmGcTime" : 0,
+ "resultSerializationTime" : 0,
+ "memoryBytesSpilled" : 0,
+ "diskBytesSpilled" : 0,
+ "inputMetrics" : {
+ "bytesRead" : 70564,
+ "recordsRead" : 10000
+ },
+ "shuffleWriteMetrics" : {
+ "bytesWritten" : 1710,
+ "writeTime" : 96013,
+ "recordsWritten" : 10
+ }
+ }
+}, {
+ "taskId" : 50,
+ "index" : 50,
+ "attempt" : 0,
+ "launchTime" : "2015-05-06T13:03:07.240GMT",
+ "executorId" : "driver",
+ "host" : "localhost",
+ "taskLocality" : "PROCESS_LOCAL",
+ "speculative" : false,
+ "accumulatorUpdates" : [ ],
+ "taskMetrics" : {
+ "executorDeserializeTime" : 4,
+ "executorRunTime" : 18,
+ "resultSize" : 2065,
+ "jvmGcTime" : 0,
+ "resultSerializationTime" : 0,
+ "memoryBytesSpilled" : 0,
+ "diskBytesSpilled" : 0,
+ "inputMetrics" : {
+ "bytesRead" : 70564,
+ "recordsRead" : 10000
+ },
+ "shuffleWriteMetrics" : {
+ "bytesWritten" : 1710,
+ "writeTime" : 90836,
+ "recordsWritten" : 10
+ }
+ }
+}, {
+ "taskId" : 53,
+ "index" : 53,
+ "attempt" : 0,
+ "launchTime" : "2015-05-06T13:03:07.244GMT",
+ "executorId" : "driver",
+ "host" : "localhost",
+ "taskLocality" : "PROCESS_LOCAL",
+ "speculative" : false,
+ "accumulatorUpdates" : [ ],
+ "taskMetrics" : {
+ "executorDeserializeTime" : 6,
+ "executorRunTime" : 18,
+ "resultSize" : 2065,
+ "jvmGcTime" : 0,
+ "resultSerializationTime" : 0,
+ "memoryBytesSpilled" : 0,
+ "diskBytesSpilled" : 0,
+ "inputMetrics" : {
+ "bytesRead" : 70564,
+ "recordsRead" : 10000
+ },
+ "shuffleWriteMetrics" : {
+ "bytesWritten" : 1710,
+ "writeTime" : 92835,
+ "recordsWritten" : 10
+ }
+ }
+}, {
+ "taskId" : 44,
+ "index" : 44,
+ "attempt" : 0,
+ "launchTime" : "2015-05-06T13:03:07.205GMT",
+ "executorId" : "driver",
+ "host" : "localhost",
+ "taskLocality" : "PROCESS_LOCAL",
+ "speculative" : false,
+ "accumulatorUpdates" : [ ],
+ "taskMetrics" : {
+ "executorDeserializeTime" : 3,
+ "executorRunTime" : 18,
+ "resultSize" : 2065,
+ "jvmGcTime" : 0,
+ "resultSerializationTime" : 0,
+ "memoryBytesSpilled" : 0,
+ "diskBytesSpilled" : 0,
+ "inputMetrics" : {
+ "bytesRead" : 70564,
+ "recordsRead" : 10000
+ },
+ "shuffleWriteMetrics" : {
+ "bytesWritten" : 1710,
+ "writeTime" : 98293,
+ "recordsWritten" : 10
+ }
+ }
+}, {
+ "taskId" : 80,
+ "index" : 80,
+ "attempt" : 0,
+ "launchTime" : "2015-05-06T13:03:07.341GMT",
+ "executorId" : "driver",
+ "host" : "localhost",
+ "taskLocality" : "PROCESS_LOCAL",
+ "speculative" : false,
+ "accumulatorUpdates" : [ ],
+ "taskMetrics" : {
+ "executorDeserializeTime" : 13,
+ "executorRunTime" : 18,
+ "resultSize" : 2065,
+ "jvmGcTime" : 5,
+ "resultSerializationTime" : 0,
+ "memoryBytesSpilled" : 0,
+ "diskBytesSpilled" : 0,
+ "inputMetrics" : {
+ "bytesRead" : 70564,
+ "recordsRead" : 10000
+ },
+ "shuffleWriteMetrics" : {
+ "bytesWritten" : 1710,
+ "writeTime" : 98069,
+ "recordsWritten" : 10
+ }
+ }
+} ] \ No newline at end of file