You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fluo.apache.org by mw...@apache.org on 2017/06/27 15:44:11 UTC
[incubator-fluo] branch master updated: Fixes #873 Upgrade Fluo
version in docs
This is an automated email from the ASF dual-hosted git repository.
mwalch pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-fluo.git
The following commit(s) were added to refs/heads/master by this push:
new 4f255a4 Fixes #873 Upgrade Fluo version in docs
4f255a4 is described below
commit 4f255a41de2bef60cf38a484b4ce91b3dea2e84f
Author: Mike Walch <mw...@apache.org>
AuthorDate: Tue Jun 13 12:31:34 2017 -0400
Fixes #873 Upgrade Fluo version in docs
* Fixed markdown so Java code would render on website
* Fixed spelling errors in applications.md
---
docs/applications.md | 15 ++++++++-------
docs/install.md | 4 ++--
2 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/docs/applications.md b/docs/applications.md
index 45e3412..2cce6c0 100644
--- a/docs/applications.md
+++ b/docs/applications.md
@@ -26,12 +26,12 @@ For both clients and observers, you will need to include the following in your M
<dependency>
<groupId>org.apache.fluo</groupId>
<artifactId>fluo-api</artifactId>
- <version>1.0.0-incubating</version>
+ <version>1.1.0-incubating</version>
</dependency>
<dependency>
<groupId>org.apache.fluo</groupId>
<artifactId>fluo-core</artifactId>
- <version>1.0.0-incubating</version>
+ <version>1.1.0-incubating</version>
<scope>runtime</scope>
</dependency>
```
@@ -100,9 +100,9 @@ public class AppCommand {
To create an observer, follow these steps:
-1. Create one or more classes that extend [Observer] like the example below. Please use [slf4j] for
- any logging in observers as [slf4j] supports multiple logging implementations. This is
- necessary as Fluo applications have a hard requirement on [logback] when running in YARN.
+1. Create one or more classes that extend [Observer] like the example below. Please use [slf4j] for
+ any logging in observers as [slf4j] supports multiple logging implementations. This is
+ necessary as Fluo applications have a hard requirement on [logback] when running in YARN.
```java
public class InvertObserver implements Observer {
@@ -116,6 +116,7 @@ To create an observer, follow these steps:
}
}
```
+
2. Create a class that implements [ObserverProvider] like the example below. The purpose of this
class is associate a set Observers with columns that trigger the observers. The class can
register multiple observers.
@@ -128,7 +129,7 @@ To create an observer, follow these steps:
or.forColumn(new Column("obs", "data"), NotificationType.STRONG)
.useObserver(new InvertObserver());
- //Observer is a Functional interface. So Obsevers can be written as lambdas.
+ //Observer is a Functional interface. So Observers can be written as lambdas.
or.forColumn(new Column("new","data"), NotificationType.WEAK)
.useObserver((tx,row,col) -> {
Bytes combined = combineNewAndOld(tx,row);
@@ -138,7 +139,7 @@ To create an observer, follow these steps:
}
```
-3. Build a jar containing thses classes and include this jar in the `lib/` directory of your Fluo
+3. Build a jar containing these classes and include this jar in the `lib/` directory of your Fluo
application.
4. Configure your Fluo instance to use this observer provider by modifying the Observer section of
[fluo.properties].
diff --git a/docs/install.md b/docs/install.md
index 818249f..3201124 100644
--- a/docs/install.md
+++ b/docs/install.md
@@ -49,7 +49,7 @@ After you obtain a Fluo distribution tarball, follow these steps to install Fluo
1. Choose a directory with plenty of space and untar the distribution:
- tar -xvzf fluo-1.0.0-incubating-bin.tar.gz
+ tar -xvzf fluo-1.1.0-incubating-bin.tar.gz
2. Copy the example configuration to the base of your configuration directory to create the default
configuration for your Fluo install:
@@ -93,7 +93,7 @@ invoked by this script.
Modify and add the following to your `~/.bashrc` if you want to be able to execute the fluo script
from any directory:
- export PATH=/path/to/fluo-1.0.0-incubating/bin:$PATH
+ export PATH=/path/to/fluo-1.1.0-incubating/bin:$PATH
Source your `.bashrc` for the changes to take effect and test the script
--
To stop receiving notification emails like this one, please contact
['"commits@fluo.apache.org" <co...@fluo.apache.org>'].