-
Notifications
You must be signed in to change notification settings - Fork 311
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: source config_hdfs.sh automatically before starting onebox (#1708)
When run Pegasus to use the feature of backup data to HDFS (restore data from HDFS is the same), it's needed to set the CLASSPATH enviroment variables, now it is done by scripts/config_hdfs.sh. However, we have to source this script manually before starting onebox. This patch sources the script in ./run.sh automatically, updates config_hdfs.sh to download hadoop package is it's not exist, and removes explicilt calling of scripts/config_hdfs.sh in CI.
- Loading branch information
Showing
3 changed files
with
15 additions
and
8 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