You should run buck under hbase-native-client . Source files are now under hbase-native-client/src/hbase/ directory.
For building simple-client, you can use: buck build src/hbase/client:simple-client For #2, you'd better not mix your code inside native client library. hbase-native-client/third-party/BUCK is for holding third party lib. On Sun, Sep 24, 2017 at 9:29 AM, Andrzej <[email protected]> wrote: > I build with Maven (after installing Java Oracle 8) and do time consuming > first time start `sudo bin/start-docker.sh` > In file <HBASE-14850>/hbase-native-client/BUILDING.md is: > buck build //core:core > buck test --all > buck build //core:simple-client > > But directories structure changes. > Previously was BUCK in core directory. > Now are: > <HBASE-14850>/hbase-native-client/src/hbase/client/BUCK > <HBASE-14850>/hbase-native-client/include/hbase/client/BUCK > 1. > In which directory do "buck build"? and "buck build //core:core" is bad? > > 2.In which directory write my own files? > is <HBASE-14850>/hbase-native-client/third-party/ > and BUCK. > Previously in BUCK was about my files: > cxx_binary( > name="fastnative", > srcs=[ > "fastnative.cpp", > "HBaseSession.cpp", > "Session.cpp", > ], > compiler_flags=['-w'], > deps=[":core", "//connection:connection"],) > > I must apply it in BUCK in third-party/ folder? >
