[jira] [Created] (FLINK-18969) Source code build error: Could not resolve dependencies for project org.apache.flink:flink-oss-fs-hadoop:jar:1.12-SNAPSHOT

2020-08-16 Thread Xin Wang (Jira)
Xin Wang created FLINK-18969:


 Summary: Source code build error:  Could not resolve dependencies 
for project org.apache.flink:flink-oss-fs-hadoop:jar:1.12-SNAPSHOT
 Key: FLINK-18969
 URL: https://issues.apache.org/jira/browse/FLINK-18969
 Project: Flink
  Issue Type: Bug
  Components: FileSystems
Affects Versions: 1.12.0
 Environment: Java 8

mac os  10.14.6

 
Reporter: Xin Wang
 Attachments: image-2020-08-17-09-55-19-914.png, 
image-2020-08-17-09-55-51-714.png

When I type cmmand:

 

cd flink

mvn clean install -Dmaven.test.skip=true   it occurs:

    org.apache.flink

  30         flink-parent

  31         1.12-SNAPSHOT

 

!image-2020-08-17-09-55-19-914.png!

!image-2020-08-17-09-55-51-714.png!

 

[INFO] 

[INFO] BUILD FAILURE

[INFO] 

[INFO] Total time:  03:33 min

[INFO] Finished at: 2020-08-17T09:47:32+08:00

[INFO] 

[ERROR] Failed to execute goal on project flink-oss-fs-hadoop: Could not 
resolve dependencies for project 
org.apache.flink:flink-oss-fs-hadoop:jar:1.12-SNAPSHOT: Could not find artifact 
org.apache.flink:flink-fs-hadoop-shaded:jar:tests:1.12-SNAPSHOT -> [Help 1]

[ERROR] 

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR] 

[ERROR] For more information about the errors and possible solutions, please 
read the following articles:

