Return-Path: X-Original-To: apmail-asterixdb-dev-archive@minotaur.apache.org Delivered-To: apmail-asterixdb-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 AC929187C7 for ; Mon, 21 Mar 2016 18:51:42 +0000 (UTC) Received: (qmail 82626 invoked by uid 500); 21 Mar 2016 18:51:42 -0000 Delivered-To: apmail-asterixdb-dev-archive@asterixdb.apache.org Received: (qmail 82573 invoked by uid 500); 21 Mar 2016 18:51:42 -0000 Mailing-List: contact dev-help@asterixdb.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@asterixdb.incubator.apache.org Delivered-To: mailing list dev@asterixdb.incubator.apache.org Received: (qmail 82561 invoked by uid 99); 21 Mar 2016 18:51:42 -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; Mon, 21 Mar 2016 18:51:42 +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 EA4D7C0E01 for ; Mon, 21 Mar 2016 18:51:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.302 X-Spam-Level: X-Spam-Status: No, score=-0.302 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=disabled 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 DcINs0vD4qXh for ; Mon, 21 Mar 2016 18:51:41 +0000 (UTC) Received: from mx2.ucr.edu (mx2.ucr.edu [138.23.62.3]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 937055F33E for ; Mon, 21 Mar 2016 18:51:40 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2ABAgAvQvBWkixSfUpehHkGphwKBoEPhxeEIoI9hmyGDQKBJgdMAQEBAQEBEgEBAQEHCwsJIS+EQQEBAQMBEhFbCwsEBwUIKgICIQESAQUBHBkIGodwAwoIogCBMT4xizaKUA1DAYQQAQEIAh4KhUyFDII+hH6CVgWNO3SIdygIAYEfinCBdY8HhzGGFxEegQ+CdoFxHC6KFQEBAQ X-IPAS-Result: A2ABAgAvQvBWkixSfUpehHkGphwKBoEPhxeEIoI9hmyGDQKBJgdMAQEBAQEBEgEBAQEHCwsJIS+EQQEBAQMBEhFbCwsEBwUIKgICIQESAQUBHBkIGodwAwoIogCBMT4xizaKUA1DAYQQAQEIAh4KhUyFDII+hH6CVgWNO3SIdygIAYEfinCBdY8HhzGGFxEegQ+CdoFxHC6KFQEBAQ X-IronPort-AV: E=Sophos;i="5.24,373,1455004800"; d="scan'208,217";a="528024301" Received: from mail-wm0-f44.google.com ([74.125.82.44]) by smtp2.ucr.edu with ESMTP/TLS/RC4-SHA; 21 Mar 2016 11:51:20 -0700 Received: by mail-wm0-f44.google.com with SMTP id l68so163503337wml.0 for ; Mon, 21 Mar 2016 11:51:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=v5tPNTpS385bEUtN/v2885xNyitnwLqe9hib5PnwL5g=; b=EMf8ktoMT69zOQv7foslZSSSjsyAoGtA/geEL4N+5d8KhoOHErvkDT0N6B0sWrd5xa eCI8Ircqyujy2T5thHi2RmSKspf395vZ8UVXluES9G6IUEe2ex0E8t+Hu8Zvw7y5tcQx wHGpHkY+SWXRFZfWVOIBf0QpIe05Bhk/DbHduEmsLE69GtoaRc58lanBHkJlYaWZUSc3 1SNGHgAs2GxPvCz66l1YrpBj7cAQ8f0RLhg3QKUEWvXA0i3eq4DuUrsgDoNwdXG/GDf3 Ls9DkoAvlk8oXo3EypAukkma21WCDfqCxGHOtZMVdQtY9ug6XuMHaWOZPJJapHdgCUJU mKGw== X-Gm-Message-State: AD7BkJI33S5YTsZuAnwIfaUBEy9LxJo8oT3cMB6gUjCkCL5BS/jKqHW5tF4aL+jv5AVn3KrO3nLTa6xYvkJk+7l2q+Yg/I3AMFc9Zs+k0nfIW+cQD20OvPCR4jHxSYmPBP88D6XETDhR+SzIMModkYk4WuGsrBz69YQWNhATOLzj X-Received: by 10.194.174.197 with SMTP id bu5mr35152331wjc.23.1458586279595; Mon, 21 Mar 2016 11:51:19 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.194.174.197 with SMTP id bu5mr35152306wjc.23.1458586279310; Mon, 21 Mar 2016 11:51:19 -0700 (PDT) Received: by 10.28.145.209 with HTTP; Mon, 21 Mar 2016 11:51:19 -0700 (PDT) In-Reply-To: References: Date: Mon, 21 Mar 2016 11:51:19 -0700 Message-ID: Subject: Re: localfs reader missing? From: Steven Jacobs To: dev@asterixdb.incubator.apache.org Content-Type: multipart/alternative; boundary=089e013d1a600d8ed1052e93950d --089e013d1a600d8ed1052e93950d Content-Type: text/plain; charset=UTF-8 I found the problem. It's an example of misleading error messages. It seems my editor was autocorrecting the format from "adm" (not a real word) to "add" but the error message refers to the reader not to the nonexistent format. This is what I was trying to run: load dataset UserLocations using localfs (("path"="asterix_nc1:///Users/stevenjacobs/Desktop/EmergencyDataset/UserLocations.adm"),("format"="add")); Steven On Mon, Mar 21, 2016 at 11:40 AM, abdullah alamoudi wrote: > Can you post the complete AQL statement? All the test cases use localfs. > > > On Mon, Mar 21, 2016 at 9:25 PM, Mike Carey wrote: > > > We need the AQL primer in the tests - it must always work. Can we do > that? > > On Mar 21, 2016 10:36 AM, "Steven Jacobs" wrote: > > > > > Hi, > > > I'm trying to use the localfs reader to load a dataset, and it seems > that > > > that name no longer identifies a valid reader. As far as I can tell, > the > > > AQL primer document is not working now (since it uses localfs). Does > > anyone > > > know what I am missing? I'm attaching the stack trace > > > Steven > > > > > > d by: org.apache.asterix.common.exceptions.AsterixException: unknown > > record > > > reader factory: localfs > > > > > > at > > > > > > > > > org.apache.asterix.external.provider.DatasourceFactoryProvider.getRecordReaderFactory( > > > DatasourceFactoryProvider.java:146) > > > > > > at > > > > > > > > > org.apache.asterix.external.provider.DatasourceFactoryProvider.getExternalDataSourceFactory( > > > DatasourceFactoryProvider.java:48) > > > > > > at > > > > > > > > > org.apache.asterix.external.adapter.factory.GenericAdapterFactory.configure( > > > GenericAdapterFactory.java:122) > > > > > > at > > > > > > > > > org.apache.asterix.external.provider.AdapterFactoryProvider.getAdapterFactory( > > > AdapterFactoryProvider.java:46) > > > > > > at > > > > > > > > > org.apache.asterix.metadata.declared.AqlMetadataProvider.getConfiguredAdapterFactory( > > > AqlMetadataProvider.java:563) > > > > > > --089e013d1a600d8ed1052e93950d--