eagle-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jinh...@apache.org
Subject [1/2] incubator-eagle git commit: [EAGLE-790] Add unit test for eagle-jpm-mr-running's MRRunningJobParseBolt
Date Thu, 24 Nov 2016 07:48:15 GMT
Repository: incubator-eagle
Updated Branches:
  refs/heads/master 3becca689 -> 65de7b0ac


http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/65de7b0a/eagle-jpm/eagle-jpm-mr-running/src/test/resources/mrtasks_30784.json
----------------------------------------------------------------------
diff --git a/eagle-jpm/eagle-jpm-mr-running/src/test/resources/mrtasks_30784.json b/eagle-jpm/eagle-jpm-mr-running/src/test/resources/mrtasks_30784.json
new file mode 100644
index 0000000..cfc3ad8
--- /dev/null
+++ b/eagle-jpm/eagle-jpm-mr-running/src/test/resources/mrtasks_30784.json
@@ -0,0 +1,61 @@
+{
+  "tasks": {
+    "task": [
+      {
+        "startTime": 1479876517555,
+        "finishTime": 0,
+        "elapsedTime": 45860,
+        "progress": 51.469738,
+        "id": "task_1479206441898_164690_m_000000",
+        "state": "RUNNING",
+        "type": "MAP",
+        "successfulAttempt": "",
+        "status": "viewfs://xxxxxxx/ds=2016-07-23/part-r-00033:0+32910369 > map"
+      },
+      {
+        "startTime": 1479876517593,
+        "finishTime": 0,
+        "elapsedTime": 45823,
+        "progress": 66.7,
+        "id": "task_1479206441898_164690_m_000002",
+        "state": "RUNNING",
+        "type": "MAP",
+        "successfulAttempt": "",
+        "status": "viewfs://xxxxxxx/ds=2016-07-24/part-r-00077:0+32681218 > sort"
+      },
+      {
+        "startTime": 1479876517458,
+        "finishTime": 0,
+        "elapsedTime": 45958,
+        "progress": 43.647263,
+        "id": "task_1479206441898_164690_m_000003",
+        "state": "RUNNING",
+        "type": "MAP",
+        "successfulAttempt": "",
+        "status": "viewfs://xxxxxxx/ds=2016-07-20/part-r-00029:0+32561596 > map"
+      },
+      {
+        "startTime": 1479876515478,
+        "finishTime": 0,
+        "elapsedTime": 0,
+        "progress": 0.0,
+        "id": "task_1479206441898_164690_r_001097",
+        "state": "SCHEDULED",
+        "type": "REDUCE",
+        "successfulAttempt": "",
+        "status": "NEW"
+      },
+      {
+        "startTime": 1479876515479,
+        "finishTime": 0,
+        "elapsedTime": 0,
+        "progress": 0.0,
+        "id": "task_1479206441898_164690_r_001098",
+        "state": "SCHEDULED",
+        "type": "REDUCE",
+        "successfulAttempt": "",
+        "status": "NEW"
+      }
+    ]
+  }
+}
\ No newline at end of file


Mime
View raw message