[ 
https://issues.apache.org/jira/browse/BEAM-4357?focusedWorklogId=105317&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-105317
 ]

ASF GitHub Bot logged work on BEAM-4357:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 23/May/18 20:45
            Start Date: 23/May/18 20:45
    Worklog Time Spent: 10m 
      Work Description: lukecwik commented on a change in pull request #5443: 
[BEAM-4357]  Fix shadow jar and test it
URL: https://github.com/apache/beam/pull/5443#discussion_r190393045
 
 

 ##########
 File path: build_rules.gradle
 ##########
 @@ -332,6 +328,12 @@ ext.DEFAULT_SHADOW_CLOSURE = {
     exclude "com.google.common.util.concurrent.testing.**"
   }
 }
+ext.DEFAULT_SHADOW_CLOSURE = ext.RELOCATE_SHADOW_CLOSURE << {
+  dependencies {
+    exclude(".*")
 
 Review comment:
   Try to merge the fixes the Boyuan is working through for the 
sdks/java/harness

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 105317)
    Time Spent: 2.5h  (was: 2h 20m)

> SQL shaded jar returns NoClassDefFoundError
> -------------------------------------------
>
>                 Key: BEAM-4357
>                 URL: https://issues.apache.org/jira/browse/BEAM-4357
>             Project: Beam
>          Issue Type: Bug
>          Components: dsl-sql
>    Affects Versions: 2.5.0
>            Reporter: Andrew Pilloud
>            Assignee: Andrew Pilloud
>            Priority: Blocker
>             Fix For: 2.5.0
>
>          Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> com/fasterxml/jackson/databind/ObjectMapper
> I ran this:
> {code:java}
> java -cp 
> ./sdks/java/extensions/sql/build/libs/beam-sdks-java-extensions-sql-2.5.0-SNAPSHOT-shaded.jar:$HOME/sqlline/sqlline-1.3.0.jar:$HOME/sqlline/jline-2.14.6.jar
>  sqlline.SqlLine -u 'jdbc:beam:' -n admin -p admin{code}
>  



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

Reply via email to