Return-Path: X-Original-To: apmail-flink-issues-archive@minotaur.apache.org Delivered-To: apmail-flink-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6961C18DEA for ; Fri, 12 Feb 2016 11:33:32 +0000 (UTC) Received: (qmail 65911 invoked by uid 500); 12 Feb 2016 11:33:32 -0000 Delivered-To: apmail-flink-issues-archive@flink.apache.org Received: (qmail 65869 invoked by uid 500); 12 Feb 2016 11:33:32 -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 65860 invoked by uid 99); 12 Feb 2016 11:33:32 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Feb 2016 11:33:32 +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 E395B18027D for ; Fri, 12 Feb 2016 11:33:31 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.349 X-Spam-Level: X-Spam-Status: No, score=-4.349 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.329] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 7VsLOpmYYGM1 for ; Fri, 12 Feb 2016 11:33:29 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with SMTP id 7AA3420655 for ; Fri, 12 Feb 2016 11:33:29 +0000 (UTC) Received: (qmail 65845 invoked by uid 99); 12 Feb 2016 11:33:29 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Feb 2016 11:33:29 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 4B831E03CD; Fri, 12 Feb 2016 11:33:29 +0000 (UTC) From: rmetzger To: issues@flink.incubator.apache.org Reply-To: issues@flink.incubator.apache.org References: In-Reply-To: Subject: [GitHub] flink pull request: FLINK-2380: allow to specify the default files... Content-Type: text/plain Message-Id: <20160212113329.4B831E03CD@git1-us-west.apache.org> Date: Fri, 12 Feb 2016 11:33:29 +0000 (UTC) Github user rmetzger commented on the pull request: https://github.com/apache/flink/pull/1524#issuecomment-183288223 Thank you. - ` ./bin/yarn-session.sh -tm 1024 -n 7 -s 2 -Dfs.default-scheme=hdfs:///` is now working - Setting the fs.default-scheme to `thisIsWrong` and trying to read from `/user/robert/trashaa` leads to: ``` Caused by: java.io.IOException: The URI '/user/robert/trashaa' is invalid. Hint: Did you specify only the PATH to your file (without the scheme) but forgot the initial slash (/) in the beginning??? ``` I don't think putting three question marks there is a good idea. I think it implicates that the user is too stupid to properly specify a file path. And I would like to see the default scheme there. Right now, its quite hard to see what's wrong. the error reporting for the default scheme: `thisIsWrong:///` and the path `/user/robert/trashaa` is good again: ``` Caused by: java.io.IOException: No file system found with scheme thisIsWrong, referenced in file URI 'thisIsWrong:/user/robert/trashaaa'. ``` I would expect a similar error reporting for `fs.default-scheme=thisIsWrong` --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---