From issues-return-150054-archive-asf-public=cust-asf.ponee.io@flink.apache.org Tue Jan 30 11:35:07 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 412E018061A for ; Tue, 30 Jan 2018 11:35:07 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 30C97160C53; Tue, 30 Jan 2018 10:35:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7890C160C42 for ; Tue, 30 Jan 2018 11:35:06 +0100 (CET) Received: (qmail 15615 invoked by uid 500); 30 Jan 2018 10:35:05 -0000 Mailing-List: contact issues-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list issues@flink.apache.org Received: (qmail 15606 invoked by uid 99); 30 Jan 2018 10:35:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jan 2018 10:35:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 3D44CC0452 for ; Tue, 30 Jan 2018 10:35:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.311 X-Spam-Level: X-Spam-Status: No, score=-110.311 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id YGWj-mZ8Xi1S for ; Tue, 30 Jan 2018 10:35:04 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 6015560DA4 for ; Tue, 30 Jan 2018 10:35:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 7291BE0231 for ; Tue, 30 Jan 2018 10:35:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 7A4B024386 for ; Tue, 30 Jan 2018 10:35:00 +0000 (UTC) Date: Tue, 30 Jan 2018 10:35:00 +0000 (UTC) From: "Aljoscha Krettek (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FLINK-8519) FileAlreadyExistsException on Start Flink Session MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLINK-8519?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Aljoscha Krettek updated FLINK-8519: ------------------------------------ Priority: Blocker (was: Major) > FileAlreadyExistsException on Start Flink Session=20 > -------------------------------------------------- > > 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: Blocker > Fix For: 1.5.0 > > > *steps to=C2=A0reproduce:* > 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=3D/path/hadoop/etc/hadoop; > export HADOOP_CONF_DIR=3D/path/hadoop/etc/hadoop; > export JVM_ARGS=3D"-Djava.security.krb5.conf=3D${HADOOP_CONF_DIR}/krb5.co= nf";=20 > /path/flink-1.5-SNAPSHOT/bin/yarn-session.sh -D yarn.container-start-comm= and-template=3D"/usr/local/jdk1.8.0_112/bin/java %%jvmmem%% %%jvmopts%% %%l= ogging%% %%class%% %%args%% %%redirects%%" -n 4 -nm job_name -qu root.rt.fl= ink -jm 1024 -tm 4096 -s 4 -d > =C2=A0 > *error infos:* > 2018-01-27 00:51:12,841 ERROR org.apache.flink.yarn.cli.FlinkYarnSessionC= li - Error while running the Flink Yarn session. > java.lang.reflect.UndeclaredThrowableException > at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInforma= tion.java:1571) > at org.apache.flink.runtime.security.HadoopSecurityContext.runSecured(Ha= doopSecurityContext.java:41) > at org.apache.flink.yarn.cli.FlinkYarnSessionCli.main(FlinkYarnSessionCl= i.java:786) > Caused by: org.apache.flink.client.deployment.ClusterDeploymentException= : Couldn't deploy Yarn session cluster > at org.apache.flink.yarn.AbstractYarnClusterDescriptor.deploySessionClus= ter(AbstractYarnClusterDescriptor.java:389) > at org.apache.flink.yarn.cli.FlinkYarnSessionCli.run(FlinkYarnSessionCli= .java:594) > at org.apache.flink.yarn.cli.FlinkYarnSessionCli.lambda$main$2(FlinkYarn= SessionCli.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(UserGroupInforma= tion.java:1556) > ... 2 more > Caused by: org.apache.hadoop.fs.FileAlreadyExistsException: Path /user a= lready 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.(InodeTree.java:334) > at org.apache.hadoop.fs.viewfs.ViewFileSystem$1.(ViewFileSystem.ja= va: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:243= 1) > 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(Ab= stractYarnClusterDescriptor.java:656) > at org.apache.flink.yarn.AbstractYarnClusterDescriptor.deployInternal(Ab= stractYarnClusterDescriptor.java:485) > at org.apache.flink.yarn.AbstractYarnClusterDescriptor.deploySessionClus= ter(AbstractYarnClusterDescriptor.java:384) > ... 7 more -- This message was sent by Atlassian JIRA (v7.6.3#76005)