Repository: phoenix Updated Branches: refs/heads/4.x-HBase-1.2 add0cb3b8 -> 037dfd005
PHOENIX-4141 Fix flapping TableSnapshotReadsMapReduceIT Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/037dfd00 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/037dfd00 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/037dfd00 Branch: refs/heads/4.x-HBase-1.2 Commit: 037dfd0056ccc59ce84ad22aa670860aca552d63 Parents: add0cb3 Author: Samarth Jain <[email protected]> Authored: Fri Sep 1 23:35:05 2017 -0700 Committer: Samarth Jain <[email protected]> Committed: Fri Sep 1 23:35:05 2017 -0700 ---------------------------------------------------------------------- .../apache/phoenix/end2end/TableSnapshotReadsMapReduceIT.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/phoenix/blob/037dfd00/phoenix-core/src/it/java/org/apache/phoenix/end2end/TableSnapshotReadsMapReduceIT.java ---------------------------------------------------------------------- diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/TableSnapshotReadsMapReduceIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/TableSnapshotReadsMapReduceIT.java index 39d97a1..85fb0cd 100644 --- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/TableSnapshotReadsMapReduceIT.java +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/TableSnapshotReadsMapReduceIT.java @@ -91,7 +91,7 @@ public class TableSnapshotReadsMapReduceIT extends ParallelStatsDisabledIT { // configure Phoenix M/R job to read snapshot final Configuration conf = getUtility().getConfiguration(); Job job = Job.getInstance(conf); - Path tmpDir = getUtility().getRandomDir(); + Path tmpDir = new Path("/tmp"); PhoenixMapReduceUtil.setInput(job, PhoenixIndexDBWritable.class, SNAPSHOT_NAME, tableName, tmpDir, null, FIELD1, FIELD2, FIELD3); @@ -111,7 +111,7 @@ public class TableSnapshotReadsMapReduceIT extends ParallelStatsDisabledIT { // configure Phoenix M/R job to read snapshot final Configuration conf = getUtility().getConfiguration(); Job job = Job.getInstance(conf); - Path tmpDir = getUtility().getRandomDir(); + Path tmpDir = new Path("/tmp"); PhoenixMapReduceUtil.setInput(job, PhoenixIndexDBWritable.class, SNAPSHOT_NAME, tableName, tmpDir, FIELD3 + " > 0001", FIELD1, FIELD2, FIELD3); @@ -131,7 +131,7 @@ public class TableSnapshotReadsMapReduceIT extends ParallelStatsDisabledIT { // configure Phoenix M/R job to read snapshot final Configuration conf = getUtility().getConfiguration(); Job job = Job.getInstance(conf); - Path tmpDir = getUtility().getRandomDir(); + Path tmpDir = new Path("/tmp"); // Running limit with order by on non pk column String inputQuery = "SELECT * FROM " + tableName + " ORDER BY FIELD2 LIMIT 1"; PhoenixMapReduceUtil.setInput(job, PhoenixIndexDBWritable.class, SNAPSHOT_NAME, tableName,