[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

[ERROR] 

[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn  -rf :flink-oss-fs-hadoop

ZBMAC-C02WD3R01:flink wangxin813$ flink-oss-fs-hadoop



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


Re: Build error: package does not exist

2019-10-29 Thread Hynek Noll
And I've tried just
`mvn clean install -DskipTests -Drat.skip=true -DskipITs`
as well. It takes around half an hour, so I'm not too keen to try all the
possibilities.

I guess there might be some other SDKs/libraries that I'm missing and Maven
won't tell me? Or just some random incompatibility?

Thanks for any tips,
Hynek

po 28. 10. 2019 v 20:24 odesílatel Hynek Noll  napsal:

> Dear Pritam,
> I've tried that as well, specifically I ran:
> `mvn clean install -DskipTests -Drat.skip=true -DskipITs -Pinclude-kinesis
> -Daws.kinesis-kpl.version=0.12.6`
> But the result is still the same. During the build, the packages that I
> suppose should be generated by Maven based on Amazon Kinesis are missing.
>
> Best regards,
> Hynek
>
> po 28. 10. 2019 v 19:57 odesílatel Pritam Sadhukhan <
> sadhukhan.pri...@gmail.com> napsal:
>
>> Hi Hynek,
>>
>> please run mvn clean install -DskipTests -Drat.skip=true.
>>
>> It should build properly but takes time.
>>
>> Regards
>>
>> On Mon, Oct 28, 2019, 10:06 PM Hynek Noll  wrote:
>>
>> > Hi Bruce and Jark,
>> > Thank you for the tip, but I already did the similar by clicking
>> "Generate
>> > Sources and Update Folders". I tried the suggested command(s), but
>> without
>> > success unfortunately.
>> > Executing  `mvn clean install -DskipTests` resulted in an error: "Too
>> many
>> > files with unapproved license: 2 See RAT report ...". (In the report it
>> > states the two files are:
>> > flink-core/src/test/resources/abstractID-with-toString-field
>> > flink-core/src/test/resources/abstractID-with-toString-field-set
>> > ) While `mvn clean package -DskipTests` actually runs for 30+ minutes
>> (much
>> > longer that the first command but maybe that stops early because of the
>> > error) and finishes fine but I have the same problems afterwards.
>> >
>> > I've tried switching to Maven 3.1.1 (from 3.6.1).
>> >
>> > Now the one thing that resolved the above stated missing package was
>> > switching to Scala 2.11.12 SDK (instead of 2.12)!
>> >
>> > The steps I've been taking were (within IntelliJ) Invalidate caches &
>> > restart (alternatively Exit and delete the .idea folder) -> Open
>> IntelliJ
>> > again -> Maven Reimport -> Maven Generate Sources and Update Folders ->
>> > Build Project. That results in further package(s) missing:
>> >
>> >
>> > *Error:(21, 53) java: package
>> org.apache.flink.kinesis.shaded.com.amazonaws
>> > does not exist*
>> > Maybe it now has to do with just the dependency shading?
>> >
>> > Best regards,
>> > Hynek
>> >
>> > ne 27. 10. 2019 v 15:02 odesílatel Jark Wu  napsal:
>> >
>> > > Hi Hynek,
>> > >
>> > > Bruce is right, you should build Flink source code first before
>> > developing
>> > > by `mvn clean package -DskipTests` in the root directory of Flink.
>> > > This may take 10 minutes or more depends on your machine.
>> > >
>> > > Best,
>> > > Jark
>> > >
>> > > On Sun, 27 Oct 2019 at 20:46, yanjun qiu 
>> wrote:
>> > >
>> > > > Hi Hynek,
>> > > > I think you should run maven build first, execute mvn clean install
>> > > > -DskipTests. Because the Flink SQL parser is used apache calcite
>> > > framework
>> > > > to generate the sql parser source code.
>> > > >
>> > > > Regards,
>> > > > Bruce
>> > > >
>> > > > > 在 2019年10月27日,上午12:09,Hynek Noll  写道:
>> > > > >
>> > > > > package seems to be missing on GitHub:
>> > > >
>> > > >
>> > >
>> >
>>
>


Re: Build error: package does not exist

2019-10-28 Thread Pritam Sadhukhan
Hi Hynek,

I used `mvn clean install -DskipTests -Drat.skip=true` on the root
directory.
I have build release 1.9 branch and took me around 1hr 23 minutes to
complete with no errors.

Regards,
Pritam.

On Tue, 29 Oct 2019 at 01:02, Hynek Noll  wrote:

> And I've tried just
> `mvn clean install -DskipTests -Drat.skip=true -DskipITs`
> as well. It takes around half an hour, so I'm not too keen to try all the
> possibilities.
>
> I guess there might be some other SDKs/libraries that I'm missing and Maven
> won't tell me? Or just some random incompatibility?
>
> Thanks for any tips,
> Hynek
>
> po 28. 10. 2019 v 20:28 odesílatel Hynek Noll  napsal:
>
> > And I've tried just
> > `mvn clean install -DskipTests -Drat.skip=true -DskipITs`
> > as well. It takes around half an hour, so I'm not too keen to try all the
> > possibilities.
> >
> > I guess there might be some other SDKs/libraries that I'm missing and
> > Maven won't tell me? Or just some random incompatibility?
> >
> > Thanks for any tips,
> > Hynek
> >
> > po 28. 10. 2019 v 20:24 odesílatel Hynek Noll 
> > napsal:
> >
> >> Dear Pritam,
> >> I've tried that as well, specifically I ran:
> >> `mvn clean install -DskipTests -Drat.skip=true -DskipITs
> >> -Pinclude-kinesis -Daws.kinesis-kpl.version=0.12.6`
> >> But the result is still the same. During the build, the packages that I
> >> suppose should be generated by Maven based on Amazon Kinesis are
> missing.
> >>
> >> Best regards,
> >> Hynek
> >>
> >> po 28. 10. 2019 v 19:57 odesílatel Pritam Sadhukhan <
> >> sadhukhan.pri...@gmail.com> napsal:
> >>
> >>> Hi Hynek,
> >>>
> >>> please run mvn clean install -DskipTests -Drat.skip=true.
> >>>
> >>> It should build properly but takes time.
> >>>
> >>> Regards
> >>>
> >>> On Mon, Oct 28, 2019, 10:06 PM Hynek Noll 
> wrote:
> >>>
> >>> > Hi Bruce and Jark,
> >>> > Thank you for the tip, but I already did the similar by clicking
> >>> "Generate
> >>> > Sources and Update Folders". I tried the suggested command(s), but
> >>> without
> >>> > success unfortunately.
> >>> > Executing  `mvn clean install -DskipTests` resulted in an error: "Too
> >>> many
> >>> > files with unapproved license: 2 See RAT report ...". (In the report
> it
> >>> > states the two files are:
> >>> > flink-core/src/test/resources/abstractID-with-toString-field
> >>> > flink-core/src/test/resources/abstractID-with-toString-field-set
> >>> > ) While `mvn clean package -DskipTests` actually runs for 30+ minutes
> >>> (much
> >>> > longer that the first command but maybe that stops early because of
> the
> >>> > error) and finishes fine but I have the same problems afterwards.
> >>> >
> >>> > I've tried switching to Maven 3.1.1 (from 3.6.1).
> >>> >
> >>> > Now the one thing that resolved the above stated missing package was
> >>> > switching to Scala 2.11.12 SDK (instead of 2.12)!
> >>> >
> >>> > The steps I've been taking were (within IntelliJ) Invalidate caches &
> >>> > restart (alternatively Exit and delete the .idea folder) -> Open
> >>> IntelliJ
> >>> > again -> Maven Reimport -> Maven Generate Sources and Update Folders
> ->
> >>> > Build Project. That results in further package(s) missing:
> >>> >
> >>> >
> >>> > *Error:(21, 53) java: package
> >>> org.apache.flink.kinesis.shaded.com.amazonaws
> >>> > does not exist*
> >>> > Maybe it now has to do with just the dependency shading?
> >>> >
> >>> > Best regards,
> >>> > Hynek
> >>> >
> >>> > ne 27. 10. 2019 v 15:02 odesílatel Jark Wu 
> napsal:
> >>> >
> >>> > > Hi Hynek,
> >>> > >
> >>> > > Bruce is right, you should build Flink source code first before
> >>> > developing
> >>> > > by `mvn clean package -DskipTests` in the root directory of Flink.
> >>> > > This may take 10 minutes or more depends on your machine.
> >>> > >
> >>> > > Best,
> >>> > > Jark
> >>> > >
> >>> > > On Sun, 27 Oct 2019 at 20:46, yanjun qiu 
> >>> wrote:
> >>> > >
> >>> > > > Hi Hynek,
> >>> > > > I think you should run maven build first, execute mvn clean
> install
> >>> > > > -DskipTests. Because the Flink SQL parser is used apache calcite
> >>> > > framework
> >>> > > > to generate the sql parser source code.
> >>> > > >
> >>> > > > Regards,
> >>> > > > Bruce
> >>> > > >
> >>> > > > > 在 2019年10月27日,上午12:09,Hynek Noll  写道:
> >>> > > > >
> >>> > > > > package seems to be missing on GitHub:
> >>> > > >
> >>> > > >
> >>> > >
> >>> >
> >>>
> >>
>


