Skip to content

Commit 73e9b84

Browse files
committed
Download page and documentation updates
1 parent 670555a commit 73e9b84

File tree

9 files changed

+63
-38
lines changed

9 files changed

+63
-38
lines changed

.utility/changelog-generator.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
if [ "$TRAVIS_REPO_SLUG" == "ngageoint/geowave" ] && [ "$TRAVIS_JDK_VERSION" == "oraclejdk7" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ]
3+
if [ "$TRAVIS_REPO_SLUG" == "ngageoint/geowave" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ]
44
then
55
gem install github_changelog_generator
66
github_changelog_generator

.utility/push-javadoc-to-gh-pages.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
if [ "$TRAVIS_REPO_SLUG" == "ngageoint/geowave" ] && [ "$TRAVIS_JDK_VERSION" == "oraclejdk7" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ]; then
3+
if [ "$TRAVIS_REPO_SLUG" == "ngageoint/geowave" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ]; then
44

55
echo -e "Publishing site ...\n"
66

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ Basically, GeoWave is working to bridge geospatial software with distributed com
2323
* A [changelog is available](http://ngageoint.github.io/geowave/changelog.html) which details the changes and features for each of our [github releases](https://github.com/ngageoint/geowave/releases)
2424

2525
## The Software
26-
* We have a [RPM repository](http://s3.amazonaws.com/geowave-rpms/index.html)
26+
* We have a [RPM repository](http://ngageoint.github.io/geowave/packages.html)
2727
* See [Documentation: Installation from RPM](http://ngageoint.github.io/geowave/documentation.html#installation-from-rpm) for more info.
2828
* Deb packages if enough people request them
2929
* We have [Maven artifact repositories](http://ngageoint.github.io/geowave/documentation.html#maven-repositories) (indexes not enabled, but it works in a maven repo fragment)
3030
* Releases: http://geowave-maven.s3-website-us-east-1.amazonaws.com/release
3131
* Snapshots: http://geowave-maven.s3-website-us-east-1.amazonaws.com/snapshot (nightly)
3232
* We have a [vagrant dev environment](https://github.com/ngageoint/geowave/tree/master/vagrant)
33-
* We have a development all in one RPM package: "geowave-repo-dev"
33+
* We have a development all in one RPM package: "geowave-cdh5-single-host"
3434
* And you can always [build from source](http://ngageoint.github.io/geowave/documentation.html#installation-from-source)
3535

3636

docs/content/050-framework.adoc

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,6 @@ http://www.naturalearthdata.com/downloads/50m-cultural-vectors/[50m Cultural Vec
7171
Let's download the Admin 0 - Countries shapefile:
7272
http://naciscdn.org/naturalearth/50m/cultural/ne_50m_admin_0_countries.zip[ne_50m_admin_0_countries.zip]
7373

74-
Okay, let's ingest this. I'll take some liberty with the file locations,
75-
but the process should be obvious
76-
7774
[source, bash]
7875
----
7976
$ mkdir ingest
@@ -82,5 +79,16 @@ $ cd ingest
8279
$ unzip ne_50m_admin_0_countries.zip
8380
$ rm ne_50m_admin_0_countries.zip
8481
$ cd ..
85-
$ geowave-ingest -localingest -b ./ingest -i ACCUMULO_INSTANCE_NAME -n geowave.50m_admin_0_countries -t geotools-vector -u USERNAME -p PASSWORD -z zoo-1:2181
82+
$ geowave-ingest -localingest \
83+
-b ./ingest \
84+
-i ACCUMULO_INSTANCE_NAME \
85+
-n geowave.50m_admin_0_countries \ <1>
86+
-t geotools-vector \ <2>
87+
-u USERNAME \
88+
-p PASSWORD \
89+
-z ZOOKEEPER_HOST_NAME:2181
8690
----
91+
<1> We preface the table name with the Accumulo namespace we configured earlier in the Accumulo configuration section followed by a dot (NAMESPACE.TABLE_NAME)
92+
<2> Ensure you match the correct GeoWave ingest plugin type for the data you are ingesting
93+
94+
After running the ingest command you should see the various index tables in Accumulo

docs/content/075-install-from-rpm.adoc

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,18 @@
44

55
=== Overview
66

7-
There is a public http://s3.amazonaws.com/geowave-rpms/index.html[GeoWave RPM Repo] available with the following packages.
7+
There is a public http://ngageoint.github.io/geowave/packages.html[GeoWave RPM Repo] available with the following packages.
88
As you'll need to coordinate a restart of Accumulo to pick up changes to the GeoWave iterator classes the repos default to
99
be disabled so you can keep auto updates enabled. When ready to do an update simply add `--enablerepo=geowave` to your
10-
command.
10+
command. The packages are built for a number of different hadoop distributions (Cloudera, Hortonworks and Apache) the RPMs
11+
have the vendor name embedded as the second portion of the rpm name (geowave-apache-accumulo, geowave-hdp2-accumulo or geowave-cdh5-accumulo)
1112

1213
=== Examples
1314

1415
[source, bash]
1516
----
1617
# Use GeoWave repo RPM to configure a host and search for GeoWave RPMs to install
17-
rpm -Uvh http://s3.amazonaws.com/geowave-rpms/release/noarch/geowave-repo-dev-1.0-3.noarch.rpm
18+
rpm -Uvh http://s3.amazonaws.com/geowave-rpms/release/noarch/geowave-repo-1.0-3.noarch.rpm
1819
yum --enablerepo=geowave search geowave
1920
2021
# Install GeoWave Accumulo iterator on a host (probably a namenode)
@@ -31,26 +32,26 @@ Restart Accumulo service
3132
|Name
3233
|Description
3334

34-
|geowave-cdh5-accumulo
35+
|geowave-*-accumulo
3536
|Accumulo Components
3637

37-
|geowave-cdh5-core
38+
|geowave-*-core
3839
|Core (home directory and geowave user)
3940

40-
|geowave-cdh5-docs
41+
|geowave-*-docs
4142
|Documentation (HTML, PDF and man pages)
4243

43-
|geowave-cdh5-ingest
44+
|geowave-*-ingest
4445
|Ingest Tool
4546

46-
|geowave-cdh5-jetty
47-
|GeoServer Components
47+
|geowave-*-jetty
48+
|GeoServer components installed into /usr/local/geowave/geoserver and available at http://FQDN:8080/geoserver
4849

49-
|geowave-cdh5-puppet
50+
|geowave-*-puppet
5051
|Puppet Scripts
5152

52-
|geowave-cdh5-single-host
53-
|All GeoWave Components
53+
|geowave-*-single-host
54+
|All GeoWave Components installed on a single host (sometimes useful for development)
5455

5556
|geowave-repo
5657
|GeoWave RPM Repo config file
@@ -59,3 +60,12 @@ Restart Accumulo service
5960
|GeoWave Development RPM Repo config file
6061

6162
|===
63+
64+
65+
=== RPM Installation Notes
66+
67+
* geowwave-cdh5-accumulo: This RPM will install the GeoWave Accumulo iterator into the local file system and then upload
68+
it into HDFS using the `hadoop fs -put` command. This means of deployment requires that the RPM is installed on a node that
69+
has the correct binaries and configuration in place to push files to HDFS, like your namenode.
70+
* With the exception of the Accumulo RPM mentioned above you can install the rest of the RPMs all on a single node or
71+
a mix of nodes depending on your cluster configuration. All GeoWave files get installed into the `/usr/local/geowave/' directory

docs/content/080-install-from-source.adoc

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,33 @@
66

77
==== GeoServer Versions
88

9-
GeoWave is currently built against GeoServer 2.6.1 and GeoTools 12.1 with the GeoTools version linked to the GeoServer
10-
version. If wish to deploy against a different version simply change the value in the pom and rebuild (see: building) -
11-
but no guarantees.
9+
GeoWave has to be built against specific versions of GeoWave and GeoTools. To see the currently supported versions look at
10+
the build matrix section of the .travis.yml file in the root directory of the project. All of the examples below use the variable
11+
$BUILD_ARGS to represent your choice of all the dependency versions.
12+
13+
Example build args:
14+
15+
[source, bash]
16+
----
17+
export BUILD_ARGS="-Daccumulo.version=1.6.0 -Dhadoop.version=2.5.0-cdh5.3.0 -Dgeotools.version=13.0 -Dgeoserver.version=2.7.0 -P cloudera"
18+
----
1219

1320
==== GeoServer Install
1421

1522
First we need to build the GeoServer plugin - from the GeoWave root directory:
1623

1724
[source, bash]
1825
----
19-
$ cd geowave-gt
20-
$ mvn package -Pgeotools-container-singlejar
26+
$ cd geowave-deploy
27+
$ mvn package -P geotools-container-singlejar $BUILD_ARGS
2128
----
2229

2330
let's assume you have GeoServer deployed in a Tomcat container in
2431
/opt/tomcat
2532

2633
[source, bash]
2734
----
28-
$ cp target/geowave-gt-*-geoserver-singlejar.jar /opt/tomcat/webapps/geoserver/WEB-INF/lib/
35+
$ cp geowave-deploy/target/*-geoserver-singlejar.jar /opt/tomcat/webapps/geoserver/WEB-INF/lib/
2936
----
3037

3138
and re-start Tomcat
@@ -43,6 +50,6 @@ This should be very familiar by now; from the geowave root directory:
4350

4451
[source, bash]
4552
----
46-
$ cd geowave-gt
47-
$ mvn package -Paccumulo-container-singlejar
53+
$ cd geowave-deploy
54+
$ mvn package -P accumulo-container-singlejar $BUILD_ARGS
4855
----

docs/content/100-documentation.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ To preview the entire finished page web page or see the generated PDF you'll nee
3838
.Generate Documentation
3939
----
4040
cd geowave
41-
mvn -P docs -pl docs install # <1>
41+
mvn -P docs -pl docs install <1>
4242
----
4343
<1> -pl docs = Process _only_ the docs module. Skips the javadoc generation step.
4444

@@ -49,10 +49,10 @@ The source documents will be transformed and will be available for inspection in
4949
To build all the content used for the https://ngageoint.github.io/geowave/[GeoWave website] use the following command. The
5050
entire site, including both docs and javadocs, will be available for inspection in the `geowave/target/site/` directory.
5151

52-
+[source, bash]
53-
+.Generate Website
54-
+----
55-
+ cd geowave
56-
+ mvn -P docs install
57-
+----
52+
[source, bash]
53+
.Generate Website
54+
----
55+
cd geowave
56+
mvn -P docs install
57+
----
5858

docs/content/105-puppet.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The port on which the Jetty application server will run, defaults to 8080.
3131

3232
repo_base_url::
3333
Used with the optional geowave::repo class to point the local package management system at a source for GeoWave RPMs.
34-
The default location is http://s3.amazonaws.com/geowave-rpms/dev/noarch/
34+
The default location is http://s3.amazonaws.com/geowave-rpms/release/noarch/
3535

3636
repo_enabled::
3737
To pick up an updated Accumulo iterator you'll need to restart the Accumulo service. As we don't want to pick up new
@@ -97,7 +97,7 @@ node 'c1-app-01' {
9797

9898
=== Puppet script management
9999

100-
As mentioned in the overview the scripts are available from within the http://s3.amazonaws.com/geowave-rpms/index.html[GeoWave source tar bundle^]
100+
As mentioned in the overview the scripts are available from within the http://ngageoint.github.io/geowave/packages.html[GeoWave source tar bundle^]
101101
(Search for gz to filter the list) or you could use the RPM package to install and pick up future updates on your puppet server.
102102

103103
==== Source Archive

docs/content/packages.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ <h3>Development Packages</h3>
246246
var currentTab, REFRESH_INTERVAL = 900000;
247247

248248
var list = new S3List({
249-
url: 'http://s3.amazonaws.com/geowave-rpms/',
249+
url: '//s3.amazonaws.com/geowave-rpms/',
250250
list: ['repodata', '.html'],
251251
cache: REFRESH_INTERVAL - 1
252252
});

0 commit comments

Comments
 (0)