This repository has been archived by the owner on Jun 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(backup): add hdfs as an alternative backup provider
- Loading branch information
1 parent
81b1005
commit 1e8d177
Showing
12 changed files
with
934 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
set(MY_PROJ_NAME dsn.block_service.hdfs) | ||
|
||
#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 "") | ||
|
||
#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 "") | ||
|
||
#Extra files that will be installed | ||
set(MY_BINPLACES "") | ||
|
||
dsn_add_static_library() | ||
|
||
set(LIBS hdfs) | ||
find_package(JNI) | ||
if (JNI_FOUND) | ||
message (STATUS "JAVA_JVM_LIBRARY=${JAVA_JVM_LIBRARY}") | ||
set(LIBS ${LIBS} ${JAVA_JVM_LIBRARY}) | ||
else (JNI_FOUND) | ||
message (FATAL_ERROR "JNI is required but not found, please make sure | ||
jdk is installed and JAVA_HOME is set.") | ||
endif (JNI_FOUND) | ||
target_link_libraries(${MY_PROJ_NAME} PUBLIC ${LIBS}) |
Oops, something went wrong.