Add new package: hudi (#18041)
This commit is contained in:
parent
a9116ac95c
commit
f56b521bb5
1 changed files with 24 additions and 0 deletions
24
var/spack/repos/builtin/packages/hudi/package.py
Normal file
24
var/spack/repos/builtin/packages/hudi/package.py
Normal file
|
@ -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)
|
Loading…
Reference in a new issue