Skip to content

Commit

Permalink
refactor(hdfs): use rocksdb API to read/write file
Browse files Browse the repository at this point in the history
  • Loading branch information
acelyc111 committed Sep 20, 2023
1 parent 625cebc commit 562fbfa
Show file tree
Hide file tree
Showing 4 changed files with 111 additions and 305 deletions.
169 changes: 0 additions & 169 deletions src/block_service/directio_writable_file.cpp

This file was deleted.

57 changes: 0 additions & 57 deletions src/block_service/directio_writable_file.h

This file was deleted.

8 changes: 2 additions & 6 deletions src/block_service/hdfs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,16 @@

set(MY_PROJ_NAME dsn.block_service.hdfs)

set(DIRECTIO_SRC
../directio_writable_file.cpp
)

#Source files under CURRENT project directory will be automatically included.
#You can manually set MY_PROJ_SRC to include source files under other directories.
set(MY_PROJ_SRC "${DIRECTIO_SRC}")
set(MY_PROJ_SRC "")

#Search mode for source files under CURRENT project directory ?
#"GLOB_RECURSE" for recursive search
#"GLOB" for non - recursive search
set(MY_SRC_SEARCH_MODE "GLOB")

set(MY_PROJ_LIBS hdfs)
set(MY_PROJ_LIBS hdfs rocksdb)

#Extra files that will be installed
set(MY_BINPLACES "")
Expand Down
Loading

0 comments on commit 562fbfa

Please sign in to comment.