hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sze...@apache.org
Subject hive git commit: HIVE-12621 : PTest Backup additional spark logs (Szehon, reviewed by Xuefu and Sergey Shelukhin)
Date Wed, 09 Dec 2015 00:05:03 GMT
Repository: hive
Updated Branches:
  refs/heads/master 58adda5d1 -> b19b6952a


HIVE-12621 : PTest Backup additional spark logs (Szehon, reviewed by Xuefu and Sergey Shelukhin)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/b19b6952
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/b19b6952
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/b19b6952

Branch: refs/heads/master
Commit: b19b6952a3efd5950d15472feded72772d5e4aad
Parents: 58adda5
Author: Szehon Ho <szehon@cloudera.com>
Authored: Tue Dec 8 16:04:20 2015 -0800
Committer: Szehon Ho <szehon@cloudera.com>
Committed: Tue Dec 8 16:04:20 2015 -0800

----------------------------------------------------------------------
 testutils/ptest2/src/main/resources/batch-exec.vm | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/b19b6952/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 da3e0ac..c2f66be 100644
--- a/testutils/ptest2/src/main/resources/batch-exec.vm
+++ b/testutils/ptest2/src/main/resources/batch-exec.vm
@@ -90,6 +90,12 @@ 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'
+find ./ -path "*/spark/work" | \
+  xargs -I {} sh -c 'mv {} ${logDir}/spark-log'
+find ./ -type f -name 'syslog*' | \
+  xargs -I {} sh -c 'mkdir -p ${logDir}/syslogs; mv {} ${logDir}/syslogs'
+
+
 if [[ -f $logDir/.log ]]
 then
   mv $logDir/.log $logDir/dot.log


Mime
View raw message