Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-33417

Update netty version to 4.1.83 for flink-shaded

    XMLWordPrintableJSON

Details

    Description

      In our ARM environment, we encounter a compile error when using Flink 1.17.
      (The BE20xxx pic is the error when using 4.1.82. The 09DDxx pic is the pic of compiling successfully after using 4.1.83.)

      Flink 1.17 depends on flink-shaded 16.1, which uses netty 4.1.82. However, flink-shaded 16.1 fails to compile in the ARM environment. As a result, we are unable to compile Flink 1.17 due to this issue.

      We have tested compiling flink-shaded using netty 4.1.83 or a later version in ARM env, and it can compile successfully.

      Taking into consideration the previous discussions regarding compatibility and the dependency of external connectors on this version, I propose addressing the bug by only updating flink-shaded's netty to a minor version (e.g., 4.1.83) rather than backporting FLINK-32032.

      To implement the update, maybe a new release of flink-shaded 16.2 needs to be released.

      The discussion details is at https://lists.apache.org/thread/y1c8545bcsx2836d9pgfdzj65knvw7kb.

      Attachments

        1. 09DD8FAA-7701-4AA0-85F9-4ABA6C5117DF.png
          1.44 MB
          Yuxin Tan
        2. BE207321-9677-4721-9415-BD3312C29824.png
          2.17 MB
          Yuxin Tan
        3. run.log
          26 kB
          Yuxin Tan

        Issue Links

          Activity

            People

              tanyuxin Yuxin Tan
              tanyuxin Yuxin Tan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: