本文整理了Java中org.apache.pig.backend.executionengine.ExecException.printStackTrace()
方法的一些代码示例,展示了ExecException.printStackTrace()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ExecException.printStackTrace()
方法的具体详情如下:
包路径:org.apache.pig.backend.executionengine.ExecException
类名称:ExecException
方法名:printStackTrace
暂无
代码示例来源:origin: edu.umd/cloud9
@Override
public int getPartition(Tuple key, FloatWritable value, int numReduceTasks) {
try {
return (((String) key.get(0)).hashCode() & Integer.MAX_VALUE) % numReduceTasks;
} catch (ExecException e) {
e.printStackTrace();
return 0;
}
}
}
代码示例来源:origin: org.apache.pig/pig
sb.append(",");
} catch (ExecException e) {
e.printStackTrace();
mLog.warn("Exception when format tuple", e);
代码示例来源:origin: org.apache.pig/pig
public Map<Operator, DataBag> getExamples(String alias) throws IOException {
try {
if (currDAG.isBatchOn() && alias != null) {
currDAG.parseQuery();
currDAG.buildPlan( null );
execute();
}
currDAG.parseQuery();
currDAG.skipStores();
currDAG.buildPlan( alias );
currDAG.compile();
} catch (IOException e) {
//Since the original script is parsed anyway, there should not be an
//error in this parsing. The only reason there can be an error is when
//the files being loaded in load don't exist anymore.
e.printStackTrace();
}
ExampleGenerator exgen = new ExampleGenerator( currDAG.lp, pigContext );
try {
return exgen.getExamples();
} catch (ExecException e) {
e.printStackTrace(System.out);
throw new IOException("ExecException" , e);
} catch (Exception e) {
e.printStackTrace(System.out);
throw new IOException("Exception ", e);
}
}
代码示例来源:origin: com.linkedin.datafu/datafu
ee.printStackTrace();
throw ee;
} catch (Exception e) {
代码示例来源:origin: com.linkedin.datafu/datafu
ee.printStackTrace();
throw ee;
} catch (Exception e) {
代码示例来源:origin: com.linkedin.datafu/datafu
ee.printStackTrace();
throw ee;
} catch (Exception e) {
代码示例来源:origin: com.linkedin.datafu/datafu
ee.printStackTrace();
throw ee;
} catch (Exception e) {
代码示例来源:origin: com.linkedin.datafu/datafu
ee.printStackTrace();
throw ee;
} catch (Exception e) {
内容来源于网络,如有侵权,请联系作者删除!