|
@@ -24,6 +24,7 @@ import java.net.URISyntaxException;
|
|
import javax.security.auth.login.LoginException;
|
|
import javax.security.auth.login.LoginException;
|
|
|
|
|
|
import org.apache.hadoop.fs.FileContext;
|
|
import org.apache.hadoop.fs.FileContext;
|
|
|
|
+import org.apache.hadoop.fs.FileContextTestHelper;
|
|
import org.apache.hadoop.fs.Path;
|
|
import org.apache.hadoop.fs.Path;
|
|
import org.apache.hadoop.hdfs.DFSConfigKeys;
|
|
import org.apache.hadoop.hdfs.DFSConfigKeys;
|
|
import org.apache.hadoop.hdfs.HdfsConfiguration;
|
|
import org.apache.hadoop.hdfs.HdfsConfiguration;
|
|
@@ -39,6 +40,12 @@ public class TestViewFsHdfs extends ViewFsBaseTest {
|
|
private static HdfsConfiguration CONF = new HdfsConfiguration();
|
|
private static HdfsConfiguration CONF = new HdfsConfiguration();
|
|
private static FileContext fc;
|
|
private static FileContext fc;
|
|
|
|
|
|
|
|
+ @Override
|
|
|
|
+ protected FileContextTestHelper createFileContextHelper() {
|
|
|
|
+ return new FileContextTestHelper("/tmp/TestViewFsHdfs");
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
@BeforeClass
|
|
@BeforeClass
|
|
public static void clusterSetupAtBegining() throws IOException,
|
|
public static void clusterSetupAtBegining() throws IOException,
|
|
LoginException, URISyntaxException {
|
|
LoginException, URISyntaxException {
|