build error

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

build error

Ameet BD
Hi All,

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

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

hs_err_pid10719.log (79K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: build error

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 <[hidden email]> 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
>
Reply | Threaded
Open this post in threaded view
|

Re: build error

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 <[hidden email]>
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 <[hidden email]> 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
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: build error

Ameet BD
In reply to this post by Ivan Mushketyk
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 <[hidden email]> 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 <[hidden email]> 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
>


rat.txt (669K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: build error

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 <[hidden email]> 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 <[hidden email]>
> 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 <[hidden email]> 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
>> >
>>
>
>