You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Piotr Nowojski (JIRA)" <ji...@apache.org> on 2019/06/21 14:05:00 UTC

[jira] [Closed] (FLINK-12868) Yarn and Mesos clusters can not be deployed if plugins dir does not exist

     [ https://issues.apache.org/jira/browse/FLINK-12868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Piotr Nowojski closed FLINK-12868.
----------------------------------
    Resolution: Fixed

> Yarn and Mesos clusters can not be deployed if plugins dir does not exist
> -------------------------------------------------------------------------
>
>                 Key: FLINK-12868
>                 URL: https://issues.apache.org/jira/browse/FLINK-12868
>             Project: Flink
>          Issue Type: Bug
>          Components: Deployment / Mesos, Deployment / YARN
>    Affects Versions: 1.9.0
>            Reporter: Piotr Nowojski
>            Assignee: Piotr Nowojski
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 1.9.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> {noformat}
> -----------------------------------------------------------
>  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 
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)