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