Re: Build error: package does not exist

2019-10-28 Thread Hynek Noll
And I've tried just
`mvn clean install -DskipTests -Drat.skip=true -DskipITs`
as well. It takes around half an hour, so I'm not too keen to try all the
possibilities.

I guess there might be some other SDKs/libraries that I'm missing and Maven
won't tell me? Or just some random incompatibility?

Thanks for any tips,
Hynek

po 28. 10. 2019 v 20:28 odesílatel Hynek Noll  napsal:

> And I've tried just
> `mvn clean install -DskipTests -Drat.skip=true -DskipITs`
> as well. It takes around half an hour, so I'm not too keen to try all the
> possibilities.
>
> I guess there might be some other SDKs/libraries that I'm missing and
> Maven won't tell me? Or just some random incompatibility?
>
> Thanks for any tips,
> Hynek
>
> po 28. 10. 2019 v 20:24 odesílatel Hynek Noll 
> napsal:
>
>> Dear Pritam,
>> I've tried that as well, specifically I ran:
>> `mvn clean install -DskipTests -Drat.skip=true -DskipITs
>> -Pinclude-kinesis -Daws.kinesis-kpl.version=0.12.6`
>> But the result is still the same. During the build, the packages that I
>> suppose should be generated by Maven based on Amazon Kinesis are missing.
>>
>> Best regards,
>> Hynek
>>
>> po 28. 10. 2019 v 19:57 odesílatel Pritam Sadhukhan <
>> sadhukhan.pri...@gmail.com> napsal:
>>
>>> Hi Hynek,
>>>
>>> please run mvn clean install -DskipTests -Drat.skip=true.
>>>
>>> It should build properly but takes time.
>>>
>>> Regards
>>>
>>> On Mon, Oct 28, 2019, 10:06 PM Hynek Noll  wrote:
>>>
>>> > Hi Bruce and Jark,
>>> > Thank you for the tip, but I already did the similar by clicking
>>> "Generate
>>> > Sources and Update Folders". I tried the suggested command(s), but
>>> without
>>> > success unfortunately.
>>> > Executing  `mvn clean install -DskipTests` resulted in an error: "Too
>>> many
>>> > files with unapproved license: 2 See RAT report ...". (In the report it
>>> > states the two files are:
>>> > flink-core/src/test/resources/abstractID-with-toString-field
>>> > flink-core/src/test/resources/abstractID-with-toString-field-set
>>> > ) While `mvn clean package -DskipTests` actually runs for 30+ minutes
>>> (much
>>> > longer that the first command but maybe that stops early because of the
>>> > error) and finishes fine but I have the same problems afterwards.
>>> >
>>> > I've tried switching to Maven 3.1.1 (from 3.6.1).
>>> >
>>> > Now the one thing that resolved the above stated missing package was
>>> > switching to Scala 2.11.12 SDK (instead of 2.12)!
>>> >
>>> > The steps I've been taking were (within IntelliJ) Invalidate caches &
>>> > restart (alternatively Exit and delete the .idea folder) -> Open
>>> IntelliJ
>>> > again -> Maven Reimport -> Maven Generate Sources and Update Folders ->
>>> > Build Project. That results in further package(s) missing:
>>> >
>>> >
>>> > *Error:(21, 53) java: package
>>> org.apache.flink.kinesis.shaded.com.amazonaws
>>> > does not exist*
>>> > Maybe it now has to do with just the dependency shading?
>>> >
>>> > Best regards,
>>> > Hynek
>>> >
>>> > ne 27. 10. 2019 v 15:02 odesílatel Jark Wu  napsal:
>>> >
>>> > > Hi Hynek,
>>> > >
>>> > > Bruce is right, you should build Flink source code first before
>>> > developing
>>> > > by `mvn clean package -DskipTests` in the root directory of Flink.
>>> > > This may take 10 minutes or more depends on your machine.
>>> > >
>>> > > Best,
>>> > > Jark
>>> > >
>>> > > On Sun, 27 Oct 2019 at 20:46, yanjun qiu 
>>> wrote:
>>> > >
>>> > > > Hi Hynek,
>>> > > > I think you should run maven build first, execute mvn clean install
>>> > > > -DskipTests. Because the Flink SQL parser is used apache calcite
>>> > > framework
>>> > > > to generate the sql parser source code.
>>> > > >
>>> > > > Regards,
>>> > > > Bruce
>>> > > >
>>> > > > > 在 2019年10月27日,上午12:09,Hynek Noll  写道:
>>> > > > >
>>> > > > > package seems to be missing on GitHub:
>>> > > >
>>> > > >
>>> > >
>>> >
>>>
>>


