414415416417418419420421422423424
span.data("dst", dst.toString()); } try { impl.moveFromLocalFile(srcs, dst); } finally { span.stop(); } } @Override public void moveFromLocalFile(Path src, Path dst) throws IOException {
139140141142143144145146147148149
public boolean checkTrace(TInfo t, String message) throws TException { Span trace = Trace.start(message); try { return Trace.isTracing(); } finally { trace.stop(); } } } @Test
428429430431432433434435436437438
span.data("dst", dst.toString()); } try { impl.moveFromLocalFile(src, dst); } finally { span.stop(); } } @Override public void copyFromLocalFile(boolean delSrc, Path src, Path dst) throws IOException {
442443444445446447448449450451452
span.data("dst", dst.toString()); } try { impl.copyFromLocalFile(delSrc, src, dst); } finally { span.stop(); } } @Override public void copyFromLocalFile(boolean delSrc, boolean overwrite, Path[] srcs, Path dst) throws IOException {
455456457458459460461462463464465
span.data("dst", dst.toString()); } try { impl.copyFromLocalFile(delSrc, overwrite, srcs, dst); } finally { span.stop(); } } @Override public void copyFromLocalFile(boolean delSrc, boolean overwrite, Path src, Path dst) throws IOException {
469470471472473474475476477478479
span.data("dst", dst.toString()); } try { impl.copyFromLocalFile(delSrc, overwrite, src, dst); } finally { span.stop(); } } @Override public void copyToLocalFile(Path src, Path dst) throws IOException {
483484485486487488489490491492493
span.data("dst", dst.toString()); } try { impl.copyToLocalFile(src, dst); } finally { span.stop(); } } @Override public void moveToLocalFile(Path src, Path dst) throws IOException {
497498499500501502503504505506507
span.data("dst", dst.toString()); } try { impl.moveToLocalFile(src, dst); } finally { span.stop(); } } @Override public void copyToLocalFile(boolean delSrc, Path src, Path dst) throws IOException {
511512513514515516517518519520521
span.data("dst", dst.toString()); } try { impl.copyToLocalFile(delSrc, src, dst); } finally { span.stop(); } } @Override public Path startLocalOutput(Path fsOutputFile, Path tmpLocalFile) throws IOException {
525526527528529530531532533534535
span.data("local", tmpLocalFile.toString()); } try { return impl.startLocalOutput(fsOutputFile, tmpLocalFile); } finally { span.stop(); } } @Override public void completeLocalOutput(Path fsOutputFile, Path tmpLocalFile) throws IOException {