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

Yarn error unhelpful when forgetting HADOOP_CLASSPATH

    XMLWordPrintableJSON

Details

    Description

      When running

      flink run -m yarn-cluster -yjm 1768 -ytm 50072 -ys 32 ...
      

      without some export HADOOP_CLASSPATH, we get the unhelpful message

      Could not build the program from JAR file: JAR file does not exist: -yjm
      

      I'd expect something like

      yarn-cluster can only be used with exported HADOOP_CLASSPATH, see <url> for more information

       

      I suggest to load a stub for YarnCluster deployment if the actual implementation fails to load, which prints this error when used.

      Attachments

        Activity

          People

            kkl0u Kostas Kloudas
            arvid Arvid Heise
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: