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 15BF1200B35 for ; Tue, 31 May 2016 08:00:32 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 14A1F160A19; Tue, 31 May 2016 06:00:32 +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 62560160A3C for ; Tue, 31 May 2016 08:00:31 +0200 (CEST) Received: (qmail 41210 invoked by uid 500); 31 May 2016 06:00:30 -0000 Mailing-List: contact dev-help@hawq.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hawq.incubator.apache.org Delivered-To: mailing list dev@hawq.incubator.apache.org Received: (qmail 41195 invoked by uid 99); 31 May 2016 06:00:30 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 May 2016 06:00:30 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id BDB1BC0FD9 for ; Tue, 31 May 2016 06:00:29 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -5.446 X-Spam-Level: X-Spam-Status: No, score=-5.446 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=-1.426] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id xnr0sl2GFRhX for ; Tue, 31 May 2016 06:00:28 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id E16A75FAD4 for ; Tue, 31 May 2016 06:00:27 +0000 (UTC) Received: (qmail 41047 invoked by uid 99); 31 May 2016 06:00:27 -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; Tue, 31 May 2016 06:00:27 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 03F03DFBE4; Tue, 31 May 2016 06:00:27 +0000 (UTC) From: ictmalili To: dev@hawq.incubator.apache.org Reply-To: dev@hawq.incubator.apache.org References: In-Reply-To: Subject: [GitHub] incubator-hawq pull request: HAWQ-760. Add hawq register to suppor... Content-Type: text/plain Message-Id: <20160531060027.03F03DFBE4@git1-us-west.apache.org> Date: Tue, 31 May 2016 06:00:27 +0000 (UTC) archived-at: Tue, 31 May 2016 06:00:32 -0000 Github user ictmalili commented on a diff in the pull request: https://github.com/apache/incubator-hawq/pull/679#discussion_r65126779 --- Diff: tools/doc/hawqregister_help --- @@ -0,0 +1,101 @@ +COMMAND NAME: hawq register + +Register parquet files generated by other system into the corrsponding table in HAWQ + +***************************************************** +SYNOPSIS +***************************************************** + +hawq register [-h hostname] [-p port] [-U username] + +hawq register help +hawq register -? + +hawq register --version + +***************************************************** +DESCRIPTION +***************************************************** + +"hawq register" is a utility to register file(s) on HDFS into +the table in HAWQ. It moves the file in the path(if path +refers to a file) or files under the path(if path refers to a +directory) into the table directory corresponding to the table, +and then update the table meta data to include the files. + +To use "hawq register", HAWQ must have been started. + +Currently "hawq register" supports parquet tables only. +User have to make sure that the meta data of the parquet file(s) +and the table are consistent. +The table to be registered into should not be hash distributed, which +is created by using "distributed by" statement when creating that table. + +***************************************************** +Arguments +***************************************************** + + + +Name of the database to be operated on. + + + +Name of the table to be registered into. + + + +The path of the file or the directory containing the files +that will be registered. + +***************************************************** +OPTIONS +***************************************************** + +-? (help) + +Displays the online help. + +--version + +Displays the version of this utility. + +***************************************************** +CONNECTION OPTIONS +***************************************************** + +-h hostname + + Specifies the host name of the machine on which the HAWQ master + database server is running. If not specified, reads from the + environment variable $PGHOST or defaults to localhost. + +-p port + + Specifies the TCP port on which the HAWQ master database server + is listening for connections. If not specified, reads from the + environment variable $PGPORT or defaults to 5432. + +-U username + + The database role name to connect as. If not specified, reads + from the environment variable $PGUSER or defaults to the current --- End diff -- change "or" to "which" --- 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. ---