Adding hadoop-yarn-timelineservice into the openctest framework #22
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.
Details
In order to make
openctest
applicable to projectHadoop Yarn TimelineService
, I did the following changes to the framework.hadoop-yarn-tls-default.tsv
: Default conf param value for hadoop yarn tls project.sample-hadoop-yarn-tls.tsv
: Replace the originalhadoop common
CTest input.opensource-hadoop-yarn-tls.json
: The new ctest mapping file.conf_params.txt
: Conf param list for param identification.test_method_list.json
: Test file list for param identification.interception.patch
: Patch file for interception function.logging.patch
: Patch file for logging function.ctests-hadoop-yarn-tls.json
: The resulting mapping file.add_project.sh
: Add script function to set up the Hadoop Yarn TimelineService` project.ctest_const.py
: Update CTest Constant to support theHadoop Yarn TimelineService
project.program_input.py
: Updateprogram_input.py
file for theHadoop Yarn TimelineService
project.value_generation.py
: Updatevalue_generation.py
file for the Hadoop Yarn TimelineService project.identify_param.sh
: Update theopenctest
framework to generate the mapping.runner.py
: Theself.setInTest
is always false, and it does not work withhadoop common
project as well, so I commented it out.main.py
: Themapping[param]
with always crash the entire code ifparam
could not be found in theopensource-hadoop-yarn-tls.json
file, so I addparam in mapping.keys() and
before to avoid crashing.