Re: Build error: package does not exist

2019-10-28 Thread Hynek Noll
Dear Pritam,
I've tried that as well, specifically I ran:
`mvn clean install -DskipTests -Drat.skip=true -DskipITs -Pinclude-kinesis
-Daws.kinesis-kpl.version=0.12.6`
But the result is still the same. During the build, the packages that I
suppose should be generated by Maven based on Amazon Kinesis are missing.

Best regards,
Hynek

po 28. 10. 2019 v 19:57 odesílatel Pritam Sadhukhan <
sadhukhan.pri...@gmail.com> napsal:

> Hi Hynek,
>
> please run mvn clean install -DskipTests -Drat.skip=true.
>
> It should build properly but takes time.
>
> Regards
>
> On Mon, Oct 28, 2019, 10:06 PM Hynek Noll  wrote:
>
> > Hi Bruce and Jark,
> > Thank you for the tip, but I already did the similar by clicking
> "Generate
> > Sources and Update Folders". I tried the suggested command(s), but
> without
> > success unfortunately.
> > Executing  `mvn clean install -DskipTests` resulted in an error: "Too
> many
> > files with unapproved license: 2 See RAT report ...". (In the report it
> > states the two files are:
> > flink-core/src/test/resources/abstractID-with-toString-field
> > flink-core/src/test/resources/abstractID-with-toString-field-set
> > ) While `mvn clean package -DskipTests` actually runs for 30+ minutes
> (much
> > longer that the first command but maybe that stops early because of the
> > error) and finishes fine but I have the same problems afterwards.
> >
> > I've tried switching to Maven 3.1.1 (from 3.6.1).
> >
> > Now the one thing that resolved the above stated missing package was
> > switching to Scala 2.11.12 SDK (instead of 2.12)!
> >
> > The steps I've been taking were (within IntelliJ) Invalidate caches &
> > restart (alternatively Exit and delete the .idea folder) -> Open IntelliJ
> > again -> Maven Reimport -> Maven Generate Sources and Update Folders ->
> > Build Project. That results in further package(s) missing:
> >
> >
> > *Error:(21, 53) java: package
> org.apache.flink.kinesis.shaded.com.amazonaws
> > does not exist*
> > Maybe it now has to do with just the dependency shading?
> >
> > Best regards,
> > Hynek
> >
> > ne 27. 10. 2019 v 15:02 odesílatel Jark Wu  napsal:
> >
> > > Hi Hynek,
> > >
> > > Bruce is right, you should build Flink source code first before
> > developing
> > > by `mvn clean package -DskipTests` in the root directory of Flink.
> > > This may take 10 minutes or more depends on your machine.
> > >
> > > Best,
> > > Jark
> > >
> > > On Sun, 27 Oct 2019 at 20:46, yanjun qiu 
> wrote:
> > >
> > > > Hi Hynek,
> > > > I think you should run maven build first, execute mvn clean install
> > > > -DskipTests. Because the Flink SQL parser is used apache calcite
> > > framework
> > > > to generate the sql parser source code.
> > > >
> > > > Regards,
> > > > Bruce
> > > >
> > > > > 在 2019年10月27日,上午12:09,Hynek Noll  写道:
> > > > >
> > > > > package seems to be missing on GitHub:
> > > >
> > > >
> > >
> >
>


