HBASE-16983 TestMultiTableSnapshotInputFormat failing with Unable to

create region directory: /tmp/...
This commit is contained in:
Michael Stack 2016-10-31 21:57:48 -07:00
parent 6cf9333e97
commit 26cbe44337
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ public class TestMultiTableSnapshotInputFormat extends MultiTableInputFormatTest
@Before
public void setUp() throws Exception {
this.restoreDir = new Path("/tmp");
this.restoreDir = TEST_UTIL.getDataTestDir();
}

View File

@ -67,7 +67,7 @@ public class TestStoreFileInfo {
@Test
public void testEqualsWithLink() throws IOException {
Path origin = new Path("/origin");
Path tmp = new Path("/tmp");
Path tmp = TEST_UTIL.getDataTestDir();
Path mob = new Path("/mob");
Path archive = new Path("/archive");
HFileLink link1 = new HFileLink(new Path(origin, "f1"), new Path(tmp, "f1"),