You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Wilson Guevara (JIRA)" <ji...@apache.org> on 2018/02/09 20:05:00 UTC

[jira] [Created] (ZEPPELIN-3217) Dependency error when loading zeppelin inside of EMR environment

Wilson Guevara created ZEPPELIN-3217:
----------------------------------------

             Summary: Dependency error when loading zeppelin inside of EMR environment
                 Key: ZEPPELIN-3217
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-3217
             Project: Zeppelin
          Issue Type: Bug
    Affects Versions: 0.8.0
            Reporter: Wilson Guevara
         Attachments: pastedImage.png

The  zeppelin functionality of S3NotebookRepo fails with the attached stacktrace.

*Environment:*

It was noticed when testing a dockerized zeppelin (*branch-0.8)* inside of an EMR.

*Explanation:*

The error points to a lacking method inside of com.amazonaws:aws-java-sdk dependency. And, when we listed the zeppelin dependencies we saw two different versions of this dependency:

 *- _com.amazonaws:aws-java-sdk:1.7.4_*

 *- _com.amazonaws:aws-java-sdk-core:1.10.62_*

 *- _com.amazonaws:aws-java-sdk-kms:1.10.62_*

 *- _com.amazonaws:aws-java-sdk-s3:1.10.62_*

The first dependency has the oldest version 1.7.4 wish doesn't include the stack-trace specified method isInRegionOptimizeModeEnabled(). This dependency is added indirectly by another dependency: *_org.apache.hadoop:hadoop-aws:2.7.3_*

*Posible solutions:*

We thing this issue was added when the changes in [ZEPPELIN-3184|https://issues.apache.org/jira/browse/ZEPPELIN-3184] were added.

In our environment we solved it by excluding the conflicting dependency:

{{  <exclusion>}}
{{    <groupId>com.amazonaws</groupId>}}
{{    <artifactId>aws-java-sdk</artifactId>}}
{{  </exclusion>}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)