You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hawq.apache.org by Alexander Denissov <ad...@pivotal.io> on 2016/08/11 21:20:31 UTC

etc/_mgmt_config file -- is it required ?

I was trying to upgrade HAWQ in the environment managed by Ambari using
"yum upgrade hawq" command.

The upgrade went thru and Ambari re-created configuration files in etc/
directory of the new version, HAWQ came up and was able to execute queries.

However, I noticed, the old etc/ directory still had file "_mgmt_config"
present, while the new directory did not have it. Ambari is not creating or
managing this file.

Is this file required ? Is it created during "hawq init" ?

If it is required and is created during init, its creation will need to
move to "hawq start", since during upgrade "hawq init" is not performed, as
the new binaries will work against old catalog and data.

--
Thanks,
Alex.

Re: etc/_mgmt_config file -- is it required ?

Posted by Radar Da lei <rl...@pivotal.io>.
Hi Alex,

This file is generated and required during 'hawq init', after hawq init, we
do not need it anymore.

We can file a jira to remove it after 'hawq init' executed successfully.

Thanks.


Regards,
Radar

On Fri, Aug 12, 2016 at 5:20 AM, Alexander Denissov <ad...@pivotal.io>
wrote:

> I was trying to upgrade HAWQ in the environment managed by Ambari using
> "yum upgrade hawq" command.
>
> The upgrade went thru and Ambari re-created configuration files in etc/
> directory of the new version, HAWQ came up and was able to execute queries.
>
> However, I noticed, the old etc/ directory still had file "_mgmt_config"
> present, while the new directory did not have it. Ambari is not creating or
> managing this file.
>
> Is this file required ? Is it created during "hawq init" ?
>
> If it is required and is created during init, its creation will need to
> move to "hawq start", since during upgrade "hawq init" is not performed, as
> the new binaries will work against old catalog and data.
>
> --
> Thanks,
> Alex.
>