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

Add deprecated message when "-m yarn-cluster" is used

    XMLWordPrintableJSON

Details

    Description

      The unified executor interface has been introduced for a long time, which could be activated by "--target yarn-per-job/yarn-session/kubernetes-application". It is more descriptive and clearer. We should try to deprecate "-m yarn-cluster" and suggest our users to use the new CLI commands.

       

      However, AFAIK, many companies are using some CLI commands to integrate with their deployers. So we could not remove the "-m yarn-cluster" very soon. Maybe we could do it in the release 2.0 since we could do some breaking changes.

       

      For now, I suggest to add the @Deprecated annotation and printing a WARN log message when "-m yarn-cluster" is used. It is useful to let the users know the long-term goals and migrate asap.

      Attachments

        Issue Links

          Activity

            People

              rainieli Rainie Li
              wangyang0918 Yang Wang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4h
                  4h