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

Method processPWD

src/org/apache/pig/tools/grunt/GruntParser.java:915–927  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

913 }
914
915 @Override
916 protected void processPWD() throws IOException
917 {
918 filter.validate(PigCommandFilter.Command.PWD);
919 if(mExplain == null) { // process only if not in "explain" mode
920
921 executeBatch();
922
923 System.out.println(mDfs.getActiveContainer().toString());
924 } else {
925 log.warn("'pwd' statement is ignored while processing 'explain -script' or '-check'");
926 }
927 }
928
929 @Override
930 protected void processHistory(boolean withNumbers) {

Callers

nothing calls this directly

Calls 5

executeBatchMethod · 0.95
validateMethod · 0.65
getActiveContainerMethod · 0.65
warnMethod · 0.65
toStringMethod · 0.45

Tested by

no test coverage detected