You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "hongwu (JIRA)" <ji...@apache.org> on 2016/09/14 07:42:20 UTC

[jira] [Resolved] (HAWQ-1050) hawq register help can not return correct result indicating the help information

     [ https://issues.apache.org/jira/browse/HAWQ-1050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

hongwu resolved HAWQ-1050.
--------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.1.0-incubating

> hawq register help can not return correct result indicating the help information
> --------------------------------------------------------------------------------
>
>                 Key: HAWQ-1050
>                 URL: https://issues.apache.org/jira/browse/HAWQ-1050
>             Project: Apache HAWQ
>          Issue Type: Sub-task
>            Reporter: Lili Ma
>            Assignee: hongwu
>             Fix For: 2.0.1.0-incubating
>
>
> hawq register help can not return correct result indicating the help information.
> should keep help as a keyword and return same results as hawq register --help.
> {code}
> malilis-MacBook-Pro:~ malili$ hawq register help
> 20160914:09:56:37:007364 hawqregister:malilis-MacBook-Pro:malili-[INFO]:-Usage: hadoop [--config confdir] COMMAND
>        where COMMAND is one of:
>   fs                   run a generic filesystem user client
>   version              print the version
>   jar <jar>            run a jar file
>   checknative [-a|-h]  check native hadoop and compression libraries availability
>   distcp <srcurl> <desturl> copy file or directories recursively
>   archive -archiveName NAME -p <parent path> <src>* <dest> create a hadoop archive
>   classpath            prints the class path needed to get the
>   credential           interact with credential providers
>                        Hadoop jar and the required libraries
>   daemonlog            get/set the log level for each daemon
>   trace                view and modify Hadoop tracing settings
>  or
>   CLASSNAME            run the class named CLASSNAME
> Most commands print help when invoked w/o parameters.
> Traceback (most recent call last):
>   File "/usr/local/hawq/bin/hawqregister", line 398, in <module>
>     check_hash_type(dburl, tablename) # Usage1 only support randomly distributed table
>   File "/usr/local/hawq/bin/hawqregister", line 197, in check_hash_type
>     logger.error('Table not found in table gp_distribution_policy.' % tablename)
> TypeError: not all arguments converted during string formatting
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)