[jira] [Commented] (BAHIR-111) IntelliJ reports compilation error for flink-connector-netty

2017-04-25 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on BAHIR-111:
--

Github user shijinkui commented on the issue:

https://github.com/apache/bahir-flink/pull/15
  
@ckadner Sorry for get the message late. Thanks for your verify.


> IntelliJ reports compilation error for flink-connector-netty
> 
>
> Key: BAHIR-111
> URL: https://issues.apache.org/jira/browse/BAHIR-111
> Project: Bahir
>  Issue Type: Bug
>  Components: Build, Flink Streaming Connectors
> Environment: Mac OS Sierra: 10.12.3 (16D32)
> IntelliJ IDEA 2016.3.5
> JRE: 1.8.0_112-release-408-b6 x86_64
> JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
> Maven 3.3.9
> Scala 2.11.8
>Reporter: Christian Kadner
>Assignee: Christian Kadner
>Priority: Minor
>  Time Spent: 2h
>  Remaining Estimate: 0h
>
> In *IntelliJ*:
> - _File > New > Project from Version Control > GitHub >_ Repo URL: 
> _"https://github.com/apache/bahir-flink.git"_
> - in the pop-up in the right bottom corner that says *"Non-managed pom.xml 
> file found"*, click *"Add as Maven Project"*
> - in _Project Settings > Project_:
>   -- _Project SDK_: Java 1.8
>   -- _Language Level_: 8 (Lambdas, type annotations etc)
> - _Build > Build Project_
> *Compile output:*
> {code:Java}
> Information:4/24/17, 4:25 PM - Compilation completed with 3 errors and 1 
> warning in 4s 337ms
> Warning:scalac: there was one feature warning; re-run with -feature for 
> details
> .../flink-connector-netty/src/test/scala/org/apache/flink/streaming/connectors/netty/example/StreamSqlExample.scala
> Error:Error:line (22)object table is not a member of package 
> org.apache.flink.api.scala
> import org.apache.flink.api.scala.table._
> Error:Error:line (23)object table is not a member of package 
> org.apache.flink.api
> import org.apache.flink.api.table.TableEnvironment
> Error:Error:line (45)not found: value TableEnvironment
> val tEnv = TableEnvironment.getTableEnvironment(env)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (BAHIR-111) IntelliJ reports compilation error for flink-connector-netty

2017-04-25 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on BAHIR-111:
---