Re: Build error: package does not exist

2019-10-28 Thread Pritam Sadhukhan
Hi Hynek,

please run mvn clean install -DskipTests -Drat.skip=true.

It should build properly but takes time.

Regards

On Mon, Oct 28, 2019, 10:06 PM Hynek Noll  wrote:

> Hi Bruce and Jark,
> Thank you for the tip, but I already did the similar by clicking "Generate
> Sources and Update Folders". I tried the suggested command(s), but without
> success unfortunately.
> Executing  `mvn clean install -DskipTests` resulted in an error: "Too many
> files with unapproved license: 2 See RAT report ...". (In the report it
> states the two files are:
> flink-core/src/test/resources/abstractID-with-toString-field
> flink-core/src/test/resources/abstractID-with-toString-field-set
> ) While `mvn clean package -DskipTests` actually runs for 30+ minutes (much
> longer that the first command but maybe that stops early because of the
> error) and finishes fine but I have the same problems afterwards.
>
> I've tried switching to Maven 3.1.1 (from 3.6.1).
>
> Now the one thing that resolved the above stated missing package was
> switching to Scala 2.11.12 SDK (instead of 2.12)!
>
> The steps I've been taking were (within IntelliJ) Invalidate caches &
> restart (alternatively Exit and delete the .idea folder) -> Open IntelliJ
> again -> Maven Reimport -> Maven Generate Sources and Update Folders ->
> Build Project. That results in further package(s) missing:
>
>
> *Error:(21, 53) java: package org.apache.flink.kinesis.shaded.com.amazonaws
> does not exist*
> Maybe it now has to do with just the dependency shading?
>
> Best regards,
> Hynek
>
> ne 27. 10. 2019 v 15:02 odesílatel Jark Wu  napsal:
>
> > Hi Hynek,
> >
> > Bruce is right, you should build Flink source code first before
> developing
> > by `mvn clean package -DskipTests` in the root directory of Flink.
> > This may take 10 minutes or more depends on your machine.
> >
> > Best,
> > Jark
> >
> > On Sun, 27 Oct 2019 at 20:46, yanjun qiu  wrote:
> >
> > > Hi Hynek,
> > > I think you should run maven build first, execute mvn clean install
> > > -DskipTests. Because the Flink SQL parser is used apache calcite
> > framework
> > > to generate the sql parser source code.
> > >
> > > Regards,
> > > Bruce
> > >
> > > > 在 2019年10月27日,上午12:09,Hynek Noll  写道:
> > > >
> > > > package seems to be missing on GitHub:
> > >
> > >
> >
>


Re: Build error: package does not exist

2019-10-28 Thread Hynek Noll
Hi Bruce and Jark,
Thank you for the tip, but I already did the similar by clicking "Generate
Sources and Update Folders". I tried the suggested command(s), but without
success unfortunately.
Executing  `mvn clean install -DskipTests` resulted in an error: "Too many
files with unapproved license: 2 See RAT report ...". (In the report it
states the two files are:
flink-core/src/test/resources/abstractID-with-toString-field
flink-core/src/test/resources/abstractID-with-toString-field-set
) While `mvn clean package -DskipTests` actually runs for 30+ minutes (much
longer that the first command but maybe that stops early because of the
error) and finishes fine but I have the same problems afterwards.

I've tried switching to Maven 3.1.1 (from 3.6.1).

Now the one thing that resolved the above stated missing package was
switching to Scala 2.11.12 SDK (instead of 2.12)!

The steps I've been taking were (within IntelliJ) Invalidate caches &
restart (alternatively Exit and delete the .idea folder) -> Open IntelliJ
again -> Maven Reimport -> Maven Generate Sources and Update Folders ->
Build Project. That results in further package(s) missing:


*Error:(21, 53) java: package org.apache.flink.kinesis.shaded.com.amazonaws
does not exist*
Maybe it now has to do with just the dependency shading?

Best regards,
Hynek

ne 27. 10. 2019 v 15:02 odesílatel Jark Wu  napsal:

