Return-Path: X-Original-To: apmail-falcon-dev-archive@minotaur.apache.org Delivered-To: apmail-falcon-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 555C718FBE for ; Mon, 4 Jan 2016 18:04:49 +0000 (UTC) Received: (qmail 85570 invoked by uid 500); 4 Jan 2016 18:04:48 -0000 Delivered-To: apmail-falcon-dev-archive@falcon.apache.org Received: (qmail 85528 invoked by uid 500); 4 Jan 2016 18:04:48 -0000 Mailing-List: contact dev-help@falcon.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@falcon.apache.org Delivered-To: mailing list dev@falcon.apache.org Received: (qmail 85517 invoked by uid 99); 4 Jan 2016 18:04:48 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jan 2016 18:04:48 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 0EEC71A11AF for ; Mon, 4 Jan 2016 18:04:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.226 X-Spam-Level: * X-Spam-Status: No, score=1.226 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.554] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id V3igOpFpptB1 for ; Mon, 4 Jan 2016 18:04:47 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with SMTP id 1D60A2314A for ; Mon, 4 Jan 2016 18:04:45 +0000 (UTC) Received: (qmail 84180 invoked by uid 99); 4 Jan 2016 18:04:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jan 2016 18:04:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E0BA22C1F60 for ; Mon, 4 Jan 2016 18:04:39 +0000 (UTC) Date: Mon, 4 Jan 2016 18:04:39 +0000 (UTC) From: "Ajay Yadava (JIRA)" To: dev@falcon.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (FALCON-1648) Submit cluster entity without temp and working location fails. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FALCON-1648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ajay Yadava resolved FALCON-1648. --------------------------------- Resolution: Fixed Fixed as part of FALCON-1648. > Submit cluster entity without temp and working location fails. > -------------------------------------------------------------- > > Key: FALCON-1648 > URL: https://issues.apache.org/jira/browse/FALCON-1648 > Project: Falcon > Issue Type: Bug > Affects Versions: 0.8 > Reporter: Balu Vellanki > Assignee: Balu Vellanki > Fix For: 0.9 > > > Today, when specifying a cluster entity, user should create three dirs in HDFS with proper permissions. > 1. staging > 2. tmp > 3. working > We can simplify this by letting user specify a single location, i.e. staging. The working dir will be created by falcon under /working. The tmp dir will be /tmp. User can still overwrite these values in the cluster.xml, this way the cluster definition is backwards compatible. > Falcon-817 was supposed to address this issue. But when I submit a cluster entity without working and temp locations, the submission fails with following error. > {code} > 2015-12-03 00:13:19,759 ERROR - [1209485672@qtp-681008168-1778 - adfa8c22-a42e-4555-ad98-52e9d14bc97f:ambari-qa:POST//entities/submit/cluster] ~ Unable to persist entity object (AbstractEntityManager:203) > org.apache.falcon.FalconException: Failed to copy shared libs to clusterprimaryCluster2 > at org.apache.falcon.service.SharedLibraryHostingService.addLibsTo(SharedLibraryHostingService.java:107) > ... > Caused by: org.apache.hadoop.security.AccessControlException: Permission denied: user=falcon, access=WRITE, inode="/apps/falcon/primaryCluster/staging2/working/lib":ambari-qa:hdfs:drwxr-xr-x > at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.check(FSPermissionChecker.java:319) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)