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
openctestapplicable 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 commonCTest 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 TimelineServiceproject.program_input.py: Updateprogram_input.pyfile for theHadoop Yarn TimelineServiceproject.value_generation.py: Updatevalue_generation.pyfile for the Hadoop Yarn TimelineService project.identify_param.sh: Update theopenctestframework to generate the mapping.runner.py: Theself.setInTestis always false, and it does not work withhadoop commonproject as well, so I commented it out.main.py: Themapping[param]with always crash the entire code ifparamcould not be found in theopensource-hadoop-yarn-tls.jsonfile, so I addparam in mapping.keys() andbefore to avoid crashing.