You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by br...@apache.org on 2014/11/27 17:13:14 UTC

svn commit: r1642179 - /hive/trunk/testutils/ptest2/src/main/resources/batch-exec.vm

Author: brock
Date: Thu Nov 27 16:13:14 2014
New Revision: 1642179

URL: http://svn.apache.org/r1642179
Log:
HIVE-8983 - PTest Backup spark.log in addition to hive.log (Brock revieed by Szehon)

Modified:
    hive/trunk/testutils/ptest2/src/main/resources/batch-exec.vm

Modified: hive/trunk/testutils/ptest2/src/main/resources/batch-exec.vm
URL: http://svn.apache.org/viewvc/hive/trunk/testutils/ptest2/src/main/resources/batch-exec.vm?rev=1642179&r1=1642178&r2=1642179&view=diff
==============================================================================
--- hive/trunk/testutils/ptest2/src/main/resources/batch-exec.vm (original)
+++ hive/trunk/testutils/ptest2/src/main/resources/batch-exec.vm Thu Nov 27 16:13:14 2014
@@ -86,7 +86,7 @@ fi
 echo $pid >> batch.pid
 wait $pid
 ret=$?
-find ./ -type f -name hive.log | \
+find ./ -type f -name hive.log -o -name spark.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'