summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-01-14 11:01:27 +0800
committerAdam J. Stewart <ajstewart426@gmail.com>2020-01-13 21:01:27 -0600
commite2e9f02d81fe097526bc7447f2a17a106a4293f4 (patch)
tree3d5b9c2e0b426a28e3771333ec84c759183ae158 /var
parentb33d108c1b1d1595bb4b673efe1a931f0cbbdde4 (diff)
downloadspack-e2e9f02d81fe097526bc7447f2a17a106a4293f4.tar.gz
spack-e2e9f02d81fe097526bc7447f2a17a106a4293f4.tar.bz2
spack-e2e9f02d81fe097526bc7447f2a17a106a4293f4.tar.xz
spack-e2e9f02d81fe097526bc7447f2a17a106a4293f4.zip
add new package : hive (#14443)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/hive/package.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hive/package.py b/var/spack/repos/builtin/packages/hive/package.py
new file mode 100644
index 0000000000..a32e08a80c
--- /dev/null
+++ b/var/spack/repos/builtin/packages/hive/package.py
@@ -0,0 +1,27 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Hive(Package):
+ """
+ The Apache Hive data warehouse software facilitates reading, writing,
+ and managing large datasets residing in distributed storage using SQL.
+ Structure can be projected onto data already in storage. A command line
+ tool and JDBC driver are provided to connect users to Hive.
+ """
+
+ homepage = "https://hive.apache.org/"
+ url = "https://www.apache.org/dist/hive/hive-3.1.2/apache-hive-3.1.2-bin.tar.gz"
+
+ version('3.1.2', sha256='d75dcf36908b4e7b9b0ec9aec57a46a6628b97b276c233cb2c2f1a3e89b13462')
+ version('2.3.6', sha256='0b3736edc8d15f01ed649bfce7d74346c35fd57567411e9d0c3f48578f76610d')
+ version('1.2.2', sha256='763b246a1a1ceeb815493d1e5e1d71836b0c5b9be1c4cd9c8d685565113771d1')
+
+ depends_on('hadoop', type='run')
+
+ def install(self, spec, prefix):
+ install_tree('.', prefix)