Thanks Fredy!
I ran into this yesterday and pulling Impala-lzo indeed helped.
Gabor

On Wed, Apr 17, 2019 at 6:39 PM Fredy Wijaya <fwij...@cloudera.com> wrote:

> In case you hit an error like this when building Impala from the HEAD,
> update Impala-lzo repo by pulling it from the master.
>
> In file included from
> /home/fwijaya/Impala/be/src/util/collection-metrics.h:22:0,
>                  from
> /home/fwijaya/Impala/be/src/runtime/tmp-file-mgr.h:31,
>                  from
> /home/fwijaya/Impala/be/src/runtime/bufferpool/buffer-pool.h:33,
>                  from
> /home/fwijaya/Impala/be/src/runtime/runtime-filter-bank.h:23,
>                  from
> /home/fwijaya/Impala/be/src/runtime/runtime-filter.h:23,
>                  from /home/fwijaya/Impala/be/src/exec/filter-context.h:24,
>                  from
> /home/fwijaya/Impala/be/src/exec/hdfs-scan-node-base.h:31,
>                  from /home/fwijaya/Impala/be/src/exec/hdfs-scanner.h:31,
>                  from
> /home/fwijaya/Impala/be/src/exec/hdfs-text-scanner.h:22,
>                  from /home/fwijaya/Impala-lzo/hdfs-lzo-text-scanner.h:9,
>                  from /home/fwijaya/Impala-lzo/hdfs-lzo-text-scanner.cc:22:
> /home/fwijaya/Impala/be/src/util/metrics.h:29:49: fatal error:
> gtest/gtest_prod.h: No such file or directory
>  #include <gtest/gtest_prod.h> // for FRIEND_TEST
>                                                  ^
> compilation terminated.
> CMakeFiles/impalalzo.dir/build.make:62: recipe for target
> 'CMakeFiles/impalalzo.dir/hdfs-lzo-text-scanner.cc.o' failed
> make[6]: *** [CMakeFiles/impalalzo.dir/hdfs-lzo-text-scanner.cc.o] Error 1
> CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/impalalzo.dir/all'
> failed
> make[5]: *** [CMakeFiles/impalalzo.dir/all] Error 2
> Makefile:83: recipe for target 'all' failed
> make[4]: *** [all] Error 2
> Error in ../Impala-lzo/build.sh at line 38: "${MAKE_CMD:-make}"
> CMakeFiles/impala-lzo.dir/build.make:57: recipe for target
> 'CMakeFiles/impala-lzo' failed
> make[3]: *** [CMakeFiles/impala-lzo] Error 2
> CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/impala-lzo.dir/all'
> failed
> make[2]: *** [CMakeFiles/impala-lzo.dir/all] Error 2
> CMakeFiles/Makefile2:79: recipe for target 'CMakeFiles/impala-lzo.dir/rule'
> failed
> make[1]: *** [CMakeFiles/impala-lzo.dir/rule] Error 2
> Makefile:129: recipe for target 'impala-lzo' failed
> make: *** [impala-lzo] Error 2
>

Reply via email to