summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-08-17 06:36:03 +0800
committerGitHub <noreply@github.com>2020-08-16 17:36:03 -0500
commitf56b521bb543b484d0abd607e32face96c624636 (patch)
tree54e65c2c3c47403c682fba1292503d12f55eb0a6
parenta9116ac95c8a12b874811f018762ad3c7e6ba89d (diff)
downloadspack-f56b521bb543b484d0abd607e32face96c624636.tar.gz
spack-f56b521bb543b484d0abd607e32face96c624636.tar.bz2
spack-f56b521bb543b484d0abd607e32face96c624636.tar.xz
spack-f56b521bb543b484d0abd607e32face96c624636.zip
Add new package: hudi (#18041)
-rw-r--r--var/spack/repos/builtin/packages/hudi/package.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hudi/package.py b/var/spack/repos/builtin/packages/hudi/package.py
new file mode 100644
index 0000000000..6240b71cd8
--- /dev/null
+++ b/var/spack/repos/builtin/packages/hudi/package.py
@@ -0,0 +1,24 @@
+# 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 Hudi(Package):
+ """Apache Hudi stands for Hadoop Upserts Deletes and Incrementals.
+ Hudi manages the storage of large analytical datasets on DFS."""
+
+ homepage = "https://hudi.apache.org/"
+ url = "https://github.com/apache/hudi/archive/release-0.5.3.tar.gz"
+
+ version('0.5.3', sha256='8cbf52007fddd07eebd20c8962cd630b05a8ae4c597523fd63db837a45a0b227')
+
+ depends_on('maven', type='build')
+ depends_on('java@8', type=('build', 'run'))
+
+ def install(self, spec, prefix):
+ mvn = which('mvn')
+ mvn('package', '-DskipTests')
+ install_tree('.', prefix)