Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Accumulo >> mail # user >> [VOTE] 1.5.0-RC2


Copy link to this message
-
Re: [VOTE] 1.5.0-RC2
I'm not sure if this helps, but we had developed a Makefile off of Chris's
release candidate. It installs accumulo into /usr/lib and uses fpm to build
the rpm.
SHELL=/bin/bash

# All the files/targets that are files - used for default target and clean
DERIVED_FILES= usr var etc accumulo.tar.gz accumulo
accumulo-1.5.0-1.x86_64.rpm
# Misc macros
PROXIED_GIT=`if [ -n "$(PROXY_URL)" ] ; then echo https_proxy=$(PROXY_URL)
; fi` git
PROXIED_CURL=curl `if [ -n "$(PROXY_URL)" ] ; then echo -x $(PROXY_URL) ;
fi`
ACCUMULO_RELEASE="
https://repository.apache.org/content/repositories/orgapacheaccumulo-177/org/apache/accumulo/accumulo/1.5.0/accumulo-1.5.0-source-release.tar.gz
"

default: $(DERIVED_FILES)

clean:
rm -rf $(DERIVED_FILES)

usr:
if [ ! -d usr/lib ] ; then mkdir -p usr/lib ; fi

var:
if [ ! -d var/log ] ; then mkdir -p var/log ; fi

etc:
if [ ! -d etc ] ; then mkdir etc ; fi

accumulo.tar.gz:
$(PROXIED_CURL) $(ACCUMULO_RELEASE) > accumulo.tar.gz

accumulo:
if [ ! -d accumulo ] ; then mkdir accumulo  ; fi
tar -C accumulo --strip-components=1 -xzf /tmp/accumulo.tar.gz
cd accumulo ; mvn package -DskipTests=true -P assemble -Dhadoop.profile=2.0
; cd server/src/main/c++ ; make
mkdir -p var/log/accumulo
mkdir -p etc/accumulo
mv -n accumulo/conf etc/accumulo/
ln -s etc/accumulo/conf accumulo/conf
ln -s var/log/accumulo accumulo/logs
mv -n accumulo usr/lib

accumulo-1.5.0-1.x86_64.rpm:
fpm -s dir -t rpm -v 1.5.0 -n accumulo usr/lib/accumulo var/log/accumulo
etc/accumulo/conf

.PHONY: usr var etc accumulo

On Thu, May 9, 2013 at 2:34 PM, Keith Turner <[EMAIL PROTECTED]> wrote:

> Are you thinking of maunually renaming the tar, rpm, and debs, replacing
> accumulo-assemble w/ accumulo, when these are pushed out to mirrors?  For
> the tar this would require untar, rename, tar and recomputing the sigs and
> hashes.
>
>
>
> On Wed, May 8, 2013 at 8:31 PM, Christopher <[EMAIL PROTECTED]> wrote:
>
>> 1.5.0-RC2 for review. Might as well vote, also, as it's easily
>> recalled if it's not up to par.
>>
>> https://repository.apache.org/content/repositories/orgapacheaccumulo-024/
>>
>> --
>> Christopher L Tubbs II
>> http://gravatar.com/ctubbsii
>>
>>
>>
>> ---------- Forwarded message ----------
>> From: Nexus Repository Manager <[EMAIL PROTECTED]>
>> Date: Wed, May 8, 2013 at 8:26 PM
>> Subject: Nexus: Staging Completed.
>> To: Christopher Tubbs <[EMAIL PROTECTED]>
>>
>>
>> Description:
>>
>> 1.5.0-RC2
>>
>> Details:
>>
>> The following artifacts have been staged to the
>> org.apache.accumulo-024 (u:ctubbsii, a:173.66.3.39) repository.
>>
>> archetype-catalog.xml
>> accumulo-1.5.0-source-release.zip
>> accumulo-1.5.0-source-release.tar.gz.asc
>> accumulo-1.5.0.pom
>> accumulo-1.5.0-site.xml
>> accumulo-1.5.0.pom.asc
>> accumulo-1.5.0-source-release.zip.asc
>> accumulo-1.5.0-source-release.tar.gz
>> accumulo-1.5.0-site.xml.asc
>> accumulo-examples-1.5.0.pom.asc
>> accumulo-examples-1.5.0.pom
>> accumulo-core-1.5.0.pom.asc
>> accumulo-core-1.5.0-javadoc.jar
>> accumulo-core-1.5.0-sources.jar
>> accumulo-core-1.5.0-javadoc.jar.asc
>> accumulo-core-1.5.0.pom
>> accumulo-core-1.5.0.jar
>> accumulo-core-1.5.0-sources.jar.asc
>> accumulo-core-1.5.0.jar.asc
>> accumulo-examples-simple-1.5.0.jar
>> accumulo-examples-simple-1.5.0.jar.asc
>> accumulo-examples-simple-1.5.0-javadoc.jar.asc
>> accumulo-examples-simple-1.5.0.pom.asc
>> accumulo-examples-simple-1.5.0-sources.jar
>> accumulo-examples-simple-1.5.0-javadoc.jar
>> accumulo-examples-simple-1.5.0-sources.jar.asc
>> accumulo-examples-simple-1.5.0.pom
>> accumulo-test-1.5.0-sources.jar.asc
>> accumulo-test-1.5.0.pom
>> accumulo-test-1.5.0.jar.asc
>> accumulo-test-1.5.0.pom.asc
>> accumulo-test-1.5.0-javadoc.jar.asc
>> accumulo-test-1.5.0-sources.jar
>> accumulo-test-1.5.0.jar
>> accumulo-test-1.5.0-javadoc.jar
>> accumulo-assemble-1.5.0.pom
>> accumulo-assemble-1.5.0-test.deb
>> accumulo-assemble-1.5.0-test.deb.asc
>> accumulo-assemble-1.5.0-native.deb
>> accumulo-assemble-1.5.0-bin.rpm.asc