hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bharath Vissapragada <bhara...@apache.org>
Subject Re: failed building hbase C++ native client
Date Wed, 16 Dec 2020 17:59:08 GMT
What commit of HBase and native-client are you building? I fixed that
problem here
<https://github.com/apache/hbase/commit/fe1fc25fba52b6b07454b4e1b6dc9afe533ecbbe>
.

On Wed, Dec 16, 2020 at 9:13 AM 杭研-闵涛 <hzmintao@corp.netease.com> wrote:

> Hi all, We are trying to use a C++ hbase client to access hbase service.
> We found https://github.com/apache/hbase-native-client may be what we
> needs. After prepared the building environment and successfully excuted
> ‘cmake  .’ ,  the error occurred during processing ‘make -j’.
>
> Error info :
> [  4%] Built target boost
> [  4%] Built target ZooKeeper
> [  6%] Built target facebook-folly-proj
> [  8%] Built target facebook-wangle-proj
> [  8%] Building CXX object
> CMakeFiles/hbaseclient-static.dir/src/hbase/serde/rpc-serde.cc.o
> [  9%] Building CXX object
> CMakeFiles/hbaseclient-shared.dir/src/hbase/serde/rpc-serde.cc.o
> /usr/src/hbase/hbase-native-client/src/hbase/serde/rpc-serde.cc:32:27:
> fatal error: utils/version.h: No such file or directory
> compilation terminated.
> CMakeFiles/hbaseclient-static.dir/build.make:2254: recipe for target
> 'CMakeFiles/hbaseclient-static.dir/src/hbase/serde/rpc-serde.cc.o' failed
> make[2]: ***
> [CMakeFiles/hbaseclient-static.dir/src/hbase/serde/rpc-serde.cc.o] Error 1
> CMakeFiles/Makefile2:107: recipe for target
> 'CMakeFiles/hbaseclient-static.dir/all' failed
> make[1]: *** [CMakeFiles/hbaseclient-static.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs....
> /usr/src/hbase/hbase-native-client/src/hbase/serde/rpc-serde.cc:32:27:
> fatal error: utils/version.h: No such file or directory
> compilation terminated.
> CMakeFiles/hbaseclient-shared.dir/build.make:2254: recipe for target
> 'CMakeFiles/hbaseclient-shared.dir/src/hbase/serde/rpc-serde.cc.o' failed
> make[2]: ***
> [CMakeFiles/hbaseclient-shared.dir/src/hbase/serde/rpc-serde.cc.o] Error 1
> CMakeFiles/Makefile2:599: recipe for target
> 'CMakeFiles/hbaseclient-shared.dir/all' failed
> make[1]: *** [CMakeFiles/hbaseclient-shared.dir/all] Error 2
> Makefile:138: recipe for target 'all' failed
> make: *** [all] Error 2
>  According to the error info, It seems forget to put utils/version.h into
> including directories. I tried to find the version.h but failed. Have
> anyone
> successfully built this C++ client library? Any advice would be
> appreciated.
>
> Thanks,
>
> Mintao
>
>

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