Skip to content
Closed
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions docs/interpreter/geode.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ group: manual
---
{% include JB/setup %}

> **Note**: The Geode jar dependencies are compiled with `JDK8` ([ZEPPELIN-375](https://issues.apache.org/jira/browse/ZEPPELIN-375) and [GEODE-479](https://issues.apache.org/jira/browse/GEODE-479)). The Geode module is `disabled for JDK7` environments. It is `automatically enabled for JDK8+` environment. Geode will be enabled event if the java source/target parameters are set to 1.7 as long as the compiler is JDK8+. You can enable the Geode module manually by activating the `geode` profile:
```
mvn clean package -Pgeode -Pbuild-distr
```

> Also you can use the `maven.compiler.source` and `maven.compiler.source` properties to override the default (1.7) source/target java compilation settings:
```
mvn .... -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8
```

## Geode/Gemfire OQL Interpreter for Apache Zeppelin
<table class="table-configuration">
<tr>
Expand Down Expand Up @@ -33,6 +43,7 @@ This interpreter supports the [Geode](http://geode.incubator.apache.org/) [Objec

This [Video Tutorial](https://www.youtube.com/watch?v=zvzzA9GXu3Q) illustrates some of the features provided by the `Geode Interpreter`.


### Create Interpreter
By default Zeppelin creates one `Geode/OQL` instance. You can remove it or create more instances.

Expand Down
3 changes: 3 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,9 @@
<!-- Geode can be enabled by -Pgeode. see https://issues.apache.org/jira/browse/ZEPPELIN-375 -->
<profile>
<id>geode</id>
<activation>
<jdk>[1.8,1.9]</jdk>
</activation>
<modules>
<module>geode</module>
</modules>
Expand Down
29 changes: 29 additions & 0 deletions zeppelin-distribution/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,35 @@
</build>

<profiles>
<!-- Enable the Geode binary generation. Activated automatically if Java8 is used or the -Pgeode profile is set.
See https://issues.apache.org/jira/browse/ZEPPELIN-375 -->
<profile>
<id>geode</id>
<activation>
<jdk>[1.8,1.9]</jdk>
</activation>
<dependencies>
<dependency>
<groupId>org.apache.zeppelin</groupId>
<artifactId>zeppelin-geode</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>publish-distr</id>
<activation>
Expand Down