Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 57388200C02 for ; Fri, 20 Jan 2017 18:22:31 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 55BBD160B48; Fri, 20 Jan 2017 17:22:31 +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 A0E2F160B34 for ; Fri, 20 Jan 2017 18:22:30 +0100 (CET) Received: (qmail 53830 invoked by uid 500); 20 Jan 2017 17:22:29 -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 53818 invoked by uid 99); 20 Jan 2017 17:22:29 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jan 2017 17:22:29 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 49E05180BD7 for ; Fri, 20 Jan 2017 17:22:29 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.999 X-Spam-Level: X-Spam-Status: No, score=-1.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id kyLHlRBQjyWA for ; Fri, 20 Jan 2017 17:22:28 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 71B9A5F30B for ; Fri, 20 Jan 2017 17:22:27 +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 AA00CE0236 for ; Fri, 20 Jan 2017 17:22:26 +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 669952527F for ; Fri, 20 Jan 2017 17:22:26 +0000 (UTC) Date: Fri, 20 Jan 2017 17:22:26 +0000 (UTC) From: "Pragya Mittal (JIRA)" To: dev@falcon.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FALCON-2261) Job submission fails with IllegalArgumentException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 20 Jan 2017 17:22:31 -0000 Pragya Mittal created FALCON-2261: ------------------------------------- Summary: Job submission fails with IllegalArgumentException Key: FALCON-2261 URL: https://issues.apache.org/jira/browse/FALCON-2261 Project: Falcon Issue Type: Bug Components: extensions Affects Versions: trunk Reporter: Pragya Mittal I tried registering and submitting jobs via webhdfs and got the following error : {noformat} pragya.mittal@falcon1001:~$ falcon extension -register -extensionName example-1 -path webhdfs://192.168.138.236:14000/tmp/extensions/extension-example Extension :example-1 registered successfully. pragya.mittal@falcon1001:~$ falcon extension -submitAndSchedule -extensionName example-1 -jobName job-instance1 -file abc Error in building the extension:java.lang.IllegalArgumentException: Wrong FS: webhdfs://192.168.138.236:14000/tmp/extensions/extension-example/libs/build, expected: hdfs://192.168.138.236:8020 at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:645) at org.apache.hadoop.hdfs.DistributedFileSystem.getPathName(DistributedFileSystem.java:193) at org.apache.hadoop.hdfs.DistributedFileSystem.access$000(DistributedFileSystem.java:105) at org.apache.hadoop.hdfs.DistributedFileSystem$18.doCall(DistributedFileSystem.java:1118) at org.apache.hadoop.hdfs.DistributedFileSystem$18.doCall(DistributedFileSystem.java:1114) at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81) at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1114) at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:337) at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:289) at org.apache.hadoop.fs.FileSystem.copyToLocalFile(FileSystem.java:1970) at org.apache.hadoop.fs.FileSystem.copyToLocalFile(FileSystem.java:1939) at org.apache.hadoop.fs.FileSystem.copyToLocalFile(FileSystem.java:1915) at org.apache.falcon.ExtensionHandler.copyExtensionPackage(ExtensionHandler.java:163) at org.apache.falcon.ExtensionHandler.loadAndPrepare(ExtensionHandler.java:102) at org.apache.falcon.client.FalconClient.getEntities(FalconClient.java:1164) at org.apache.falcon.client.FalconClient.validateExtensionAndGetEntities(FalconClient.java:1130) at org.apache.falcon.client.FalconClient.getEntitiesForm(FalconClient.java:1099) at org.apache.falcon.client.FalconClient.submitAndScheduleExtensionJob(FalconClient.java:1180) at org.apache.falcon.cli.FalconExtensionCLI.extensionCommand(FalconExtensionCLI.java:127) at org.apache.falcon.cli.FalconCLI.run(FalconCLI.java:128) at org.apache.falcon.cli.FalconCLI.main(FalconCLI.java:62) ERROR: Error in building the extension:Wrong FS: webhdfs://192.168.138.236:14000/tmp/extensions/extension-example/libs/build, expected: hdfs://192.168.138.236:8020 {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)