Repository: phoenix Updated Branches: refs/heads/4.x-HBase-0.98 74b154e78 -> eb3928ce2
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/eb3928ce Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/eb3928ce Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/eb3928ce Branch: refs/heads/4.x-HBase-0.98 Commit: eb3928ce29b6a6fecb65cb420e06e24223f6ec67 Parents: 74b154e Author: Samarth Jain <[email protected]> Authored: Fri Sep 1 23:47:28 2017 -0700 Committer: Samarth Jain <[email protected]> Committed: Fri Sep 1 23:47:28 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/eb3928ce/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 591f028..fad3c47 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 @@ -90,7 +90,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().getDataTestDirOnTestFS(SNAPSHOT_NAME); + Path tmpDir = new Path("/tmp"); PhoenixMapReduceUtil.setInput(job, PhoenixIndexDBWritable.class, SNAPSHOT_NAME, tableName, tmpDir, null, FIELD1, FIELD2, FIELD3); @@ -110,7 +110,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().getDataTestDirOnTestFS(SNAPSHOT_NAME); + Path tmpDir = new Path("/tmp"); PhoenixMapReduceUtil.setInput(job, PhoenixIndexDBWritable.class, SNAPSHOT_NAME, tableName, tmpDir, FIELD3 + " > 0001", FIELD1, FIELD2, FIELD3); @@ -130,7 +130,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().getDataTestDirOnTestFS(SNAPSHOT_NAME); + 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,