> Hi Hynek,
>
> Bruce is right, you should build Flink source code first before developing
> by `mvn clean package -DskipTests` in the root directory of Flink.
> This may take 10 minutes or more depends on your machine.
>
> Best,
> Jark
>
> On Sun, 27 Oct 2019 at 20:46, yanjun qiu  wrote:
>
> > Hi Hynek,
> > I think you should run maven build first, execute mvn clean install
> > -DskipTests. Because the Flink SQL parser is used apache calcite
> framework
> > to generate the sql parser source code.
> >
> > Regards,
> > Bruce
> >
> > > 在 2019年10月27日,上午12:09,Hynek Noll  写道:
> > >
> > > package seems to be missing on GitHub:
> >
> >
>


Re: Build error: package does not exist

2019-10-27 Thread Jark Wu
Hi Hynek,

Bruce is right, you should build Flink source code first before developing
by `mvn clean package -DskipTests` in the root directory of Flink.
This may take 10 minutes or more depends on your machine.

Best,
Jark

On Sun, 27 Oct 2019 at 20:46, yanjun qiu  wrote:

> Hi Hynek,
> I think you should run maven build first, execute mvn clean install
> -DskipTests. Because the Flink SQL parser is used apache calcite framework
> to generate the sql parser source code.
>
> Regards,
> Bruce
>
> > 在 2019年10月27日,上午12:09,Hynek Noll  写道:
> >
> > package seems to be missing on GitHub:
>
>


Re: Build error: package does not exist

2019-10-27 Thread yanjun qiu
Hi Hynek,
I think you should run maven build first, execute mvn clean install 
-DskipTests. Because the Flink SQL parser is used apache calcite framework to 
generate the sql parser source code.

Regards,
Bruce

> 在 2019年10月27日,上午12:09,Hynek Noll  写道:
> 
> package seems to be missing on GitHub:



Build error: package does not exist

2019-10-26 Thread Hynek Noll
Hi everyone,
I'm trying to start the development in Flink and have followed the
instructions on the web to start an IntelliJ project.
I have cloned the latest Flink repo and upon Build, it gives me:

*Error:(21, 40) java: package org.apache.flink.sql.parser.impl does not
exist*

I've set up the project to use JDK 8 and later tried switching to Maven
3.1.1 (from the default 3.6.2), but no success.

This package seems to be missing on GitHub:
https://github.com/apache/flink/tree/master/flink-table/flink-sql-parser/src/main/java/org/apache/flink/sql/parser


Although a JavaDoc of it exists:
https://ci.apache.org/projects/flink/flink-docs-master/api/java/org/apache/flink/sql/parser/impl/package-summary.html


Am I missing something?

Best regards,
Hynek


Virus-free.
www.avast.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>


[jira] [Created] (FLINK-12162) Build error in flink-table-planner

2019-04-11 Thread Liya Fan (JIRA)
Liya Fan created FLINK-12162:


 Summary: Build error in flink-table-planner
 Key: FLINK-12162
 URL: https://issues.apache.org/jira/browse/FLINK-12162
 Project: Flink
  Issue Type: Bug
  Components: Table SQL / Runtime
Reporter: Liya Fan
Assignee: Liya Fan


There is a build error in project flink-table-planner:

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) 
on project flink-table-planner_2.11: Compilation failure
[ERROR] 
.../flink-table-planner/src/main/java/org/apache/flink/table/operations/ProjectionOperationFactory.java:[85,54]
 unreported exception X; must be caught or declared to be thrown

I am using JDK 1.8.0_45, maven 3.5.2



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


[jira] [Created] (FLINK-6302) Documentation build error on ruby 2.4

2017-04-13 Thread Tao Meng (JIRA)
Tao Meng created FLINK-6302:
---

 Summary: Documentation build error on ruby 2.4
 Key: FLINK-6302
 URL: https://issues.apache.org/jira/browse/FLINK-6302
 Project: Flink
  Issue Type: Bug
  Components: Documentation
Reporter: Tao Meng
Assignee: Tao Meng
Priority: Trivial


{{/usr/local/Cellar/ruby/2.4.1_1/include/ruby-2.4.0/ruby/ruby.h:981:28: note: 
expanded from macro 'RSTRING_LEN'
 RSTRING(str)->as.heap.len)
 ~~^~~
yajl_ext.c:881:22: error: use of undeclared identifier 'rb_cFixnum'
rb_define_method(rb_cFixnum, "to_json", rb_yajl_json_ext_fixnum_to_json, 
-1);
 ^
17 warnings and 1 error generated.
make: *** [yajl_ext.o] Error 1

make failed, exit code 2 }}

We should update Gemfile.lock.



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


Re: build error

