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/17 07:09:00 UTC

[jira] [Updated] (FLINK-12868) Yarn cluster 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 updated FLINK-12868:
-----------------------------------
    Description: 
{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)\\n
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)\\n\\tat org.apache.flink.yarn.AbstractYarnClusterDescriptor.addEnvironmentFoldersToShipFiles(AbstractYarnClusterDescriptor.java:1531)\\n\\tat org.apache.flink.yarn.AbstractYarnClusterDescriptor.startAppMaster(AbstractYarnClusterDescriptor.java:704)\\n\\tat org.apache.flink.yarn.AbstractYarnClusterDescriptor.deployInternal(AbstractYarnClusterDescriptor.java:507)\\n\\tat 
{noformat}


  was:

{noformat}
-----------------------------------------------------------\\n The program finished with the following exception:\\n\\norg.apache.flink.client.deployment.ClusterDeploymentException: Couldn't deploy Yarn session cluster\\n\\tat org.apache.flink.yarn.AbstractYarnClusterDescriptor.deploySessionCluster(AbstractYarnClusterDescriptor.java:385)\\n\\tat org.apache.flink.yarn.cli.FlinkYarnSessionCli.run(FlinkYarnSessionCli.java:616)\\n\\tat org.apache.flink.yarn.cli.FlinkYarnSessionCli.lambda$main$3(FlinkYarnSessionCli.java:844)\\n\\tat java.security.AccessController.doPrivileged(Native Method)\\n\\tat javax.security.auth.Subject.doAs(Subject.java:422)\\n\\tat org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1836)\\n\\tat org.apache.flink.runtime.security.HadoopSecurityContext.runSecured(HadoopSecurityContext.java:41)\\n\\tat org.apache.flink.yarn.cli.FlinkYarnSessionCli.main(FlinkYarnSessionCli.java:844)\\nCaused 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.\\n\\tat 
{noformat}



> Yarn cluster 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 / YARN
>    Affects Versions: 1.9.0
>            Reporter: Piotr Nowojski
>            Assignee: Piotr Nowojski
>            Priority: Blocker
>             Fix For: 1.9.0
>
>
> {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)\\n
> 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)\\n\\tat org.apache.flink.yarn.AbstractYarnClusterDescriptor.addEnvironmentFoldersToShipFiles(AbstractYarnClusterDescriptor.java:1531)\\n\\tat org.apache.flink.yarn.AbstractYarnClusterDescriptor.startAppMaster(AbstractYarnClusterDescriptor.java:704)\\n\\tat org.apache.flink.yarn.AbstractYarnClusterDescriptor.deployInternal(AbstractYarnClusterDescriptor.java:507)\\n\\tat 
> {noformat}



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