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 F361718DDA for ; Tue, 8 Sep 2015 01:26:31 +0000 (UTC) Received: (qmail 80569 invoked by uid 500); 8 Sep 2015 01:26:31 -0000 Delivered-To: apmail-asterixdb-dev-archive@asterixdb.apache.org Received: (qmail 80523 invoked by uid 500); 8 Sep 2015 01:26:31 -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 80379 invoked by uid 99); 8 Sep 2015 01:26:31 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2015 01:26:31 +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 121CAC20B7 for ; Tue, 8 Sep 2015 01:26:31 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.99 X-Spam-Level: ** X-Spam-Status: No, score=2.99 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 28adCNtYEzK6 for ; Tue, 8 Sep 2015 01:26:23 +0000 (UTC) Received: from mx1.ucr.edu (mx1.ucr.edu [138.23.248.2]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTP id 1E59643C67 for ; Tue, 8 Sep 2015 01:26:23 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2CbAQA9OO5Vm6zZVdFdg3dpBoMepjMGmF6DIQKBMAc7EQEBAQEBAQERAQEBAQEGCwsJIS6EIwEBAQMBEhFbCwsEBw0qAgIhARIBBQEcBxIih3cDCggFpyOBLz4xi0CPCA1GAYRBAQsgCoYihD2BBYJPgXJSgmmBQwWNbIdiB4sNgW2BTJFvg1CCIBIjgReCNhyBdB4ziEkBAQE X-IPAS-Result: A2CbAQA9OO5Vm6zZVdFdg3dpBoMepjMGmF6DIQKBMAc7EQEBAQEBAQERAQEBAQEGCwsJIS6EIwEBAQMBEhFbCwsEBw0qAgIhARIBBQEcBxIih3cDCggFpyOBLz4xi0CPCA1GAYRBAQsgCoYihD2BBYJPgXJSgmmBQwWNbIdiB4sNgW2BTJFvg1CCIBIjgReCNhyBdB4ziEkBAQE X-IronPort-AV: E=Sophos;i="5.17,487,1437462000"; d="scan'208";a="437309978" Received: from mail-lb0-f172.google.com ([209.85.217.172]) by smtp1.ucr.edu with ESMTP/TLS/RC4-SHA; 07 Sep 2015 18:26:15 -0700 Received: by lbbmp1 with SMTP id mp1so45558712lbb.1 for ; Mon, 07 Sep 2015 18:26:13 -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:content-type; bh=bBf+uh3Wxu8wg4VT8MgTbjcSbIQIzSFR30TC45vCf80=; b=eFyJdb5H+xLspRu7lh48ypI8IjcMLdUtGB5EEZh65T1QEQZbZaDp+5lXU63zShWUc+ 3YGjZkdB7LKUn9KciI4Xk3YCqShLCCvvnSotMEEvyWjLTEsdxygyKkz6tEpAqn+uwtkD IPwVvitclFBJMo5lSPjtmT8DUo+HoacueXA0dSj88h78e41+42fti5+/pfFzCPFn+uZz kB0hKFjvDgQt7rX0TR5CRfld6p55n0aVqjGhF8tEtckQPdRFIf5Wc4U+FYJ2UxyQsjKP s7RmG/N2XpBHpELZOqnNh26cxI8AXKUcGS2CU1ucEF8WVjfVzxD+6tHhGMDZ0WFbB69P XBog== X-Gm-Message-State: ALoCoQlHeOjvVcZYvFbMrQiKCTf0YZlaP0g01ixK5qFKEihOIeddlJQz+CpzgM44jzXQ6DCG9PSAs3iPag65l1CVCqy4B5EBbNTYYgvynY7kuhMvJ9nraLO6OBmCIYqcicJDvXxJ5j3G6rOC0gsehd08Qc/DTbJVSQ== X-Received: by 10.112.160.73 with SMTP id xi9mr19376416lbb.92.1441675573693; Mon, 07 Sep 2015 18:26:13 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.112.160.73 with SMTP id xi9mr19376406lbb.92.1441675573528; Mon, 07 Sep 2015 18:26:13 -0700 (PDT) Received: by 10.25.87.210 with HTTP; Mon, 7 Sep 2015 18:26:13 -0700 (PDT) In-Reply-To: <55EE191C.6080809@gmail.com> References: <38485.91.55.76.160.1441627407.squirrel@www2.informatik.hu-berlin.de> <55EE191C.6080809@gmail.com> Date: Mon, 7 Sep 2015 18:26:13 -0700 Message-ID: Subject: Re: AsterixDB command line access From: Eldon Carman To: dev@asterixdb.incubator.apache.org, users@asterixdb.incubator.apache.org Content-Type: multipart/alternative; boundary=001a11c235f67123e4051f3240a1 --001a11c235f67123e4051f3240a1 Content-Type: text/plain; charset=UTF-8 Apache VXQuery uses a command line interface. I wonder how much could be reused for AsterixDB. Apache VXQuery cli builds the Hyracks job and sends that to the cluster, where I think in the AsterixDB world you would want to use the HTTP-based API and allow the server to compile the Hyracks job. The cli for AsterixDB seems like a simple interface that connects to the HTTP-based API. On Mon, Sep 7, 2015 at 4:09 PM, Mike Carey wrote: > We have an HTTP-based API you could use - with curl - not a great answer - > broadening the discussion to see if anyone on the dev list can offer you > what they use. (We need to add a nicer command line interface at some > point.) > > Random side comment: Hopefully you are doing this by translating from > Algebricks physical plans to the Flink runtime? (That would be the > cleanest place to redirect queries, I would think, to be against Flink > instead of against Hyracks.) > > Cheers, > Mike > > > On 9/7/15 2:03 AM, schultze@informatik.hu-berlin.de wrote: > >> Hello AsterixDB group, >> >> I am a student currently working on a diploma thesis to execute AQL on >> Apache Flink. Therefor I did setup AsterixDB on a cluster. >> >> My problem is, that I am not in the same network as the cluster and only >> have remote command line access, so I cannot reach Asterix's web >> interface. I am sure it is possible to run queries via command line, too, >> but I could not find anything on that topic on your official documentation >> page. Do you have any document you can link me to, that provides a basic >> explanation how to work with AsterixDB without the web interface? >> >> Best Regards, >> Max Schultze >> >> >> >> >> > --001a11c235f67123e4051f3240a1--