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

Yarn and Mesos clusters can not be deployed if plugins dir does not exist

    XMLWordPrintableJSON

    Details

      Description

      -----------------------------------------------------------
       The program finished with the following exception:\\n\\norg.apache.flink.client.deployment.ClusterDeploymentException: Couldn't deploy Yarn session cluster\\n\\t
      at org.apache.flink.yarn.AbstractYarnClusterDescriptor.deploySessionCluster(AbstractYarnClusterDescriptor.java:385)\\n\\t
      at org.apache.flink.yarn.cli.FlinkYarnSessionCli.run(FlinkYarnSessionCli.java:616)\\n\\t
      at org.apache.flink.yarn.cli.FlinkYarnSessionCli.lambda$main$3(FlinkYarnSessionCli.java:844)\\n\\t
      at java.security.AccessController.doPrivileged(Native Method)\\n\\tat javax.security.auth.Subject.doAs(Subject.java:422)\\n\\t
      at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1836)\\n\\t
      at org.apache.flink.runtime.security.HadoopSecurityContext.runSecured(HadoopSecurityContext.java:41)\\n\\t
      at org.apache.flink.yarn.cli.FlinkYarnSessionCli.main(FlinkYarnSessionCli.java:844)
      Caused by: org.apache.flink.yarn.AbstractYarnClusterDescriptor$YarnDeploymentException: The environment variable 'FLINK_PLUGINS_DIR' is set to '/opt/flink/plugins' but the directory doesn't exist. 
      at org.apache.flink.yarn.AbstractYarnClusterDescriptor.addEnvFolderToShipFiles(AbstractYarnClusterDescriptor.java:1540)
      at org.apache.flink.yarn.AbstractYarnClusterDescriptor.addEnvironmentFoldersToShipFiles(AbstractYarnClusterDescriptor.java:1531)
      at org.apache.flink.yarn.AbstractYarnClusterDescriptor.startAppMaster(AbstractYarnClusterDescriptor.java:704)
      at org.apache.flink.yarn.AbstractYarnClusterDescriptor.deployInternal(AbstractYarnClusterDescriptor.java:507)
      at 
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pnowojski Piotr Nowojski
                Reporter:
                pnowojski Piotr Nowojski
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

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