Hi Team, Finally build got successfully but when I try to start impala its throwing error
[root@clusternode104 impala]# ${IMPALA_HOME}/bin/start-impala-cluster.py /usr/bin/env: impala-python: No such file or directory can someone help me on this. Thanks & Regards Amit Sharma On Sat, Oct 19, 2019 at 9:58 AM Amit Sharma <sharma.amit1...@gmail.com> wrote: > sorry its working for me :) > > [root@clusternode104 ~]# function ubuntu { > > if [[ "$UBUNTU" == true ]]; then > > "$@" > > fi > > } > [root@clusternode104 ~]# REAL_APT_GET=$(ubuntu which apt-get) > > but as I mentioned in last email. I have commented code of ubuntu and ran > as per centos 7. > > On Sat, Oct 19, 2019 at 9:25 AM Amit Sharma <sharma.amit1...@gmail.com> > wrote: > >> yes I am getting error on below code >> >> [root@clusternode104 ~]# if [[ "$UBUNTU" == true ]]; then >> > "$@" >> > fi >> [root@clusternode104 ~]# } >> -bash: syntax error near unexpected token `}' >> [root@clusternode104 ~]# REAL_APT_GET=$(ubuntu which apt-get) >> -bash: ubuntu: command not found >> >> >> Anyway I have commented ubuntu script code and re ran, currently I am in >> middle of execution of command "./buildall.sh -notests -so" will share >> the results. >> >> Thanks & Regards >> Amit Sharma >> >> >> On Sat, Oct 19, 2019 at 8:14 AM Vincent Tran <vtt...@cloudera.com> wrote: >> >>> That is kinda weird. >>> I deployed a fresh CentOS 7.2 VM, cloned Impala and ran >>> bin/bootstrap_system.sh and it went past that point just fine. >>> My output: >>> >>> [root@whitebox impala]# bin/bootstrap_system.sh >>>> This script will clobber some system settings. Are you sure you want to >>>> continue? [yes/no] yes >>>> + REDHAT= >>>> + REDHAT6= >>>> + REDHAT7= >>>> + UBUNTU= >>>> + UBUNTU16= >>>> + UBUNTU18= >>>> + IN_DOCKER= >>>> + [[ -f /etc/redhat-release ]] >>>> + REDHAT=true >>>> + echo 'Identified redhat system.' >>>> Identified redhat system. >>>> + grep 'release 7\.' /etc/redhat-release >>>> CentOS Linux release 7.2.1511 (Core) >>>> + REDHAT7=true >>>> + echo 'Identified redhat7 system.' >>>> Identified redhat7 system. >>>> + grep 'release 6\.' /etc/redhat-release >>>> + grep docker /proc/1/cgroup >>>> ++ ubuntu which apt-get >>>> ++ [[ '' == true ]] >>>> + REAL_APT_GET= >>>> + echo '>>> Installing build tools' >>>> >>> Installing build tools >>>> + ubuntu apt-get update >>>> + [[ '' == true ]] >>>> + ubuntu apt-get --yes install ccache g++ gcc libffi-dev liblzo2-dev >>>> libkrb5-dev krb5-admin-server krb5-kdc krb5-user libsasl2-dev >>>> libsasl2-modules libsasl2-modules-gssapi-mit libssl-dev make ninja-build >>>> ntp ntpdate python-dev python-setuptools postgresql ssh wget vim-common >>>> psmisc lsof openjdk-8-jdk openjdk-8-source openjdk-8-dbg apt-utils git ant >>>> + [[ '' == true ]] >>>> + [[ '' == true ]] >>>> + ubuntu18 sudo update-java-alternatives -s java-1.8.0-openjdk-amd64 >>>> + [[ '' == true ]] >>>> + redhat sudo yum install -y curl gcc gcc-c++ git krb5-devel >>>> krb5-server krb5-workstation libevent-devel libffi-devel make ntp ntpdate >>>> ntp-perl openssl-devel cyrus-sasl cyrus-sasl-gssapi cyrus-sasl-devel >>>> cyrus-sasl-plain python-devel python-setuptools postgresql >>>> postgresql-server wget vim-common nscd cmake lzo-devel fuse-devel >>>> snappy-devel zlib-devel psmisc lsof openssh-server redhat-lsb >>>> java-1.8.0-openjdk-devel java-1.8.0-openjdk-src python-argparse >>>> + [[ true == true ]] >>>> + sudo yum install -y curl gcc gcc-c++ git krb5-devel krb5-server >>>> krb5-workstation libevent-devel libffi-devel make ntp ntpdate ntp-perl >>>> openssl-devel cyrus-sasl cyrus-sasl-gssapi cyrus-sasl-devel >>>> cyrus-sasl-plain python-devel python-setuptools postgresql >>>> postgresql-server wget vim-common nscd cmake lzo-devel fuse-devel >>>> snappy-devel zlib-devel psmisc lsof openssh-server redhat-lsb >>>> java-1.8.0-openjdk-devel java-1.8.0-openjdk-src python-argparse >>>> Loaded plugins: fastestmirror >>>> Loading mirror speeds from cached hostfile >>>> * base: mirror.web-ster.com >>>> * extras: mirror.web-ster.com >>>> * updates: mirror.web-ster.com >>> >>> .......truncated..... >>> >>> >>> I feel like this will have something to do with your environment. >>> Another thing that's strange is bin/bootstrap_system.sh:162 doesn't have >>> anything to do with apt-get: >>> >>> 161 function indocker { >>>> 162 if [[ "$IN_DOCKER" == true ]]; then >>>> 163 "$@" >>>> 164 fi >>>> 165 } >>> >>> >>> But judging by yours and my output, I think it was trying to execute >>> this: >>> >>> REAL_APT_GET=$(ubuntu which apt-get) >>> >>> When I defined this function and executed that line on my box, no error >>> returns. Can you try on your machine and see why it might be returning an >>> error code? >>> >>> [root@whitebox impala]# function ubuntu { >>> > if [[ "$UBUNTU" == true ]]; then >>> > "$@" >>> > fi >>> > } >>> [root@whitebox impala]# REAL_APT_GET=$(ubuntu which apt-get) >>> [root@whitebox impala]# >>> >>> >>> Cheers. >>> >>> On Fri, Oct 18, 2019 at 1:56 PM Amit Sharma <sharma.amit1...@gmail.com> >>> wrote: >>> >>>> Hi Tim, >>>> I am getting below error when I tried bootstrap_system.sh >>>> >>>> *Output: -* >>>> >>>> This script will clobber some system settings. Are you sure you want to >>>> continue? [yes/no] yes >>>> + REDHAT= >>>> + REDHAT6= >>>> + REDHAT7= >>>> + UBUNTU= >>>> + IN_DOCKER= >>>> + [[ -f /etc/redhat-release ]] >>>> + REDHAT=true >>>> + echo 'Identified redhat system.' >>>> Identified redhat system. >>>> + grep 'release 7\.' /etc/redhat-release >>>> CentOS Linux release 7.7.1908 (Core) >>>> + REDHAT7=true >>>> + echo 'Identified redhat7 system.' >>>> Identified redhat7 system. >>>> + grep 'release 6\.' /etc/redhat-release >>>> + grep docker /proc/1/cgroup >>>> ++ ubuntu which apt-get >>>> ++ [[ '' == true ]] >>>> + REAL_APT_GET= >>>> >>>> *bootstrap_system.sh: line 162: `apt-get': not a valid identifier* >>>> >>>> Could you please help me to fix this. >>>> >>>> On Fri, Oct 11, 2019 at 2:24 PM Amit Sharma <sharma.amit1...@gmail.com> >>>> wrote: >>>> >>>>> Thanks Tim, I will try and update you the result. >>>>> >>>>> Thanks & Regars >>>>> Amit Sharma >>>>> >>>>> On Wed, Oct 9, 2019 at 8:16 PM Tim Armstrong <tarmstr...@cloudera.com> >>>>> wrote: >>>>> >>>>>> That page is a bit stale, sorry about that - the script is the source >>>>>> of truth. I updated it. >>>>>> >>>>>> It's possible to build Impala on a bunch more linux distros, just we >>>>>> have less automation around it to install prerequisite packages and >>>>>> configure the system. >>>>>> >>>>>> On Wed, Oct 9, 2019 at 12:56 PM Jim Apple <jbap...@apache.org> wrote: >>>>>> >>>>>>> Please try >>>>>>> >>>>>>> https://github.com/apache/impala/blob/master/bin/bootstrap_system.sh >>>>>>> >>>>>>> for Centos. >>>>>>> >>>>>>> Questions about Cloudera pricing are off-topic for this list, which >>>>>>> is about the Apache Impala project, rather than commercial builds that >>>>>>> are >>>>>>> powered by Apache Impala. However, Cloudera does have discussion forums >>>>>>> you >>>>>>> can find via Google, a number of friendly Apache Impala community >>>>>>> members >>>>>>> who work at Cloudera are known to frequent those boards. >>>>>>> >>>>>>> On Wed, Oct 9, 2019 at 2:42 AM Amit Sharma < >>>>>>> sharma.amit1...@gmail.com> wrote: >>>>>>> >>>>>>>> Hi Tim, >>>>>>>> >>>>>>>> Thanks for your reply, could you please help me how to build impala >>>>>>>> on Centos OS 7 ? as per documentation of impala I see its only supports >>>>>>>> Ubuntu 16.04 >>>>>>>> >>>>>>>> https://cwiki.apache.org/confluence/display/IMPALA/Building+Impala >>>>>>>> >>>>>>>> Apart from this, if I use cloudera RPM distribution. do I have to >>>>>>>> pay for license cost for commercial use ? Please suggest. >>>>>>>> >>>>>>>> On Fri, Oct 4, 2019 at 12:09 PM Tim Armstrong < >>>>>>>> tarmstr...@cloudera.com> wrote: >>>>>>>> >>>>>>>>> Apache Impala doesn't provide binary distributions. It's generally >>>>>>>>> pretty complex to build OS packages from native code and there's a >>>>>>>>> huge >>>>>>>>> variety of different distro versions out there that would require >>>>>>>>> separate >>>>>>>>> builds, so we rely on people building from source on their particular >>>>>>>>> system. >>>>>>>>> >>>>>>>>> Cloudera (my employer) does provide an RPM distribution of Impala. >>>>>>>>> >>>>>>>>> >>>>>>>>> On Fri, Oct 4, 2019 at 12:02 AM Amit Sharma < >>>>>>>>> sharma.amit1...@gmail.com> wrote: >>>>>>>>> >>>>>>>>>> Hi Team, >>>>>>>>>> I am trying to setup hdp cluster with Open source impala on >>>>>>>>>> centos 7 OS linux machine. >>>>>>>>>> >>>>>>>>>> but unfortunately I don't find any rpm of impala. can some help >>>>>>>>>> out here how we can do that. >>>>>>>>>> >>>>>>>>>> Thanks & Regards >>>>>>>>>> Amit Sharma >>>>>>>>>> >>>>>>>>>