You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by do...@apache.org on 2016/11/15 16:14:01 UTC

zeppelin git commit: [ZEPPELIN-1535] Override JNA version with 4.2.0 for Power PC users

Repository: zeppelin
Updated Branches:
  refs/heads/master 9bf56d9f6 -> 513f8755a


[ZEPPELIN-1535] Override JNA version with 4.2.0 for Power PC users

### What is this PR for?
For Power PC users, running embedded Cassandra fails because JNA version 4.0.0 is not working. Upgrading JNA to 4.2.0 works

### What type of PR is it?
**[Bug Fix]**

### Todos
* [] - Check by **Pravin Dsilva** and/or **sonali shrivastava** to ensure the fix works for them

### What is the Jira issue?
* [ZEPPELIN-1535]

### How should this be tested?

1. Checkout this PR with `git fetch origin pull/1631/head:CASSANDRA_JNA_FIX`
2. Switch to this brand `git checkout CASSANDRA_JNA_FIX`
2. Execute the following commands on a **Power PC** machine to build Zeppelin

```sh
>export MAVEN_OPTS="-Xmx2g -XX:MaxPermSize=1024m -Drat.numUnapprovedLicenses=128"
>mvn -Dhadoop.version=2.7.3 -Dspark.version=1.6.2 clean test -Drat.skip -fn
```

### Screenshots (if appropriate)

### Questions:
* Does the licenses files need update? --> **No**
* Is there breaking changes for older versions? --> **No**
* Does this needs documentation? --> **No**

[ZEPPELIN-1535]: https://issues.apache.org/jira/browse/ZEPPELIN-1535#

Author: doanduyhai <do...@apache.org>

Closes #1631 from doanduyhai/ZEPPELIN-1535 and squashes the following commits:

df3d73d [doanduyhai] Override JNA version with 4.2.0 for Power PC users


Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo
Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/513f8755
Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/513f8755
Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/513f8755

Branch: refs/heads/master
Commit: 513f8755a4c4d09b8191f3a46f4eed47c0dc3603
Parents: 9bf56d9
Author: doanduyhai <do...@apache.org>
Authored: Mon Nov 14 20:46:10 2016 +0100
Committer: doanduyhai <do...@apache.org>
Committed: Tue Nov 15 17:13:39 2016 +0100

----------------------------------------------------------------------
 cassandra/pom.xml | 11 +++++++++++
 1 file changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zeppelin/blob/513f8755/cassandra/pom.xml
----------------------------------------------------------------------
diff --git a/cassandra/pom.xml b/cassandra/pom.xml
index 01b7517..e425f48 100644
--- a/cassandra/pom.xml
+++ b/cassandra/pom.xml
@@ -132,6 +132,13 @@
         </dependency>
 
         <dependency>
+            <groupId>net.java.dev.jna</groupId>
+            <artifactId>jna</artifactId>
+            <version>4.2.0</version>
+            <scope>test</scope>
+        </dependency>
+
+        <dependency>
             <groupId>info.archinnov</groupId>
             <artifactId>achilles-embedded</artifactId>
             <version>${achilles.version}</version>
@@ -145,6 +152,10 @@
                     <groupId>ch.qos.logback</groupId>
                     <artifactId>logback-classic</artifactId>
                 </exclusion>
+                <exclusion>
+                    <groupId>net.java.dev.jna</groupId>
+                    <artifactId>jna</artifactId>
+                </exclusion>
             </exclusions>
         </dependency>