hawq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lei Chang <lei_ch...@apache.org>
Subject Re: Replace python module paramiko with pexpect
Date Thu, 11 Aug 2016 23:44:41 GMT
looks great.

Cheers
Lei


On Fri, Aug 12, 2016 at 12:17 AM, Radar Da lei <rlei@pivotal.io> wrote:

> Hi All,
>
> Currently HAWQ use 'paramiko' to sync password-less ssh keys between the
> cluster nodes. It works fine, but 'paramiko' have license compatible issues
> with Apache HAWQ. So we removed that part code, then users need to install
> it manually by pip install.
>
> Only 'hawq ssh-exkeys ...' command used it.
>
> I did some research and find we can use 'pexpect' and
> 'ptyprocess'(submodule of pexpect) to replace 'paramiko'.
>
> Seems they are all compatible with Apache HAWQ license. So I proposal to
> include these two python modules in HAWQ code, then users won't need to do
> manual install works.
>
> For their licenses, please see below link:
>
> Licenses:
> pexpect:
> https://github.com/pexpect/pexpect/blob/master/LICENSE
>
> ptyprocess:
> https://github.com/pexpect/ptyprocess/blob/master/LICENSE
>
> Any comments? Thanks.
>
> Regards,
> Radar
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message