diff --git a/python/src/cm_api/endpoints/services.py b/python/src/cm_api/endpoints/services.py index 98a1c5fa..ca5462b0 100644 --- a/python/src/cm_api/endpoints/services.py +++ b/python/src/cm_api/endpoints/services.py @@ -1863,6 +1863,16 @@ def list_commands_by_name(self): return self._get("commandsByName", ApiCommandMetadata, True, api_version=6) + def create_yarn_cm_container_usage_input_dir(self): + """ + Creates the HDFS directory where YARN container usage metrics are + stored by NodeManagers for CM to read and aggregate into app usage metrics. + + @return: Reference to submitted command. + @since: API v13 + """ + return self._cmd('yarnCreateCmContainerUsageInputDirCommand', api_version=13) + class ApiServiceSetupInfo(ApiService): _ATTRIBUTES = { 'name' : None, @@ -1932,4 +1942,3 @@ def first_run(self): @since: API v7 """ return self._cmd('firstRun', None, api_version=7) -