MCPcopy Create free account
hub / github.com/apache/pig / testLoadRemoteAbsScheme

Method testLoadRemoteAbsScheme

test/org/apache/pig/test/TestLoad.java:144–154  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

142 }
143
144 @Test
145 public void testLoadRemoteAbsScheme() throws Exception {
146 pc = servers[0].getPigContext();
147 boolean noConversionExpected = true;
148 checkLoadPath("hdfs:" + WORKING_DIR + "/test","hdfs:" + WORKING_DIR + "/test", noConversionExpected);
149
150 // check if a location 'hdfs:<abs path>' can actually be read using PigStorage
151 String[] inputFileNames = new String[] {
152 WORKING_DIR + "/TestLoad-testLoadRemoteAbsSchema-input.txt"};
153 testLoadingMultipleFiles(inputFileNames, "hdfs:" + inputFileNames[0]);
154 }
155
156 @Test
157 public void testLoadRemoteAbsAuth() throws Exception {

Callers

nothing calls this directly

Calls 3

checkLoadPathMethod · 0.95
getPigContextMethod · 0.45

Tested by

no test coverage detected