hawq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Radar Da lei <r...@pivotal.io>
Subject Re: how I rmpbuild the HAWQ
Date Thu, 30 Jun 2016 02:41:25 GMT
Hi Yuansong,

Recently we added some python modules back into Apache HAWQ, include 'psi',
so I think the latest version HAWQ can resolve your issue.

See: https://issues.apache.org/jira/browse/HAWQ-837

Then there is only one python module 'paramiko' you need to install on the
environment by yourself. This one's license is not compatible with Apache
HAWQ. So we will replace it later.

Install command:
  pip --retries=50 --timeout=300 install  paramiko

Thanks.

Regards,
Radar

On Thu, Jun 30, 2016 at 9:51 AM, yuansong <yyuansong@126.com> wrote:

>       Hi, when I rmpbuild the HAWQ, I can build success and install. but
> when i init master, it report the ERROR : “unable to import module : No
> module named psi.proccess" .
>      This is my hawq.spec file. who konows Where  can I find the offical
> hawq.spec file? Or how can i update my hawq.spec to import all modules. i
> don't know which modules I should import and  which libs I should copy.
> thanks !
>
>
> Name:hawq
> Version:2.0.0.0
> Release:10%{?dist}
> Summary: HAWQ
>
>
> Prefix:         /usr/local/hawq
> Group:System Environment/Daemons
> License:GPLv2
> URL:http://hdb.docs.pivotal.io/
> Source0:%{name}-%{version}.tar.gz
> BuildRoot:%{_tmppath}/%{name}-%{version}-%{release}-root
>
>
> BuildRequires:gcc,cmake
> AutoReqProv:    no
>
>
> %description
> kingbase HAWQ
>
>
> %prep
> %setup -q
>
>
>
>
> %build
> ./configure \
>  --prefix=/root/rpmbuild/BUILDROOT/hawq-2.0.0.0-10.el6.x86_64/usr/local/hawq
> \
>  --with-python \
>  --with-perl
> make %{?_smp_mflags}
>
>
>
>
> %install
> rm -rf %{buildroot}
> make  install
> prefix=/root/rpmbuild/BUILDROOT/hawq-2.0.0.0-10.el6.x86_64/usr/local/hawq
> %clean
> rm -rf %{buildroot}
>
>
>
>
> %files
> %defattr(-,root,root,0755)
> /usr/local/hawq
>
>
> %define __debug_install_post   \
>    %{_rpmconfigdir}/find-debuginfo.sh %{?_find_debuginfo_opts}
> "%{_builddir}/%{?buildsubdir}"\
> %{nil}
>
>
>
>

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