hawq-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Radar Da lei <r...@pivotal.io>
Subject Re: gpinitsystem no longer exist?
Date Sat, 31 Oct 2015 12:57:04 GMT
I think you should do below step first:

source greenplum_path.sh

Regards,
Radar

On Sat, Oct 31, 2015 at 10:28 AM, sequoiadb <mailing-list-recv@sequoiadb.com
> wrote:

> Do I need to import some python libraries first?
>
> [root@cent651 hawq]# bin/hawq help
> Traceback (most recent call last):
>   File "bin/hawq", line 9, in <module>
>     from hawqpylib.hawqlib import local_ssh
>   File "/usr/local/hawq/bin/hawqpylib/hawqlib.py", line 8, in <module>
>     from gppylib.db import dbconn
> ImportError: No module named gppylib.db
>
>
> 在 2015年10月30日,下午8:34,Radar Da lei <rlei@pivotal.io> 写道:
>
> Hi Sequoiadb,
>
> In HAWQ 2.0,  most of the management tools are consolidated into 'hawq'
> command. You can run 'hawq help' to check all the available command.
>
> For gpinitsystem, now you can use 'hawq init cluster' instead.
>
> Please check below help info:
>
>
> --------------------------------------------------------------------------------------------------------------
> usage: hawq <command> [<object>] [options]
>            [--version]
>
> The most commonly used hawq "commands" are:
>   start          Start hawq service.
>   stop           Stop hawq service.
>   init           Initialize hawq service.
>   restart        Restart hawq service.
>   activate      Activate hawq standby master as master.
>   version        Show hawq version information.
>   config         Set hawq GUC values.
>   state          Show hawq cluster status.
>   filespace      Create hawq filespaces.
>   extract       Extract table's metadata into a YAML formatted file.
>   load           Load data into hawq.
>   scp            Copies files between multiple hosts at once.
>   ssh            Provides ssh access to multiple hosts at once.
>   ssh-exkeys     Exchanges SSH public keys between hosts.
>   check          Verifies and validates HAWQ settings.
>
> See 'hawq <command> help' for more information on a specific command.
>
>
> Thanks.
>
> Regards,
> Radar
>
> On Fri, Oct 30, 2015 at 7:05 PM, sequoiadb <
> mailing-list-recv@sequoiadb.com> wrote:
>
>> In the downloadable rpm package, gpinitsystem can be used to initialize
>> hawk instance.
>> However in the up-to-date github release, the file no longer exist after
>> compilation.
>>
>> Is there any alternative method I can use to create new instance?
>>
>> There’s also several scripts starting with “hawq” added, any up-to-dated
>> document for those tools? ( looked bin/README file but also can’t find any
>> info about those scripts )
>>
>> Cheers
>>
>
>
>

Mime
View raw message