You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by li...@apache.org on 2017/07/07 02:18:30 UTC

hive git commit: HIVE-17034: The spark tar for itests is downloaded every time if md5sum is not installed (Rui reviewed by Ashutosh)

Repository: hive
Updated Branches:
  refs/heads/master 4536fb74c -> 9d548e855


HIVE-17034: The spark tar for itests is downloaded every time if md5sum is not installed (Rui reviewed by Ashutosh)


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

Branch: refs/heads/master
Commit: 9d548e855a7874e7bc72575dd5fca9b0a025fd6c
Parents: 4536fb7
Author: Rui Li <li...@apache.org>
Authored: Fri Jul 7 10:18:25 2017 +0800
Committer: Rui Li <li...@apache.org>
Committed: Fri Jul 7 10:18:25 2017 +0800

----------------------------------------------------------------------
 itests/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/9d548e85/itests/pom.xml
----------------------------------------------------------------------
diff --git a/itests/pom.xml b/itests/pom.xml
index 400075b..a4640ba 100644
--- a/itests/pom.xml
+++ b/itests/pom.xml
@@ -89,7 +89,7 @@
                           local md5File="$tarName".md5sum
                           curl -Sso $DOWNLOAD_DIR/$md5File "$url".md5sum
                           cd $DOWNLOAD_DIR
-                          if ! md5sum -c $md5File; then
+                          if type md5sum >/dev/null &amp;&amp; ! md5sum -c $md5File; then
                             curl -Sso $DOWNLOAD_DIR/$tarName $url || return 1
                           fi