flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aljoscha Krettek (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-8519) FileAlreadyExistsException on Start Flink Session
Date Tue, 30 Jan 2018 10:35:00 GMT

    [ https://issues.apache.org/jira/browse/FLINK-8519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16344836#comment-16344836
] 

Aljoscha Krettek commented on FLINK-8519:
-----------------------------------------

[~yew1eb] And this does not occur with Flink 1.4.x?

> FileAlreadyExistsException on Start Flink Session 
> --------------------------------------------------
>
>                 Key: FLINK-8519
>                 URL: https://issues.apache.org/jira/browse/FLINK-8519
>             Project: Flink
>          Issue Type: Bug
>          Components: YARN
>    Affects Versions: 1.5.0
>            Reporter: Hai Zhou UTC+8
>            Priority: Major
>             Fix For: 1.5.0
>
>
> *steps to reproduce:*
>  1. build flink from source , git commit: c1734f4
>  2. run script:
> source /path/hadoop/bin/hadoop_user_login.sh hadoop-launcher;
> export YARN_CONF_DIR=/path/hadoop/etc/hadoop;
> export HADOOP_CONF_DIR=/path/hadoop/etc/hadoop;
> export JVM_ARGS="-Djava.security.krb5.conf=${HADOOP_CONF_DIR}/krb5.conf"; 
> /path/flink-1.5-SNAPSHOT/bin/yarn-session.sh -D yarn.container-start-command-template="/usr/local/jdk1.8.0_112/bin/java
%%jvmmem%% %%jvmopts%% %%logging%% %%class%% %%args%% %%redirects%%" -n 4 -nm job_name -qu
root.rt.flink -jm 1024 -tm 4096 -s 4 -d
>  
>  *error infos:*
> 2018-01-27 00:51:12,841 ERROR org.apache.flink.yarn.cli.FlinkYarnSessionCli - Error while
running the Flink Yarn session.
>  java.lang.reflect.UndeclaredThrowableException
>  at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1571)
>  at org.apache.flink.runtime.security.HadoopSecurityContext.runSecured(HadoopSecurityContext.java:41)
>  at org.apache.flink.yarn.cli.FlinkYarnSessionCli.main(FlinkYarnSessionCli.java:786)
>  Caused by: org.apache.flink.client.deployment.ClusterDeploymentException: Couldn't deploy
Yarn session cluster
>  at org.apache.flink.yarn.AbstractYarnClusterDescriptor.deploySessionCluster(AbstractYarnClusterDescriptor.java:389)
>  at org.apache.flink.yarn.cli.FlinkYarnSessionCli.run(FlinkYarnSessionCli.java:594)
>  at org.apache.flink.yarn.cli.FlinkYarnSessionCli.lambda$main$2(FlinkYarnSessionCli.java:786)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at javax.security.auth.Subject.doAs(Subject.java:422)
>  at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1556)
>  ... 2 more
>  Caused by: org.apache.hadoop.fs.FileAlreadyExistsException: Path /user already exists
as dir; cannot create link here
>  at org.apache.hadoop.fs.viewfs.InodeTree.createLink(InodeTree.java:244)
>  at org.apache.hadoop.fs.viewfs.InodeTree.<init>(InodeTree.java:334)
>  at org.apache.hadoop.fs.viewfs.ViewFileSystem$1.<init>(ViewFileSystem.java:161)
>  at org.apache.hadoop.fs.viewfs.ViewFileSystem.initialize(ViewFileSystem.java:161)
>  at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2397)
>  at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:89)
>  at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2431)
>  at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2413)
>  at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:368)
>  at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:167)
>  at org.apache.flink.yarn.AbstractYarnClusterDescriptor.startAppMaster(AbstractYarnClusterDescriptor.java:656)
>  at org.apache.flink.yarn.AbstractYarnClusterDescriptor.deployInternal(AbstractYarnClusterDescriptor.java:485)
>  at org.apache.flink.yarn.AbstractYarnClusterDescriptor.deploySessionCluster(AbstractYarnClusterDescriptor.java:384)
>  ... 7 more



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

Mime
View raw message