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
feat(backup): add hdfs as an alternative backup provider #647
Merged
Merged
Changes from 5 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
1e8d177
feat(backup): add hdfs as an alternative backup provider
zhangyifan27 b76c6b2
fix test config
zhangyifan27 553088f
fix
zhangyifan27 acb54df
fix
zhangyifan27 aaba51f
fix test
zhangyifan27 d6dfac1
Merge branch 'master' into hdfs_service
zhangyifan27 5eaac00
fix
zhangyifan27 519923a
fix cmake
zhangyifan27 0749acf
Merge branch 'master' into hdfs_service
zhangyifan27 3f8b364
fix
zhangyifan27 6b42a7f
Merge branch 'hdfs_service' of github.com:zhangyifan27/rdsn into hdfs…
zhangyifan27 21f11fc
fix
zhangyifan27 5c57d65
Merge branch 'master' into hdfs_service
zhangyifan27 f42a2d1
Merge branch 'master' into hdfs_service
zhangyifan27 eafb196
fix
zhangyifan27 a64bbc6
Merge branch 'hdfs_service' of github.com:zhangyifan27/rdsn into hdfs…
zhangyifan27 820bb09
fix thread pool
zhangyifan27 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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}) | ||
zhangyifan27 marked this conversation as resolved.
Show resolved
Hide resolved
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.