Commit 3f7223f40812cacd1c4a43f4d74aad2b76d3822c in bahir-flink's branch 
refs/heads/master from [~ckadner]
[ https://git-wip-us.apache.org/repos/asf?p=bahir-flink.git;h=3f7223f ]

[BAHIR-111] Update imports after FLINK-4707

Since Flink version 1.2.0, the Table API has moved to a new package.
See [FLINK-4707]: "Move Table API to org.apache.flink.table"

Closes #15


> IntelliJ reports compilation error for flink-connector-netty
> 
>
> Key: BAHIR-111
> URL: https://issues.apache.org/jira/browse/BAHIR-111
> Project: Bahir
>  Issue Type: Bug
>  Components: Build, Flink Streaming Connectors
> Environment: Mac OS Sierra: 10.12.3 (16D32)
> IntelliJ IDEA 2016.3.5
> JRE: 1.8.0_112-release-408-b6 x86_64
> JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
> Maven 3.3.9
> Scala 2.11.8
>Reporter: Christian Kadner
>Assignee: Christian Kadner
>Priority: Minor
>  Time Spent: 2h
>  Remaining Estimate: 0h
>
> In *IntelliJ*:
> - _File > New > Project from Version Control > GitHub >_ Repo URL: 
> _"https://github.com/apache/bahir-flink.git"_
> - in the pop-up in the right bottom corner that says *"Non-managed pom.xml 
> file found"*, click *"Add as Maven Project"*
> - in _Project Settings > Project_:
>   -- _Project SDK_: Java 1.8
>   -- _Language Level_: 8 (Lambdas, type annotations etc)
> - _Build > Build Project_
> *Compile output:*
> {code:Java}
> Information:4/24/17, 4:25 PM - Compilation completed with 3 errors and 1 
> warning in 4s 337ms
> Warning:scalac: there was one feature warning; re-run with -feature for 
> details
> .../flink-connector-netty/src/test/scala/org/apache/flink/streaming/connectors/netty/example/StreamSqlExample.scala
> Error:Error:line (22)object table is not a member of package 
> org.apache.flink.api.scala
> import org.apache.flink.api.scala.table._
> Error:Error:line (23)object table is not a member of package 
> org.apache.flink.api
> import org.apache.flink.api.table.TableEnvironment
> Error:Error:line (45)not found: value TableEnvironment
> val tEnv = TableEnvironment.getTableEnvironment(env)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (BAHIR-111) IntelliJ reports compilation error for flink-connector-netty

2017-04-25 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on BAHIR-111:
--

Github user asfgit closed the pull request at:

https://github.com/apache/bahir-flink/pull/15


> IntelliJ reports compilation error for flink-connector-netty
> 
>
> Key: BAHIR-111
> URL: https://issues.apache.org/jira/browse/BAHIR-111
> Project: Bahir
>  Issue Type: Bug
>  Components: Build, Flink Streaming Connectors
> Environment: Mac OS Sierra: 10.12.3 (16D32)
> IntelliJ IDEA 2016.3.5
> JRE: 1.8.0_112-release-408-b6 x86_64
> JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
> Maven 3.3.9
> Scala 2.11.8
>Reporter: Christian Kadner
>Assignee: Christian Kadner
>Priority: Minor
>  Time Spent: 2h
>  Remaining Estimate: 0h
>
> In *IntelliJ*:
> - _File > New > Project from Version Control > GitHub >_ Repo URL: 
> _"https://github.com/apache/bahir-flink.git"_
> - in the pop-up in the right bottom corner that says *"Non-managed pom.xml 
> file found"*, click *"Add as Maven Project"*
> - in _Project Settings > Project_:
>   -- _Project SDK_: Java 1.8
>   -- _Language Level_: 8 (Lambdas, type annotations etc)
> - _Build > Build Project_
> *Compile output:*
> {code:Java}
> Information:4/24/17, 4:25 PM - Compilation completed with 3 errors and 1 
> warning in 4s 337ms
> Warning:scalac: there was one feature warning; re-run with -feature for 
> details
> .../flink-connector-netty/src/test/scala/org/apache/flink/streaming/connectors/netty/example/StreamSqlExample.scala
> Error:Error:line (22)object table is not a member of package 
> org.apache.flink.api.scala
> import org.apache.flink.api.scala.table._
> Error:Error:line (23)object table is not a member of package 
> org.apache.flink.api
> import org.apache.flink.api.table.TableEnvironment
> Error:Error:line (45)not found: value TableEnvironment
> val tEnv = TableEnvironment.getTableEnvironment(env)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (BAHIR-111) IntelliJ reports compilation error for flink-connector-netty

2017-04-25 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on BAHIR-111:
--

Github user lresende commented on the issue:

https://github.com/apache/bahir-flink/pull/15
  
LGTM


> IntelliJ reports compilation error for flink-connector-netty
> 
>
> Key: BAHIR-111
> URL: https://issues.apache.org/jira/browse/BAHIR-111
> Project: Bahir
>  Issue Type: Bug
>  Components: Build, Flink Streaming Connectors
> Environment: Mac OS Sierra: 10.12.3 (16D32)
> IntelliJ IDEA 2016.3.5
> JRE: 1.8.0_112-release-408-b6 x86_64
> JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
> Maven 3.3.9
> Scala 2.11.8
>Reporter: Christian Kadner
>Assignee: Christian Kadner
>Priority: Minor
>  Time Spent: 2h
>  Remaining Estimate: 0h
>
> In *IntelliJ*:
> - _File > New > Project from Version Control > GitHub >_ Repo URL: 
> _"https://github.com/apache/bahir-flink.git"_
> - in the pop-up in the right bottom corner that says *"Non-managed pom.xml 
> file found"*, click *"Add as Maven Project"*
> - in _Project Settings > Project_:
>   -- _Project SDK_: Java 1.8
>   -- _Language Level_: 8 (Lambdas, type annotations etc)
> - _Build > Build Project_
> *Compile output:*
> {code:Java}
> Information:4/24/17, 4:25 PM - Compilation completed with 3 errors and 1 
> warning in 4s 337ms
> Warning:scalac: there was one feature warning; re-run with -feature for 
> details
> .../flink-connector-netty/src/test/scala/org/apache/flink/streaming/connectors/netty/example/StreamSqlExample.scala
> Error:Error:line (22)object table is not a member of package 
> org.apache.flink.api.scala
> import org.apache.flink.api.scala.table._
> Error:Error:line (23)object table is not a member of package 
> org.apache.flink.api
> import org.apache.flink.api.table.TableEnvironment
> Error:Error:line (45)not found: value TableEnvironment
> val tEnv = TableEnvironment.getTableEnvironment(env)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (BAHIR-111) IntelliJ reports compilation error for flink-connector-netty

2017-04-25 Thread Christian Kadner (JIRA)

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

Christian Kadner commented on BAHIR-111:


Reason this compilation error was not uncovered by Travis CE builds or by 
running Maven builds from the command line

> IntelliJ reports compilation error for flink-connector-netty
> 
>
> Key: BAHIR-111
> URL: https://issues.apache.org/jira/browse/BAHIR-111
> Project: Bahir
>  Issue Type: Bug
>  Components: Build, Flink Streaming Connectors
> Environment: Mac OS Sierra: 10.12.3 (16D32)
> IntelliJ IDEA 2016.3.5
> JRE: 1.8.0_112-release-408-b6 x86_64
> JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
> Maven 3.3.9
> Scala 2.11.8
>Reporter: Christian Kadner
>Assignee: Christian Kadner
>Priority: Minor
>  Time Spent: 2h
>  Remaining Estimate: 0h
>
> In *IntelliJ*:
> - _File > New > Project from Version Control > GitHub >_ Repo URL: 
> _"https://github.com/apache/bahir-flink.git"_
> - in the pop-up in the right bottom corner that says *"Non-managed pom.xml 
> file found"*, click *"Add as Maven Project"*
> - in _Project Settings > Project_:
>   -- _Project SDK_: Java 1.8
>   -- _Language Level_: 8 (Lambdas, type annotations etc)
> - _Build > Build Project_
> *Compile output:*
> {code:Java}
> Information:4/24/17, 4:25 PM - Compilation completed with 3 errors and 1 
> warning in 4s 337ms
> Warning:scalac: there was one feature warning; re-run with -feature for 
> details
> .../flink-connector-netty/src/test/scala/org/apache/flink/streaming/connectors/netty/example/StreamSqlExample.scala
> Error:Error:line (22)object table is not a member of package 
> org.apache.flink.api.scala
> import org.apache.flink.api.scala.table._
> Error:Error:line (23)object table is not a member of package 
> org.apache.flink.api
> import org.apache.flink.api.table.TableEnvironment
> Error:Error:line (45)not found: value TableEnvironment
> val tEnv = TableEnvironment.getTableEnvironment(env)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (BAHIR-111) IntelliJ reports compilation error for flink-connector-netty

2017-04-24 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on BAHIR-111:
--

Github user ckadner commented on the issue:

https://github.com/apache/bahir-flink/pull/15
  
@shijinkui -- since you contributed the `StreamSqlExample` could you please 
verify this fix? Thank you!


> IntelliJ reports compilation error for flink-connector-netty
> 
>
> Key: BAHIR-111
> URL: https://issues.apache.org/jira/browse/BAHIR-111
> Project: Bahir
>  Issue Type: Bug
>  Components: Build, Flink Streaming Connectors
> Environment: Mac OS Sierra: 10.12.3 (16D32)
> IntelliJ IDEA 2016.3.5
> JRE: 1.8.0_112-release-408-b6 x86_64
> JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
> Maven 3.3.9
> Scala 2.11.8
>Reporter: Christian Kadner
>Priority: Minor
>
> In *IntelliJ*:
> - _File > New > Project from Version Control > GitHub >_ Repo URL: 
> _"https://github.com/apache/bahir-flink.git"_
> - in the pop-up in the right bottom corner that says *"Non-managed pom.xml 
> file found"*, click *"Add as Maven Project"*
> - in _Project Settings > Project_:
>   -- _Project SDK_: Java 1.8
>   -- _Language Level_: 8 (Lambdas, type annotations etc)
> - _Build > Build Project_
> *Compile output:*
> {code:Java}
> Information:4/24/17, 4:25 PM - Compilation completed with 3 errors and 1 
> warning in 4s 337ms
> Warning:scalac: there was one feature warning; re-run with -feature for 
> details
> .../flink-connector-netty/src/test/scala/org/apache/flink/streaming/connectors/netty/example/StreamSqlExample.scala
> Error:Error:line (22)object table is not a member of package 
> org.apache.flink.api.scala
> import org.apache.flink.api.scala.table._
> Error:Error:line (23)object table is not a member of package 
> org.apache.flink.api
> import org.apache.flink.api.table.TableEnvironment
> Error:Error:line (45)not found: value TableEnvironment
> val tEnv = TableEnvironment.getTableEnvironment(env)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (BAHIR-111) IntelliJ reports compilation error for flink-connector-netty

2017-04-24 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on BAHIR-111:
--

GitHub user ckadner opened a pull request:

https://github.com/apache/bahir-flink/pull/15

[BAHIR-111] Correcting imports of o.a.f.table.api.*

Issue link: [BAHIR-111: IntelliJ reports compilation error for 
flink-connector-netty](https://issues.apache.org/jira/browse/BAHIR-111)

This change addresses the following compilation error in IntelliJ:

```
Information:4/24/17, 4:25 PM - Compilation completed with 3 errors and 1 
warning in 4s 337ms
Warning:scalac: there was one feature warning; re-run with -feature for 
details

.../flink-connector-netty/src/test/scala/org/apache/flink/streaming/connectors/netty/example/StreamSqlExample.scala
Error:Error:line (22)object table is not a member of package 
org.apache.flink.api.scala
import org.apache.flink.api.scala.table._
Error:Error:line (23)object table is not a member of package 
org.apache.flink.api
import org.apache.flink.api.table.TableEnvironment
Error:Error:line (45)not found: value TableEnvironment
val tEnv = TableEnvironment.getTableEnvironment(env)
```

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/ckadner/bahir-flink patch-1

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/bahir-flink/pull/15.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #15


commit 68d22c4cfd694cfbb1f4c80d5f1c4d0a4ae39521
Author: Christian Kadner 
Date:   2017-04-25T05:51:48Z

[BAHIR-111] Correcting imports of o.a.f.table.api.*




> IntelliJ reports compilation error for flink-connector-netty
> 
>
> Key: BAHIR-111
> URL: https://issues.apache.org/jira/browse/BAHIR-111
> Project: Bahir
>  Issue Type: Bug
>  Components: Build, Flink Streaming Connectors
> Environment: Mac OS Sierra: 10.12.3 (16D32)
> IntelliJ IDEA 2016.3.5
> JRE: 1.8.0_112-release-408-b6 x86_64
> JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
> Maven 3.3.9
> Scala 2.11.8
>Reporter: Christian Kadner
>Priority: Minor
>
> In *IntelliJ*:
> - _File > New > Project from Version Control > GitHub >_ Repo URL: 
> _"https://github.com/apache/bahir-flink.git"_
> - in the pop-up in the right bottom corner that says *"Non-managed pom.xml 
> file found"*, click *"Add as Maven Project"*
> - in _Project Settings > Project_:
>   -- _Project SDK_: Java 1.8
>   -- _Language Level_: 8 (Lambdas, type annotations etc)
> - _Build > Build Project_
> *Compile output:*
> {code:Java}
> Information:4/24/17, 4:25 PM - Compilation completed with 3 errors and 1 
> warning in 4s 337ms
> Warning:scalac: there was one feature warning; re-run with -feature for 
> details
> .../flink-connector-netty/src/test/scala/org/apache/flink/streaming/connectors/netty/example/StreamSqlExample.scala
> Error:Error:line (22)object table is not a member of package 
> org.apache.flink.api.scala
> import org.apache.flink.api.scala.table._
> Error:Error:line (23)object table is not a member of package 
> org.apache.flink.api
> import org.apache.flink.api.table.TableEnvironment
> Error:Error:line (45)not found: value TableEnvironment
> val tEnv = TableEnvironment.getTableEnvironment(env)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)