You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by sp...@apache.org on 2016/05/27 15:37:33 UTC
[12/48] hive git commit: HIVE-13868: Include derby.log file in the
Hive ptest logs (Sergio Pena)
HIVE-13868: Include derby.log file in the Hive ptest logs (Sergio Pena)
Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/b420e1da
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/b420e1da
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/b420e1da
Branch: refs/heads/java8
Commit: b420e1da98505f1b446b7c65e2a6cf1f0c4d5e00
Parents: 7172586
Author: Sergio Pena <se...@cloudera.com>
Authored: Thu May 26 17:47:04 2016 -0500
Committer: Sergio Pena <se...@cloudera.com>
Committed: Thu May 26 17:47:04 2016 -0500
----------------------------------------------------------------------
testutils/ptest2/src/main/resources/batch-exec.vm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hive/blob/b420e1da/testutils/ptest2/src/main/resources/batch-exec.vm
----------------------------------------------------------------------
diff --git a/testutils/ptest2/src/main/resources/batch-exec.vm b/testutils/ptest2/src/main/resources/batch-exec.vm
index 99ddf80..652084d 100644
--- a/testutils/ptest2/src/main/resources/batch-exec.vm
+++ b/testutils/ptest2/src/main/resources/batch-exec.vm
@@ -86,7 +86,7 @@ fi
echo $pid >> batch.pid
wait $pid
ret=$?
-find ./ -type f -name hive.log -o -name spark.log | \
+find ./ -type f -name hive.log -o -name spark.log -o -name derby.log | \
xargs -I {} sh -c 'f=$(basename {}); test -f ${logDir}/$f && f=$f-$(uuidgen); mv {} ${logDir}/$f'
find ./ -type f -name 'TEST-*.xml' | \
xargs -I {} sh -c 'f=TEST-${batchName}-$(basename {}); test -f ${logDir}/$f && f=$f-$(uuidgen); mv {} ${logDir}/$f'