Right, you have to build it (unfortunately) for the HBase version you need.
As Sean already mentioned, that specific project has not been actively
maintained for a long time. There are no releases and it is very likely
that you can run into issues. If you interested in submitting bug fixes /
patches / code-reviews let me know, happy to help.

On Fri, Dec 18, 2020 at 6:15 PM tao min <[email protected]> wrote:

> sorry for replying late. I checked HBase, and found it has not been
> applied the commit that fix the problem.  After pull the lastest commit of
> master branch , i successfully build the hbase native client, Thanks for
> the help !
> By the way, Should i build a different hbase-native-client for HBase-1.x
> Cluster?
>
> On 2020/12/16 17:59:08, Bharath Vissapragada <[email protected]> wrote:
> > 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 杭研-闵涛 <[email protected]> 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
> > >
> > >
> >
>

Reply via email to