GJL commented on a change in pull request #10997: [FLINK-15743][docs] Extend Flink 1.10 release notes URL: https://github.com/apache/flink/pull/10997#discussion_r377039711
########## File path: docs/release-notes/flink-1.10.md ########## @@ -73,16 +73,56 @@ start on YARN. This option has been deprecated since the introduction of [FLIP-6](https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=65147077). All Flink users are advised to remove this command line option. +#### Removal of --yst/--yarnstreaming Command Line Options ([FLINK-14957](https://issues.apache.org/jira/browse/FLINK-14957)) +The Flink CLI no longer supports the deprecated command line options +`-yst/--yarnstreaming`, which were used to disable eager pre-allocation of memory. +All Flink users are advised to remove this command line option. + #### Mesos Integration will reject expired Offers faster ([FLINK-14029](https://issues.apache.org/jira/browse/FLINK-14029)) Flink's Mesos integration now rejects all expired offers instead of only 4. This improves the situation where Fenzo holds on to a lot of expired offers without giving them back to the Mesos resource manager. #### Scheduler Rearchitecture ([FLINK-14651](https://issues.apache.org/jira/browse/FLINK-14651)) Flink's scheduler was refactored with the goal of making scheduling strategies -customizable in the future. Users that experience issues related to scheduling -can fallback to the legacy scheduler by setting `jobmanager.scheduler: legacy` -in their `flink-conf.yaml`. +customizable in the future. Users that did not already use the [Pipelined +Region Failover Strategy]({{ site.baseurl +}}/dev/task_failure_recovery.html#restart-pipelined-region-failover-strategy) +in Flink 1.9, should take the following caveats into account: + +* Exceptions that caused a job to restart will not shown on the job overview page of the Web UI ([FLINK-15917](https://issues.apache.org/jira/browse/FLINK-15917)). +However, exceptions that cause a job to fail (e.g., when all restart attempts exhausted) will still be shown. +* The `uptime` metric will not be reset after restarting a job due to task failure ([FLINK-15918](https://issues.apache.org/jira/browse/FLINK-15918)). + +The abovementioned caveats will be addressed in future releases but can be +worked around by setting `jobmanager.scheduler: legagcy` and unsetting +`jobmanager.execution.failover-strategy` in the `flink-conf.yaml`. + +#### Java 11 Support ([FLINK-10725](https://issues.apache.org/jira/browse/FLINK-10725)) +Beginning from this release, Flink can be compiled and run with Java 11. All +Java 8 artifacts can be also used with Java 11. This means that users that want +to run Flink with Java 11 do not have to compile Flink themselves. + +When starting Flink with Java 11, the following warnings may be logged: + + WARNING: An illegal reflective access operation has occurred + WARNING: Illegal reflective access by org.apache.flink.core.memory.MemoryUtils (file:/opt/flink/flink-1.10.0/lib/flink-dist_2.11-1.10.0.jar) to constructor java.nio.DirectByteBuffer(long,int) + WARNING: Please consider reporting this to the maintainers of org.apache.flink.core.memory.MemoryUtils + WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations + WARNING: All illegal access operations will be denied in a future release + + WARNING: An illegal reflective access operation has occurred + WARNING: Illegal reflective access by org.apache.flink.api.java.ClosureCleaner (file:/home/flinkuser/.m2/repository/org/apache/flink/flink-core/1.10.0/flink-core-1.10.0.jar) to field java.lang.String.value + WARNING: Please consider reporting this to the maintainers of org.apache.flink.api.java.ClosureCleaner + WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations + WARNING: All illegal access operations will be denied in a future release Review comment: something something netty ``` /io/netty/netty/3.10.6.Final/netty-3.10.6.Final.jar - org.jboss.netty.util.internal.ByteBufferUtil ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