2016-09-15 Thread Ivan Mushketyk
Hi Ameet,

The new issue that you are facing is caused by a build-time validator that
checks if every file in Flink sources has an Apache license text in it.
It suggests that there are two files without a proper license:
* build_log_maven_flink
* log.oracle.jdk

If you remove them or move from the Flink source folder this error will go
away.

Best regards,
Ivan.

On Thu, 15 Sep 2016 at 15:57 Ameet BD <ameetbigd...@gmail.com> wrote:

> Hi Ivan,
>
> Thanks for reply. I tried installing Oracle JDK. The build error log is
> attached for details.
> Error reported is "Too many files with unapproved license".
> The file rat.txt is attached.
>
> Please tell me what could be going wrong. I am using Ubuntu 14.04, Maven
> 3.0.5 and Oracle JDK 8.
> Regards,
> Ameet
>
> On Thu, Sep 15, 2016 at 5:45 PM, Ivan Mushketyk <ivan.mushke...@gmail.com>
> wrote:
>
>> Hi Ameet,
>>
>> This seems like a possible JVM bug.
>> Could you try to build Flink using OracleJDK instead?
>>
>> Best regards,
>> Ivan.
>>
>> On Thu, 15 Sep 2016 at 12:30 Ameet BD <ameetbigd...@gmail.com> wrote:
>>
>> > Hi All,
>> >
>> > I am trying to build latest Flink code from github.com by running
>> command
>> >
>> > $ git clone https://github.com/apache/flink
>> > After that I am running command
>> > $ mvn clean install -DskipTests
>> >
>> > The build fails I have attached the build log.
>> >
>> > Kindly let me know why it may be failing.
>> >
>> > Regards.
>> > Ameet
>> >
>>
>
>


Re: build error

2016-09-15 Thread Till Rohrmann
I agree with Ivan. This does not look like a Flink specific problem. Have
you tried building other projects with your maven and JDK version?

Cheers,
Till

On Thu, Sep 15, 2016 at 2:15 PM, Ivan Mushketyk 
wrote:

> Hi Ameet,
>
> This seems like a possible JVM bug.
> Could you try to build Flink using OracleJDK instead?
>
> Best regards,
> Ivan.
>
> On Thu, 15 Sep 2016 at 12:30 Ameet BD  wrote:
>
> > Hi All,
> >
> > I am trying to build latest Flink code from github.com by running
> command
> >
> > $ git clone https://github.com/apache/flink
> > After that I am running command
> > $ mvn clean install -DskipTests
> >
> > The build fails I have attached the build log.
> >
> > Kindly let me know why it may be failing.
> >
> > Regards.
> > Ameet
> >
>


Re: build error

2016-09-15 Thread Ivan Mushketyk
Hi Ameet,

This seems like a possible JVM bug.
Could you try to build Flink using OracleJDK instead?

Best regards,
Ivan.

On Thu, 15 Sep 2016 at 12:30 Ameet BD  wrote:

> Hi All,
>
> I am trying to build latest Flink code from github.com by running command
>
> $ git clone https://github.com/apache/flink
> After that I am running command
> $ mvn clean install -DskipTests
>
> The build fails I have attached the build log.
>
> Kindly let me know why it may be failing.
>
> Regards.
> Ameet
>


build error

2016-09-15 Thread Ameet BD
Hi All,

I am trying to build latest Flink code from github.com by running command

$ git clone https://github.com/apache/flink
After that I am running command
$ mvn clean install -DskipTests

The build fails I have attached the build log.

Kindly let me know why it may be failing.

Regards.
Ameet
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x7fa3b34ea3c7, pid=10719, tid=140341028869888
#
# JRE version: OpenJDK Runtime Environment (8.0_91-b14) (build 1.8.0_91-8u91-b14-0ubuntu4~14.04-b14)
# Java VM: OpenJDK 64-Bit Server VM (25.91-b14 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V  [libjvm.so+0x48b3c7]
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

---  T H R E A D  ---

Current thread (0x7fa3ac01f800):  GCTaskThread [stack: 0x7fa3b11c5000,0x7fa3b12c6000] [id=10723]

siginfo: si_signo: 11 (SIGSEGV), si_code: 2 (SEGV_ACCERR), si_addr: 0xe573c300

Registers:
RAX=0x7fa3b3effac0, RBX=0xe573c2f8, RCX=0x001f, RDX=0x8000
RSP=0x7fa3b12c4bc0, RBP=0x7fa3b12c4bc0, RSI=0x0001, RDI=0xe573c2f8
R8 =0xe573c2f8, R9 =0x0011, R10=0x7fa3b3f29080, R11=0x0080
R12=0x7fa3ac074890, R13=0x0001001d2a08, R14=0xe089c124, R15=0xe089c138
RIP=0x7fa3b34ea3c7, EFLAGS=0x00010202, CSGSFS=0x0033, ERR=0x0004
  TRAPNO=0x000e

Top of Stack: (sp=0x7fa3b12c4bc0)
0x7fa3b12c4bc0:   7fa3b12c4c30 7fa3b36598f0
0x7fa3b12c4bd0:   0010 7fa3ac0748d0
0x7fa3b12c4be0:   e089c100 0001001d2a10
0x7fa3b12c4bf0:   7fa3b3f29080 0003
0x7fa3b12c4c00:   7fa3ac027340 7fa3b3f250f0
0x7fa3b12c4c10:   7fa3ac0747a0 7fa3ac074890
0x7fa3b12c4c20:   7fa3b12c4d6c 7fa3b12c4d70
0x7fa3b12c4c30:   7fa3b12c4cf0 7fa3b3915de2
0x7fa3b12c4c40:   7fa3ac0748a0 7fa3ac074920
0x7fa3b12c4c50:   7fa3ac074950 e1b33e20
0x7fa3b12c4c60:   7fa3ac0748a0 e20b0e50
0x7fa3b12c4c70:   7fa3ac0748d0 7fa3ac074890
0x7fa3b12c4c80:   7fa3b12c4cf0 7fa3b3659927
0x7fa3b12c4c90:   e089c100 7fa3ac0748d0
0x7fa3b12c4ca0:   001e001b 0001002da968
0x7fa3b12c4cb0:   001f001b 0005
0x7fa3b12c4cc0:   7fa3ac01f800 7fa3ac074890
0x7fa3b12c4cd0:   7fa3ac0747a0 
0x7fa3b12c4ce0:   7fa3b12c4d6c 7fa3b12c4d70
0x7fa3b12c4cf0:   7fa3b12c4dc0 7fa3b38faa2e
0x7fa3b12c4d00:   7fa3ac074890 7fa3ac020298
0x7fa3b12c4d10:   7fa3b3ee52c0 7fa3ac0748d0
0x7fa3b12c4d20:   7fa3b12c4cf0 
0x7fa3b12c4d30:   7fa3b3eddb60 7fa3ac01f800
0x7fa3b12c4d40:   7fa3b12c4d80 7fa3b12c4d70
0x7fa3b12c4d50:   7fa3ac027640 7fa3ac074890
0x7fa3b12c4d60:    00b010d3ac01f170
0x7fa3b12c4d70:   e31a3d30 7fa3b387d61b
0x7fa3b12c4d80:    7fa3
0x7fa3b12c4d90:   7fa3b12c4dc0 0001
0x7fa3b12c4da0:   7fa3ac027640 7fa3b3ac6775
0x7fa3b12c4db0:   7fa3ac01f800 7fa3b3f1e3b8 

Instructions: (pc=0x7fa3b34ea3c7)
0x7fa3b34ea3a7:   8b 42 08 83 f8 00 7e 2c a8 01 75 2d c1 f8 03 5d
0x7fa3b34ea3b7:   c3 0f 1f 84 00 00 00 00 00 48 8d 05 f9 56 a1 00
0x7fa3b34ea3c7:   8b 57 08 8b 48 08 48 d3 e2 48 03 10 8b 42 08 83
0x7fa3b34ea3d7:   f8 00 7f d4 75 1b 0f 1f 00 48 8b 02 48 89 fe 48 

Register to memory mapping:

RAX=0x7fa3b3effac0:  in /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so at 0x7fa3b305f000
RBX=0xe573c2f8 is an unallocated location in the heap
RCX=0x001f is an unknown value
RDX=0x8000 is an unknown value
RSP=0x7fa3b12c4bc0 is an unknown value
RBP=0x7fa3b12c4bc0 is an unknown value
RSI=0x0001 is an unknown value
RDI=0xe573c2f8 is an unallocated location in the heap
R8 =0xe573c2f8 is an unallocated location in the heap
R9 =0x0011 is an unknown value
R10=0x7fa3b3f29080:  in /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so at 0x7fa3b305f000
R11=0x0080 is an unknown value
R12=0x7fa3ac074890 is an unknown value
R13=0x0001001d2a08 is pointing into metadata
R14=0xe089c124 is pointing into object: 0xe089c100
scala.reflect.io.FileZipArchive$FileEntry$1 
 - klass: 'scala/reflect/io/FileZipArchive$FileEntry$1'
R15=0xe089c138 is an oop
java.lang.String 
 - klass: 'java/lang/String'


Stack: [0x7fa3b11c5000,0x7fa3b12c6000],