[ 
https://issues.apache.org/jira/browse/FLINK-10726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16668994#comment-16668994
 ] 

ASF GitHub Bot commented on FLINK-10726:
----------------------------------------

asfgit closed pull request #6964: [FLINK-10726] [table] Include 
flink-table-common in flink-table jar
URL: https://github.com/apache/flink/pull/6964
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/flink-libraries/flink-table/pom.xml 
b/flink-libraries/flink-table/pom.xml
index 536f9c9b4d4..14653710b4e 100644
--- a/flink-libraries/flink-table/pom.xml
+++ b/flink-libraries/flink-table/pom.xml
@@ -282,6 +282,7 @@ under the License.
                                                                        
<include>commons-lang:*</include>
 
                                                                        <!-- 
flink-table dependencies -->
+                                                                       
<include>org.apache.flink:flink-table-common</include>
                                                                        
<include>commons-codec:*</include>
                                                                        
<include>org.apache.commons:commons-lang3</include>
                                                                        
<include>org.codehaus.janino:*</include>


 

----------------------------------------------------------------
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


> Streaming SQL end-to-end test fails due to recent flink-table-common changes
> ----------------------------------------------------------------------------
>
>                 Key: FLINK-10726
>                 URL: https://issues.apache.org/jira/browse/FLINK-10726
>             Project: Flink
>          Issue Type: Bug
>          Components: E2E Tests, Table API &amp; SQL
>    Affects Versions: 1.7.0
>            Reporter: Timo Walther
>            Assignee: Timo Walther
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.7.0
>
>
> The streaming SQL end-to-end test fails with:
> {code}
> java.lang.NoClassDefFoundError: org/apache/flink/table/api/TableException
>       at 
> org.apache.flink.sql.tests.StreamSQLTestProgram.main(StreamSQLTestProgram.java:85)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:498)
>       at 
> org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:529)
>       at 
> org.apache.flink.client.program.PackagedProgram.invokeInteractiveModeForExecution(PackagedProgram.java:421)
>       at 
> org.apache.flink.client.program.ClusterClient.run(ClusterClient.java:427)
>       at 
> org.apache.flink.client.cli.CliFrontend.executeProgram(CliFrontend.java:813)
>       at 
> org.apache.flink.client.cli.CliFrontend.runProgram(CliFrontend.java:287)
>       at org.apache.flink.client.cli.CliFrontend.run(CliFrontend.java:213)
>       at 
> org.apache.flink.client.cli.CliFrontend.parseParameters(CliFrontend.java:1050)
>       at 
> org.apache.flink.client.cli.CliFrontend.lambda$main$11(CliFrontend.java:1126)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at javax.security.auth.Subject.doAs(Subject.java:422)
>       at 
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1556)
>       at 
> org.apache.flink.runtime.security.HadoopSecurityContext.runSecured(HadoopSecurityContext.java:41)
>       at org.apache.flink.client.cli.CliFrontend.main(CliFrontend.java:1126)
> Caused by: java.lang.ClassNotFoundException: 
> org.apache.flink.table.api.TableException
>       at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>       at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>       ... 18 more
> {code}
> This has to do with the recent dependency changes for introducing a 
> {{flink-table-common}} module.



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

Reply via email to