15 package com.cloudera.impala.planner;
17 import static org.junit.Assume.assumeTrue;
21 import org.apache.commons.lang.StringUtils;
22 import org.apache.hadoop.conf.Configuration;
23 import org.apache.hadoop.fs.Path;
24 import org.junit.Assert;
25 import org.junit.Before;
40 private final Configuration
CONF =
new Configuration();
54 assumeTrue(!StringUtils.isEmpty(fsNameStr));
55 fsName =
new Path(fsNameStr);
65 path = super.cleanseFilePath(
path);
66 URI fsURI = fsName.toUri();
67 URI pathURI = path.toUri();
68 Assert.assertTrue(
"error: " + path +
" is not on filesystem " +
fsName,
69 fsURI.getScheme().equals(pathURI.getScheme()) &&
70 fsURI.getAuthority().equals(pathURI.getAuthority()));
string path("/usr/lib/sasl2:/usr/lib64/sasl2:/usr/local/lib/sasl2:/usr/lib/x86_64-linux-gnu/sasl2")
static final String TEST_FS_S3A_NAME
void runPlannerTestFile(String testFile, TQueryOptions options)
uint64_t Test(T *ht, const ProbeTuple *input, uint64_t num_tuples)
Path cleanseFilePath(Path path)
static final Path S3A_CANONICAL_BUCKET