Re: [Geotools-devel] GSIP RenderListener Extension
Maybe take the opportunity to fix the typo in "featureRenderer()" (it should be featureRendered(), shouldn't it?) and for the sake of consistency add feartureStart() and featureEnd(). So maybe deprecating featureRenderer() and make featureStart() a default that calls the deprecated one until it's removed? Another question: do you expect feature events to be enclosed by layerStart/End events? I'm not sure how that'll play with multithreading, I think StreamingRenderer will do parallel rendering to separate backbuffers in some cases? Andrea can you confirm? On Thu, 10 Oct 2019 at 06:22, marco.volp...@geo-solutions.it < marco.volp...@geo-solutions.it> wrote: > Dear all, > > I would like to submit the following Geotools improvement proposal: > > https://github.com/geotools/geotools/wiki/RenderListener-Extension > > > I take also the opportunity to introduce myself: > I'm Marco Volpini from Italy and I start recently working as a java > developer at Geo-solutions. > > Best regards, > > Marco Volpini > ___ > GeoTools-Devel mailing list > GeoTools-Devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geotools-devel > -- Gabriel Roldán ___ GeoTools-Devel mailing list GeoTools-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel
Re: [Geotools-devel] Trying to understand Java 11 failures
Been building the master branch with OpenJDK 11 from AdoptOpenJDK all day, tried to make a few runs every now and then, found a image comparison failure that I've fixed, with that, no more failures, no file system issues... seems an Amazon fleet specific mystery... Anyone that can reproduce these issues? Cheers Andrea On Thu, Oct 10, 2019 at 11:14 AM Andrea Aime wrote: > Hi, > Java 11 builds keep on being plagued by random failures, but lately, they > are almost guaranteed. > The starting point for the build fail is not always the same, it happens > in different modules, but once > there is an error, everything falls apart. > > See for example this build: > > https://build.geoserver.org/view/geotools/job/geotools-java11/489/consoleFull > After the errors in mosaic, the log of the feature-pregeneralized module, > while not reporting errors, > state the following: > > [INFO] *--- maven-resources-plugin:3.1.0:resources (default-resources) @ > gt-feature-pregeneralized --- > *[INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] skip non existing resourceDirectory > /tmp/jenkins-c559144f/workspace/java11/geotools/modules/plugin/feature-pregeneralized/src/main/resources > [INFO] > [INFO] *--- maven-compiler-plugin:3.8.0:compile (default-compile) @ > gt-feature-pregeneralized --- > *[INFO] No sources to compile > [INFO] > > [INFO] *--- maven-resources-plugin:3.1.0:testResources > (default-testResources) @ gt-feature-pregeneralized --- > *[INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] skip non existing resourceDirectory > /tmp/jenkins-c559144f/workspace/java11/geotools/modules/plugin/feature-pregeneralized/src/test/resources > > > This is however not true, there definitely sources, and there are files > there: > > https://github.com/geotools/geotools/tree/84d6dc79f544430bdb6bdec7fa3a7fb89bb65229/modules/plugin/feature-pregeneralized/src/main/resources > > https://github.com/geotools/geotools/tree/84d6dc79f544430bdb6bdec7fa3a7fb89bb65229/modules/plugin/feature-pregeneralized/src/test/resources > > So it looks like the file system suddenly gives up, or at least, Java is > not able to see it any longer. > I tried to see if there is a "too many open files" error somewhere, but > could not find any. > > Looking at the errors, it seems to be affecting both surefire (which is > running in its own separate JVMs) and the main > maven JVM, which is running compiles and the like, indeed, right after the > failures, it also attempts re-downloading dependencies > that were already downloaded, like jackson jars, see for example this > build console output, search for jackson-core 2.9.10 (there > is also a 2.9.6 in the build, used by maven itself), you can see it being > succesfully downloaded at the beginning, while > building gt-main, and then after the first failure, it tries to > re-download it again, as if the maven local repository got emptied somehow. > > The GeoTools failures to build are likely affecting also GeoServer, as a > revert of a commit that is causing a concurrency failure in the WFS tests > never got baked into a java 11 jar for the GeoServer java 11 build to use. > > I'm not seeing a smoking gun, but maybe the above description may trigger > a light in some of your reading this message. > What would cause this, that does not happen with a Java 8 build. > > Btw, I've noticed that the Java 11 build is not the latest, it's a 11.0.3 > while 11.0.4 is out already.. checked the changelog > but don't see anything file related: > > https://www.oracle.com/technetwork/java/javase/2col/11-0-4-oracle-bugfixes-5480115.html > > Cheers > Andrea > > > GeoServer Professional Services from the experts! Visit > http://goo.gl/it488V for more information. > > == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di > Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 > 1660272 mob: +39 339 8844549 http://www.geo-solutions.it > http://twitter.com/geosolutions_it > --- *Con riferimento > alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - > Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni > circostanza inerente alla presente email (il suo contenuto, gli eventuali > allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i > destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per > errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le > sarei comunque grato se potesse darmene notizia. This email is intended > only for the person or entity to which it is addressed and may contain > information that is privileged, confidential or otherwise protected from > disclosure. We remind that - as provided by European Regulation 2016/679 > “GDPR” - copying, dissemination or use of this e-mail or the information > herein by anyone other than the intended recipient is prohibited. If you > have received this email by
Re: [Geotools-devel] GSIP RenderListener Extension
Looks good to me +1 :) On Thu, 2019-10-10 at 11:04 +0100, Ian Turton wrote: > Seems uncontentious to me +1 > > Ian > > On Thu, 10 Oct 2019 at 10:22, marco.volp...@geo-solutions.it > olp...@geo-solutions.it> wrote: > > Dear all, > > > > I would like to submit the following Geotools improvement proposal: > > > > https://github.com/geotools/geotools/wiki/RenderListener-Extension > > > > > > > > I take also the opportunity to introduce myself: > > I'm Marco Volpini from Italy and I start recently working as a java > > developer at Geo-solutions. > > > > Best regards, > > > > Marco Volpini > > ___ > > GeoTools-Devel mailing list > > GeoTools-Devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/geotools-devel > > > > -- > Ian Turton > ___ > GeoTools-Devel mailing list > GeoTools-Devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geotools-devel -- Regards, Nuno Oliveira == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Nuno Miguel Carvalho Oliveira @nmcoliveira Software Engineer GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail. ___ GeoTools-Devel mailing list GeoTools-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel
Re: [Geotools-devel] GSIP RenderListener Extension
Pretty simple extension, no objection. +0 Cheers Andrea On Thu, Oct 10, 2019 at 11:23 AM marco.volp...@geo-solutions.it < marco.volp...@geo-solutions.it> wrote: > Dear all, > > I would like to submit the following Geotools improvement proposal: > > https://github.com/geotools/geotools/wiki/RenderListener-Extension > > > I take also the opportunity to introduce myself: > I'm Marco Volpini from Italy and I start recently working as a java > developer at Geo-solutions. > > Best regards, > > Marco Volpini > ___ > GeoTools-Devel mailing list > GeoTools-Devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geotools-devel > -- Regards, Andrea Aime == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- *Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.* ___ GeoTools-Devel mailing list GeoTools-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel
Re: [Geotools-devel] GSIP RenderListener Extension
Seems uncontentious to me +1 Ian On Thu, 10 Oct 2019 at 10:22, marco.volp...@geo-solutions.it < marco.volp...@geo-solutions.it> wrote: > Dear all, > > I would like to submit the following Geotools improvement proposal: > > https://github.com/geotools/geotools/wiki/RenderListener-Extension > > > I take also the opportunity to introduce myself: > I'm Marco Volpini from Italy and I start recently working as a java > developer at Geo-solutions. > > Best regards, > > Marco Volpini > ___ > GeoTools-Devel mailing list > GeoTools-Devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geotools-devel > -- Ian Turton ___ GeoTools-Devel mailing list GeoTools-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel
[Geotools-devel] GSIP RenderListener Extension
Dear all, I would like to submit the following Geotools improvement proposal: https://github.com/geotools/geotools/wiki/RenderListener-Extension I take also the opportunity to introduce myself: I'm Marco Volpini from Italy and I start recently working as a java developer at Geo-solutions. Best regards, Marco Volpini ___ GeoTools-Devel mailing list GeoTools-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel
[Geotools-devel] Trying to understand Java 11 failures
Hi, Java 11 builds keep on being plagued by random failures, but lately, they are almost guaranteed. The starting point for the build fail is not always the same, it happens in different modules, but once there is an error, everything falls apart. See for example this build: https://build.geoserver.org/view/geotools/job/geotools-java11/489/consoleFull After the errors in mosaic, the log of the feature-pregeneralized module, while not reporting errors, state the following: [INFO] *--- maven-resources-plugin:3.1.0:resources (default-resources) @ gt-feature-pregeneralized --- *[INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /tmp/jenkins-c559144f/workspace/java11/geotools/modules/plugin/feature-pregeneralized/src/main/resources [INFO] [INFO] *--- maven-compiler-plugin:3.8.0:compile (default-compile) @ gt-feature-pregeneralized --- *[INFO] No sources to compile [INFO] [INFO] *--- maven-resources-plugin:3.1.0:testResources (default-testResources) @ gt-feature-pregeneralized --- *[INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /tmp/jenkins-c559144f/workspace/java11/geotools/modules/plugin/feature-pregeneralized/src/test/resources This is however not true, there definitely sources, and there are files there: https://github.com/geotools/geotools/tree/84d6dc79f544430bdb6bdec7fa3a7fb89bb65229/modules/plugin/feature-pregeneralized/src/main/resources https://github.com/geotools/geotools/tree/84d6dc79f544430bdb6bdec7fa3a7fb89bb65229/modules/plugin/feature-pregeneralized/src/test/resources So it looks like the file system suddenly gives up, or at least, Java is not able to see it any longer. I tried to see if there is a "too many open files" error somewhere, but could not find any. Looking at the errors, it seems to be affecting both surefire (which is running in its own separate JVMs) and the main maven JVM, which is running compiles and the like, indeed, right after the failures, it also attempts re-downloading dependencies that were already downloaded, like jackson jars, see for example this build console output, search for jackson-core 2.9.10 (there is also a 2.9.6 in the build, used by maven itself), you can see it being succesfully downloaded at the beginning, while building gt-main, and then after the first failure, it tries to re-download it again, as if the maven local repository got emptied somehow. The GeoTools failures to build are likely affecting also GeoServer, as a revert of a commit that is causing a concurrency failure in the WFS tests never got baked into a java 11 jar for the GeoServer java 11 build to use. I'm not seeing a smoking gun, but maybe the above description may trigger a light in some of your reading this message. What would cause this, that does not happen with a Java 8 build. Btw, I've noticed that the Java 11 build is not the latest, it's a 11.0.3 while 11.0.4 is out already.. checked the changelog but don't see anything file related: https://www.oracle.com/technetwork/java/javase/2col/11-0-4-oracle-bugfixes-5480115.html Cheers Andrea GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- *Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.* ___ GeoTools-Devel mailing list GeoTools-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel