Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quickinstall now modular for upgrading, extra hints for Accumulo happiness #1

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
33 changes: 33 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,39 @@ There are three steps to install the AccumuloBook QuickInstall.

./bin/install

Other install notes:

- You may need to install openssh if the script complains that it
cannot ssh into localhost. One way to do this is by:

$ sudo apt-get install openssh-server

Then, if you do not have an ssh key (usually called id_rsa/id_rsa.pub in ~/.ssh):
*this will overwrite your ssh key if you already have one*

ssh-keygen -q -t rsa -P "" -f ~/.ssh/id_rsa
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys

- If you are annoyed at seeing messages of the form
"WARN : Max open files on localhost is 1024, recommend 32768",
you can get rid of the message (after restarting the computer) with

sudo echo 'dhutchis soft nofile 32768' >> /etc/security/limits.conf
sudo echo 'dhutchis hard nofile 32768' >> /etc/security/limits.conf

- If you are annoyed at seeing messages of the form
"System swappiness setting is greater than ten (60) which can cause time-sensitive operations to be delayed."
you can get rid of the message with

sudo echo 'vm.swappiness = 10' >> /etc/sysctl.conf
sudo sysctl vm.swappiness=10

- The tracer process may die on the first run of Accumulo. Don't worry, just restart Accumulo
and the tracer will work fine. The reason is that we change the user/pass of the tracer process to trace/trace.

- This install uses the 2GB default configuration of the Accumulo parameters.
Feel free to tweak in accumulo-site.xml.

******************************************************************************
2. Usage

Expand Down
56 changes: 49 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<groupId>com.accumulobook</groupId>
<artifactId>accumulo-quickinstall</artifactId>
<packaging>pom</packaging>
<version>1.6.1</version>
<version>1.7.1</version>
<description>Create a standalone distribution of the Apache Accumulo
Project version ${project.version} with dependencies</description>
<name>AccumuloBook QuickInstall</name>
Expand All @@ -21,15 +21,20 @@
</pluginRepositories>
<properties>
<quickinstall.location>${project.build.directory}/archive-tmp</quickinstall.location>
<!-- Some issues upgrading to 2.7.1, or even 2.6.1. -->
<hadoop.version>2.4.1</hadoop.version>
<hadoop.url>http://archive.apache.org/dist/hadoop/core/hadoop-${hadoop.version}/hadoop-${hadoop.version}.tar.gz</hadoop.url>
<hadoop.filename>hadoop-${hadoop.version}.tar.gz</hadoop.filename>
<hadoop.url>http://archive.apache.org/dist/hadoop/core/hadoop-${hadoop.version}/${hadoop.filename}</hadoop.url>
<hadoop.md5>0ce4cfd282002b7aa42cf71df4145150</hadoop.md5>
<zookeeper.version>3.4.6</zookeeper.version>
<zookeeper.url>http://archive.apache.org/dist/zookeeper/zookeeper-${zookeeper.version}/zookeeper-${zookeeper.version}.tar.gz</zookeeper.url>
<zookeeper.filename>zookeeper-${zookeeper.version}.tar.gz</zookeeper.filename>
<zookeeper.url>http://archive.apache.org/dist/zookeeper/zookeeper-${zookeeper.version}/${zookeeper.filename}</zookeeper.url>
<zookeeper.md5>971c379ba65714fd25dc5fe8f14e9ad1</zookeeper.md5>
<accumulo.version>${project.version}</accumulo.version>
<accumulo.url>http://archive.apache.org/dist/accumulo/${accumulo.version}/accumulo-${accumulo.version}-bin.tar.gz</accumulo.url>
<accumulo.md5>523d3ab55a6fe2b48c0a1d012f9c2ffc</accumulo.md5>
<accumulo.filename>accumulo-${accumulo.version}-bin.tar.gz</accumulo.filename>
<accumulo.url>http://archive.apache.org/dist/accumulo/${accumulo.version}/${accumulo.filename}</accumulo.url>
<accumulo.md5>4b114b00709f2238491ee56696535ad7</accumulo.md5>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<plugins>
Expand Down Expand Up @@ -95,15 +100,52 @@
<resources>
<resource>
<directory>src/main/resources</directory>
<!--
<filtering>true</filtering>
<excludes>
<exclude>hadoop-x.x.x/**</exclude>
<exclude>zookeeper-x.x.x/**</exclude>
<exclude>accumulo-x.x.x/**</exclude>
</excludes>
<includes>
<include>bin/install</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
<filtering>false</filtering>
-->
<excludes>
<exclude>hadoop-x.x.x/**</exclude>
<exclude>zookeeper-x.x.x/**</exclude>
<exclude>accumulo-x.x.x/**</exclude>
<exclude>bin/install</exclude>
</excludes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
<executions>
<execution>
<id>mover</id>
<phase>package</phase>
<configuration>
<target>
<copy todir="${quickinstall.location}/hadoop-${hadoop.version}"><fileset dir="${project.basedir}/src/main/resources/hadoop-x.x.x"/></copy>
<copy todir="${quickinstall.location}/zookeeper-${zookeeper.version}"><fileset dir="${project.basedir}/src/main/resources/zookeeper-x.x.x"/></copy>
<copy todir="${quickinstall.location}/accumulo-${accumulo.version}"><fileset dir="${project.basedir}/src/main/resources/accumulo-x.x.x"/></copy>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
Expand Down
Loading