public TestFileSystems(FileSystem fs) throws IOException { conf = new TajoConf(); if(fs instanceof S3FileSystem){ conf.set(DFSConfigKeys.DFS_BLOCK_SIZE_KEY, "10"); fs.initialize(URI.create(fs.getScheme() + ":///"), conf); } this.fs = fs; sm = StorageManagerFactory.getStorageManager(conf); testDir = getTestDir(this.fs, TEST_PATH); }
@Override protected boolean isS3Root() { return _fs instanceof NativeS3FileSystem || _fs instanceof S3FileSystem; }