We could also set the PYTHONPATH to be more explicit instead of using a wildcard: https://github.com/apache/impala/blob/master/bin/set-pythonpath.sh#L39
Thoughts? *Fredy Wijaya* | Software Engineer e. [email protected] cloudera.com <https://www.cloudera.com> [image: Cloudera] <https://www.cloudera.com/> [image: Cloudera on Twitter] <https://twitter.com/cloudera> [image: Cloudera on Facebook] <https://www.facebook.com/cloudera> [image: Cloudera on LinkedIn] <https://www.linkedin.com/company/cloudera> ------------------------------ On Fri, May 11, 2018 at 11:31 AM, Fredy Wijaya <[email protected]> wrote: > Thanks Tim. I was about to email the same thing. > > On Fri, May 11, 2018 at 11:28 AM, Tim Armstrong <[email protected]> > wrote: > >> Just an FYI, since everyone else is probably going to run into this. The >> sqlparse version change breaks buildall.sh if you run it on a non-clean >> tree. >> >> Creating an egg for >> /home/tarmstrong/Impala/incubator-impala/shell/ext-py/sqlparse-0.1.14 >> python: can't open file 'setup.py': [Errno 2] No such file or directory >> Error in >> /home/tarmstrong/Impala/incubator-impala/shell/make_shell_tarball.sh at >> line 96: python setup.py -q bdist_egg clean >> >> The fix is to delete any leftover files from the old sqlparse version: >> >> $ rm -rf shell/ext-py/sqlparse-0.1.14/ >> > >
