From a04eacebfeb8692bf05b193cef7fef6493fa281e Mon Sep 17 00:00:00 2001 From: Youngwoo Kim Date: Thu, 22 Jan 2015 16:47:29 +0900 Subject: [PATCH] BIGTOP-1149: Package Kite --- MAINTAINERS.txt | 1 + .../src/common/kite/do-component-build | 48 ++++++++ .../src/common/kite/install_kite.sh | 106 ++++++++++++++++++ bigtop-packages/src/deb/kite/changelog | 1 + bigtop-packages/src/deb/kite/compat | 1 + bigtop-packages/src/deb/kite/control | 28 +++++ bigtop-packages/src/deb/kite/copyright | 15 +++ bigtop-packages/src/deb/kite/kite.dirs | 2 + bigtop-packages/src/deb/kite/kite.install | 2 + bigtop-packages/src/deb/kite/kite.postinst | 32 ++++++ bigtop-packages/src/deb/kite/kite.prerm | 37 ++++++ bigtop-packages/src/deb/kite/rules | 49 ++++++++ bigtop-packages/src/deb/kite/source/format | 1 + bigtop-packages/src/rpm/kite/SPECS/kite.spec | 77 +++++++++++++ bigtop-tests/smoke-tests/README | 1 + .../smoke-tests/kite/TestKiteDataset.groovy | 76 +++++++++++++ bigtop-tests/smoke-tests/kite/build.gradle | 54 +++++++++ .../smoke-tests/kite/log4j.properties | 24 ++++ bigtop-tests/smoke-tests/kite/sandwiches.csv | 3 + bigtop.mk | 13 +++ pom.xml | 1 + 21 files changed, 572 insertions(+) create mode 100644 bigtop-packages/src/common/kite/do-component-build create mode 100644 bigtop-packages/src/common/kite/install_kite.sh create mode 100644 bigtop-packages/src/deb/kite/changelog create mode 100644 bigtop-packages/src/deb/kite/compat create mode 100644 bigtop-packages/src/deb/kite/control create mode 100644 bigtop-packages/src/deb/kite/copyright create mode 100644 bigtop-packages/src/deb/kite/kite.dirs create mode 100644 bigtop-packages/src/deb/kite/kite.install create mode 100644 bigtop-packages/src/deb/kite/kite.postinst create mode 100644 bigtop-packages/src/deb/kite/kite.prerm create mode 100755 bigtop-packages/src/deb/kite/rules create mode 100644 bigtop-packages/src/deb/kite/source/format create mode 100644 bigtop-packages/src/rpm/kite/SPECS/kite.spec create mode 100644 bigtop-tests/smoke-tests/kite/TestKiteDataset.groovy create mode 100644 bigtop-tests/smoke-tests/kite/build.gradle create mode 100644 bigtop-tests/smoke-tests/kite/log4j.properties create mode 100644 bigtop-tests/smoke-tests/kite/sandwiches.csv diff --git a/MAINTAINERS.txt b/MAINTAINERS.txt index bf09d6d0fe..559c0fbcdb 100644 --- a/MAINTAINERS.txt +++ b/MAINTAINERS.txt @@ -7,6 +7,7 @@ hbase: andrew purtell, rvs hive: mark grover, youngwoo kim hue: oflebbe itest: cos, rvs +kite: youngwoo kim mvn publishing/packaging: rvs oozie evans ye, rvs phoenix: andrew purtell, youngwoo kim diff --git a/bigtop-packages/src/common/kite/do-component-build b/bigtop-packages/src/common/kite/do-component-build new file mode 100644 index 0000000000..e747d1414e --- /dev/null +++ b/bigtop-packages/src/common/kite/do-component-build @@ -0,0 +1,48 @@ +#!/bin/bash +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -ex + +. `dirname $0`/bigtop.bom + +mvn clean install \ + -DjavaVersion=${JDK_VERSION} \ + -Dvers.hadoop2=${HADOOP_VERSION} \ + -Dvers.hbase2=${HBASE_VERSION}-hadoop2 \ + -Dvers.flume=${FLUME_VERSION} \ + -Dvers.spark=${SPARK_VERSION} \ + -Dvers.crunch=${CRUNCH_VERSION} \ + -DskipTests -Dmaven.repo.local=${HOME}/.m2/repository "$@" + +rm -rf build + +mkdir -p build/kite-${KITE_VERSION}/{bin,lib} + +# Kite Data +cp kite-data/kite-*/target/kite-*.jar build/kite-${KITE_VERSION}/lib +# Kite Tools +cp kite-tools-parent/kite-tools/target/kite-dataset build/kite-${KITE_VERSION}/bin/ +cp kite-tools-parent/kite-tools/target/kite-*.jar build/kite-${KITE_VERSION}/lib/ + +# Kite Morphlines +cp kite-morphlines/kite-morphlines-all/target/lib/* build/kite-${KITE_VERSION}/lib/ + +# Kite Maven plugin +cp kite-maven-plugin/target/kite-*.jar build/kite-${KITE_VERSION}/lib/ + + + + diff --git a/bigtop-packages/src/common/kite/install_kite.sh b/bigtop-packages/src/common/kite/install_kite.sh new file mode 100644 index 0000000000..efdc500af7 --- /dev/null +++ b/bigtop-packages/src/common/kite/install_kite.sh @@ -0,0 +1,106 @@ +#!/bin/bash + +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -ex + +usage() { + echo " +usage: $0 + Required not-so-options: + --build-dir=DIR path to dist.dir + --prefix=PREFIX path to install into + + Optional options: + --lib-dir=DIR path to install home [/usr/lib/kite] + --build-dir=DIR path to dist dir + ... [ see source for more similar options ] + " + exit 1 +} + +OPTS=$(getopt \ + -n $0 \ + -o '' \ + -l 'prefix:' \ + -l 'lib-dir:' \ + -l 'build-dir:' -- "$@") + +if [ $? != 0 ] ; then + usage +fi + +eval set -- "$OPTS" +while true ; do + case "$1" in + --prefix) + PREFIX=$2 ; shift 2 + ;; + --build-dir) + BUILD_DIR=$2 ; shift 2 + ;; + --lib-dir) + LIB_DIR=$2 ; shift 2 + ;; + --) + shift ; break + ;; + *) + echo "Unknown option: $1" + usage + exit 1 + ;; + esac +done + +for var in PREFIX BUILD_DIR ; do + if [ -z "$(eval "echo \$$var")" ]; then + echo Missing param: $var + usage + fi +done + +LIB_DIR=${LIB_DIR:-/usr/lib/kite} +BIN_DIR=${BIN_DIR:-/usr/bin} + +# First we'll move everything into lib +install -d -m 0755 $PREFIX/$LIB_DIR +cp -r $BUILD_DIR/* $PREFIX/$LIB_DIR + +install -d -m 0755 $PREFIX/$BIN_DIR + +# Wrapper for kite-dataset +cat > $PREFIX/$BIN_DIR/kite-dataset < +Build-Depends: debhelper (>= 9) +Standards-Version: 3.9.4 +Homepage: http://kitesdk.org + +Package: kite +Architecture: all +Depends: hadoop-client, hbase, hive, zookeeper, bigtop-utils (>= 0.7) +Description: The Kite Software Development Kit is a set of libraries, tools, examples, and + documentation focused on making it easier to build systems on top of the Hadoop ecosystem. diff --git a/bigtop-packages/src/deb/kite/copyright b/bigtop-packages/src/deb/kite/copyright new file mode 100644 index 0000000000..022f5e4795 --- /dev/null +++ b/bigtop-packages/src/deb/kite/copyright @@ -0,0 +1,15 @@ +Format: http://dep.debian.net/deps/dep5 +Source: http://kitesdk.org/ +Upstream-Name: Kite Software Development Kit + +Files: * +Copyright: 2013, Cloudera, Inc +License: Apache-2.0 + +Files debian/* +Copyright: 2011, The Apache Software Foundation +License: Apache-2.0 + +License: Apache-2.0 + On Debian systems, the complete text of the Apache 2.0 license + can be found in "/usr/share/common-licenses/Apache-2.0". diff --git a/bigtop-packages/src/deb/kite/kite.dirs b/bigtop-packages/src/deb/kite/kite.dirs new file mode 100644 index 0000000000..9b98872bc1 --- /dev/null +++ b/bigtop-packages/src/deb/kite/kite.dirs @@ -0,0 +1,2 @@ +/usr/lib/kite +/usr/bin diff --git a/bigtop-packages/src/deb/kite/kite.install b/bigtop-packages/src/deb/kite/kite.install new file mode 100644 index 0000000000..99e2775b9a --- /dev/null +++ b/bigtop-packages/src/deb/kite/kite.install @@ -0,0 +1,2 @@ +/usr/lib/kite +/usr/bin/kite-dataset diff --git a/bigtop-packages/src/deb/kite/kite.postinst b/bigtop-packages/src/deb/kite/kite.postinst new file mode 100644 index 0000000000..a2078db0ed --- /dev/null +++ b/bigtop-packages/src/deb/kite/kite.postinst @@ -0,0 +1,32 @@ +#!/bin/bash +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -e + +case "$1" in + configure) + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# diff --git a/bigtop-packages/src/deb/kite/kite.prerm b/bigtop-packages/src/deb/kite/kite.prerm new file mode 100644 index 0000000000..4ba1a940de --- /dev/null +++ b/bigtop-packages/src/deb/kite/kite.prerm @@ -0,0 +1,37 @@ +#!/bin/bash +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -e + +case "$1" in + remove|upgrade|deconfigure) + ;; + + failed-upgrade) + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 diff --git a/bigtop-packages/src/deb/kite/rules b/bigtop-packages/src/deb/kite/rules new file mode 100755 index 0000000000..9bce602430 --- /dev/null +++ b/bigtop-packages/src/deb/kite/rules @@ -0,0 +1,49 @@ +#!/usr/bin/make -f +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +export DH_VERBOSE=1 + +lib_kite=/usr/lib/kite +lib_zookeeper=/usr/lib/zookeeper +lib_hadoop=/usr/lib/hadoop + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +%: + dh $@ + +override_dh_auto_build: + # we'll just use the build from the tarball. + bash debian/do-component-build + +override_dh_auto_install: + bash -x debian/install_kite.sh \ + --prefix=debian/tmp \ + --build-dir=build/kite-${KITE_BASE_VERSION} + + rm -f debian/tmp/${lib_kite}/lib/zookeeper*.jar + rm -f debian/tmp/${lib_kite}/lib/hadoop*.jar + + ln -s ${lib_zookeeper}/zookeeper.jar debian/tmp/${lib_kite}/lib + ln -s ${lib_hadoop}/client/hadoop-annotations.jar debian/tmp/${lib_kite}/lib + ln -s ${lib_hadoop}/client/hadoop-auth.jar debian/tmp/${lib_kite}/lib + ln -s ${lib_hadoop}/client/hadoop-common.jar debian/tmp/${lib_kite}/lib + ln -s ${lib_hadoop}/client/hadoop-hdfs.jar debian/tmp/${lib_kite}/lib diff --git a/bigtop-packages/src/deb/kite/source/format b/bigtop-packages/src/deb/kite/source/format new file mode 100644 index 0000000000..163aaf8d82 --- /dev/null +++ b/bigtop-packages/src/deb/kite/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/bigtop-packages/src/rpm/kite/SPECS/kite.spec b/bigtop-packages/src/rpm/kite/SPECS/kite.spec new file mode 100644 index 0000000000..5ccaedeaaa --- /dev/null +++ b/bigtop-packages/src/rpm/kite/SPECS/kite.spec @@ -0,0 +1,77 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +%define kite_name kite +%define lib_kite /usr/lib/kite +%define lib_zookeeper /usr/lib/zookeeper +%define lib_hadoop /usr/lib/hadoop + +%if %{?suse_version:1}0 +%define doc_kite %{_docdir}/kite-doc +%else +%define doc_kite %{_docdir}/kite-doc-%{kite_version} +%endif + +# disable repacking jars +%define __os_install_post %{nil} + +Name: kite +Version: %{kite_version} +Release: %{kite_release} +Summary: Kite Software Development Kit. +URL: http://kitesdk.org +Group: Development/Libraries +BuildArch: noarch +Buildroot: %(mktemp -ud %{_tmppath}/%{kite_name}-%{version}-%{release}-XXXXXX) +License: ASL 2.0 +Source0: %{kite_name}-%{kite_version}.tar.gz +Source1: do-component-build +Source2: install_%{kite_name}.sh +Source3: bigtop.bom +Requires: hadoop-client, hbase, hive, zookeeper, bigtop-utils >= 0.7 + +%description +The Kite Software Development Kit is a set of libraries, tools, examples, and +documentation focused on making it easier to build systems on top of the +Hadoop ecosystem. + +%prep +%setup -n %{kite_name}-release-%{kite_base_version} + +%build +bash $RPM_SOURCE_DIR/do-component-build + +%install +%__rm -rf $RPM_BUILD_ROOT +KITE_VERSION=%{kite_version} bash $RPM_SOURCE_DIR/install_kite.sh \ + --build-dir=build/kite-%{kite_base_version} \ + --prefix=$RPM_BUILD_ROOT + +%__rm -f $RPM_BUILD_ROOT/%{lib_kite}/lib/zookeeper*.jar +%__rm -f $RPM_BUILD_ROOT/%{lib_kite}/lib/hadoop*.jar + +%__ln_s %{lib_zookeeper}/zookeeper.jar $RPM_BUILD_ROOT/%{lib_kite}/lib/ +%__ln_s %{lib_hadoop}/client/hadoop-annotations.jar $RPM_BUILD_ROOT/%{lib_kite}/lib/ +%__ln_s %{lib_hadoop}/client/hadoop-auth.jar $RPM_BUILD_ROOT/%{lib_kite}/lib/ +%__ln_s %{lib_hadoop}/client/hadoop-common.jar $RPM_BUILD_ROOT/%{lib_kite}/lib/ +%__ln_s %{lib_hadoop}/client/hadoop-hdfs.jar $RPM_BUILD_ROOT/%{lib_kite}/lib/ + +%files +%defattr(-,root,root,755) +/usr/bin/kite-dataset +%{lib_kite} +%{lib_kite}/bin +%{lib_kite}/lib + diff --git a/bigtop-tests/smoke-tests/README b/bigtop-tests/smoke-tests/README index c480c322ea..f8adb3b71d 100644 --- a/bigtop-tests/smoke-tests/README +++ b/bigtop-tests/smoke-tests/README @@ -26,6 +26,7 @@ export FLUME_HOME=/usr/lib/flume/ export HIVE_CONF_DIR=/etc/hive/conf/ export JAVA_HOME="/usr/lib/jvm/java-openjdk/" export MAHOUT_HOME="/usr/lib/mahout" +export KITE_HOME="/usr/lib/kite" export ITEST="0.7.0" ``` diff --git a/bigtop-tests/smoke-tests/kite/TestKiteDataset.groovy b/bigtop-tests/smoke-tests/kite/TestKiteDataset.groovy new file mode 100644 index 0000000000..a7a11b8d49 --- /dev/null +++ b/bigtop-tests/smoke-tests/kite/TestKiteDataset.groovy @@ -0,0 +1,76 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +package org.apache.bigtop.itest.kite + +import static org.junit.Assert.assertTrue + +import org.junit.Assert +import org.junit.BeforeClass +import org.junit.AfterClass +import org.junit.Test +import org.apache.bigtop.itest.JarContent +import org.apache.bigtop.itest.TestUtils +import org.apache.commons.logging.LogFactory +import org.apache.commons.logging.Log +import java.lang.reflect.Constructor; +import junit.framework.TestCase; +import junit.framework.TestResult; +import org.junit.runner.RunWith + + +class TestKiteDataset { + static private Log LOG = LogFactory.getLog(Object.class); + + static Shell sh = new Shell("/bin/bash -s"); + + + @AfterClass + public static void tearDown() { + sh.exec("hadoop fs -rmr -skipTrash /tmp/kite"); + sh.exec("rm -rf *.avsc"); + + } + + @BeforeClass + static void setUp() { + + } + + @Test + void test() { + // Infer the Schema + sh.exec("kite-dataset csv-schema sandwiches.csv --class Sandwich -o sandwich.avsc"); + + // kite-dataset create sandwiches -s sandwich.avsc + sh.exec("kite-dataset create dataset:hdfs:/tmp/kite/sandwiches -s sandwich.avsc"); + + // Import the CSV Data + sh.exec("kite-dataset csv-import sandwiches.csv dataset:hdfs:/tmp/kite/sandwiches"); + + // Show the Results + sh.exec("kite-dataset show dataset:hdfs:/tmp/kite/sandwiches"); + sh.exec("kite-dataset show dataset:hdfs:/tmp/kite/sandwiches -n 1"); + + String r = sh.out; + LOG.info(r); + assertTrue("Incorrect record", r.contains("Reuben")); + + } +} diff --git a/bigtop-tests/smoke-tests/kite/build.gradle b/bigtop-tests/smoke-tests/kite/build.gradle new file mode 100644 index 0000000000..890c0d6525 --- /dev/null +++ b/bigtop-tests/smoke-tests/kite/build.gradle @@ -0,0 +1,54 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +apply plugin: 'groovy' + +repositories { + mavenCentral() +} + +dependencies { + //needed to avoid groovy not on classpath error. + testCompile module('org.codehaus.groovy:groovy:1.8.0') + testCompile group: 'org.apache.bigtop.itest', name: 'itest-common', version: itestVersion, transitive: 'true' +} + + +def tests_to_include() { + return [ + "TestKiteDataset.groovy" + ]; +} + +sourceSets { + test { + resources { + srcDirs = [ + 'conf/' + ] + } + groovy { + srcDirs = ["./"] + exclude { FileTreeElement elem -> (doExclude(elem.getName())) } + } + } +} + +test.doFirst { + checkEnv(["KITE_HOME"]) +} diff --git a/bigtop-tests/smoke-tests/kite/log4j.properties b/bigtop-tests/smoke-tests/kite/log4j.properties new file mode 100644 index 0000000000..db5aacfdcb --- /dev/null +++ b/bigtop-tests/smoke-tests/kite/log4j.properties @@ -0,0 +1,24 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Set root logger level to DEBUG and its only appender to A1. +log4j.rootLogger=TRACE, A1 + +# A1 is set to be a ConsoleAppender. +log4j.appender.A1=org.apache.log4j.ConsoleAppender + +# A1 uses PatternLayout. +log4j.appender.A1.layout=org.apache.log4j.PatternLayout +log4j.appender.A1.layout.ConversionPattern=%-4r [BIGTOP-TEST-LOG %t] %-5p %c %x --- %m%n diff --git a/bigtop-tests/smoke-tests/kite/sandwiches.csv b/bigtop-tests/smoke-tests/kite/sandwiches.csv new file mode 100644 index 0000000000..7a8fc2b31e --- /dev/null +++ b/bigtop-tests/smoke-tests/kite/sandwiches.csv @@ -0,0 +1,3 @@ +name,description +Reuben,Pastrami and sauerkraut on toasted rye with Russian dressing. +PBJ,Peanut butter and grape jelly on white bread. diff --git a/bigtop.mk b/bigtop.mk index 880acfabf2..ff19b7d9e1 100644 --- a/bigtop.mk +++ b/bigtop.mk @@ -374,3 +374,16 @@ YCSB_TARBALL_SRC=$(YCSB_BASE_VERSION).tar.gz YCSB_SITE=https://github.com/brianfrankcooper/YCSB/archive YCSB_ARCHIVE=$(YCSB_SITE) $(eval $(call PACKAGE,ycsb,YCSB)) + +# Kite +KITE_NAME=kite +KITE_RELNOTES_NAME=Kite Software Development Kit +KITE_PKG_NAME=kite +KITE_BASE_VERSION=1.1.0 +KITE_PKG_VERSION=$(KITE_BASE_VERSION) +KITE_RELEASE_VERSION=1 +KITE_TARBALL_SRC=release-$(KITE_BASE_VERSION).tar.gz +KITE_TARBALL_DST=kite-$(KITE_BASE_VERSION).tar.gz +KITE_SITE=https://github.com/kite-sdk/kite/archive +KITE_ARCHIVE=$(KITE_SITE) +$(eval $(call PACKAGE,kite,KITE)) diff --git a/pom.xml b/pom.xml index 217b79d477..74cc3c571b 100644 --- a/pom.xml +++ b/pom.xml @@ -52,6 +52,7 @@ 1.3.1 0.8.1.1 4.3.1 + 1.1.0 ${project.version} ${project.version}