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

Method PigServer

src/org/apache/pig/PigServer.java:184–186  ·  view source on GitHub ↗

@param execTypeString can be 'mapreduce' or 'local'. Local mode will use Hadoop's local job runner to execute the job on the local machine. Mapreduce mode will connect to a cluster to execute the job. If execTypeString is not one of these two, Pig will deduce the ExecutionEngine if it is on the cla

(String execTypeString)

Source from the content-addressed store, hash-verified

182 * @throws IOException
183 */
184 public PigServer(String execTypeString) throws ExecException, IOException {
185 this(addExecTypeProperty(PropertiesUtil.loadDefaultProperties(), execTypeString));
186 }
187
188 public PigServer(String execTypeString, Properties properties) throws ExecException, IOException {
189 this(addExecTypeProperty(properties, execTypeString));

Callers

nothing calls this directly

Calls 15

addExecTypePropertyMethod · 0.95
loadDefaultPropertiesMethod · 0.95
addHadoopPropertiesMethod · 0.95
addJarsFromPropertiesMethod · 0.95
getMethod · 0.95
startMethod · 0.95
startMethod · 0.95
getPigAuditIdMethod · 0.95
getInstanceMethod · 0.95
getPropertyMethod · 0.80
infoMethod · 0.80

Tested by

no test coverage detected