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 E9014200B9B for ; Wed, 12 Oct 2016 20:56:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E742F160AD4; Wed, 12 Oct 2016 18:56:00 +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 39DDB160ACA for ; Wed, 12 Oct 2016 20:56:00 +0200 (CEST) Received: (qmail 55949 invoked by uid 500); 12 Oct 2016 18:55:58 -0000 Mailing-List: contact dev-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@spark.apache.org Received: (qmail 55937 invoked by uid 99); 12 Oct 2016 18:55:58 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2016 18:55:58 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id F0497C17F3 for ; Wed, 12 Oct 2016 18:55:57 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.48 X-Spam-Level: ** X-Spam-Status: No, score=2.48 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=tresata-com.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 4EyxigPWCEvI for ; Wed, 12 Oct 2016 18:55:55 +0000 (UTC) Received: from mail-lf0-f53.google.com (mail-lf0-f53.google.com [209.85.215.53]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 70C6F5F576 for ; Wed, 12 Oct 2016 18:55:55 +0000 (UTC) Received: by mail-lf0-f53.google.com with SMTP id x79so92456144lff.0 for ; Wed, 12 Oct 2016 11:55:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tresata-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=RG5cL7i2/A9FEBb0Pr+EBeGy5r4A9gZwBYIHptgqMa0=; b=UQbuYBdA7s/G2WiOONltMwnCtRL7xKZeAKt7qJGKjxoQlYyEN9v5Z2mfIEd+01qOLW UAmz9dEK1HHSKU48jAc5NrF4oYKIiWmuVHVeWtPmkwmsaLUxV27CDWLuIBKscEdlQj0P qLwsOEhzLKQ+SqHIQ5hE6gk5W+0rgTv95PPPnjXLeQbd+WtkV77FAkskxxh4zzTn9cpb XK0mdlXuajWXYzw6VbxCxWjlpJa9wceBzTH1M9QUxaMVkF5DXSGX8XMvE0Vx1JwH2cyQ DCHQsrz/XSoptHr9XUJx3jOyMYR2XtOmRRliZxrvANadlWdTWHAaTufVV9NBTFYnh+xk XwqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=RG5cL7i2/A9FEBb0Pr+EBeGy5r4A9gZwBYIHptgqMa0=; b=g3uYdyaW8vpIWoDTXYCqlmuDwKV62PZuOcWGoYJwF2e9oSeDLyYNCBs71CDKE2lByn bhJAhqiWzzC7exBfTulwUzDpCngf8kunueTaqylqBYsdKWZ5rZLpvd6OR2IBVtH4zFQy gyLvJoFYbdRhL9SZEyM6E7O4VcyHno19vnjkiOGL5aE5I8dgCo0n2ZgQpw+ZggoYiStw Z1Zsfyc5ESQXgHghoXnzxYQClrxyIfkWSOWP5jt+/J+tdqTOWuQKl+ZyFrB0h/dpNyaS 1J3LCVf/DiWK47EmoFMcdGjzRtFPHP+VTZZtdHdrNApAOAs45XeO+0suOQCAL9QT590B X2SA== X-Gm-Message-State: AA6/9RlL/JH/3QykD0VwPgOdft6rWq1vrafb73cSSa30auE6Sb4gWQEmbLvua5WbFTp0SwUQKpLVSOj6phMFFg== X-Received: by 10.194.111.100 with SMTP id ih4mr3741544wjb.230.1476298554022; Wed, 12 Oct 2016 11:55:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.33.37 with HTTP; Wed, 12 Oct 2016 11:55:53 -0700 (PDT) X-Originating-IP: [204.148.13.62] From: Koert Kuipers Date: Wed, 12 Oct 2016 14:55:53 -0400 Message-ID: Subject: incorrect message that path appears to be local To: "dev@spark.apache.org" Content-Type: multipart/alternative; boundary=e89a8f6432b2e54b5f053eaf8adf archived-at: Wed, 12 Oct 2016 18:56:01 -0000 --e89a8f6432b2e54b5f053eaf8adf Content-Type: text/plain; charset=UTF-8 i see this warning when running jobs on cluster: 2016-10-12 14:46:47 WARN spark.SparkContext: Spark is not running in local mode, therefore the checkpoint directory must not be on the local filesystem. Directory '/tmp' appears to be on the local filesystem. however the checkpoint "directory" that it warns about is a hadoop path. i use an unqualified path, which means a path on the default filesystem by hadoop convention. when running on the cluster my default filesystem is hdfs (and it correctly uses hdfs). how about if we change the method that does this check (Utils.nonLocalPaths) to be aware of the default filesystem instead of incorrectly assuming its local if not specified? --e89a8f6432b2e54b5f053eaf8adf Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
i see this warning when running jobs on cluster:

2016= -10-12 14:46:47 WARN spark.SparkContext: Spark is not running in local mode= , therefore the checkpoint directory must not be on the local filesystem. D= irectory '/tmp' appears to be on the local filesystem.

h= owever the checkpoint "directory" that it warns about is a hadoop= path. i use an unqualified path, which means a path on the default filesys= tem by hadoop convention. when running on the cluster my default filesystem= is hdfs (and it correctly uses hdfs).

how about if we change th= e method that does this check (Utils.nonLocalPaths) to be aware of the defa= ult filesystem instead of incorrectly assuming its local if not specified?<= br>
--e89a8f6432b2e54b5f053eaf8adf--