flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-10657) TPCHQuery3 fail with IllegalAccessException
Date Thu, 25 Oct 2018 07:00:01 GMT

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

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

zentol closed pull request #6912: [FLINK-10657] TPCHQuery3 fail with IllegalAccessException
URL: https://github.com/apache/flink/pull/6912
 
 
   

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-examples/flink-examples-batch/src/main/java/org/apache/flink/examples/java/relational/TPCHQuery3.java
b/flink-examples/flink-examples-batch/src/main/java/org/apache/flink/examples/java/relational/TPCHQuery3.java
index 66213e33262..cf9f078367e 100644
--- a/flink-examples/flink-examples-batch/src/main/java/org/apache/flink/examples/java/relational/TPCHQuery3.java
+++ b/flink-examples/flink-examples-batch/src/main/java/org/apache/flink/examples/java/relational/TPCHQuery3.java
@@ -238,7 +238,10 @@ public Long getShippriority() {
 		}
 	}
 
-	private static class ShippingPriorityItem extends Tuple4<Long, Double, String, Long>
{
+	/**
+	 * ShippingPriorityItem.
+	 */
+	public static class ShippingPriorityItem extends Tuple4<Long, Double, String, Long>
{
 
 		public ShippingPriorityItem() {}
 


 

----------------------------------------------------------------
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:
users@infra.apache.org


> TPCHQuery3 fail with IllegalAccessException
> -------------------------------------------
>
>                 Key: FLINK-10657
>                 URL: https://issues.apache.org/jira/browse/FLINK-10657
>             Project: Flink
>          Issue Type: Bug
>          Components: Examples, Tests
>    Affects Versions: 1.4.2
>            Reporter: JIN SUN
>            Assignee: JIN SUN
>            Priority: Trivial
>              Labels: easy-fix, pull-request-available
>             Fix For: 1.7.0
>
>
> Similar with [FLINK-7998|https://issues.apache.org/jira/browse/FLINK-7998], ShoppingPriorityItem in
example TPCHQuery3.java are set to private. This causes an IllegalAccessException exception
because of reflection check in dynamic class instantiation. Making them public resolves the
problem 



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

Mime
View raw message