You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Ayub Pathan (Jira)" <ji...@apache.org> on 2020/07/30 07:07:00 UTC

[jira] [Created] (YUNIKORN-335) Invalid config validation and config schema checks for unsupported config properties

Ayub Pathan created YUNIKORN-335:
------------------------------------

             Summary: Invalid config validation and config schema checks for unsupported config properties
                 Key: YUNIKORN-335
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-335
             Project: Apache YuniKorn
          Issue Type: Bug
          Components: core - scheduler
            Reporter: Ayub Pathan


* Invalid configuration does not error out - accepts silently but does not reload the config.
4 spaces & 2 spaces - we should error out if 2 spaces is the standard.
{noformat}
 partitions:
  -
    name: default
    placementrules:
      - name: tag
        value: namespace
        create: true
    queues:
      - name: root
        submitacl: '*'
        properties:
           application.sort.policy: stateaware{noformat}

 * Any unsupported configuration should not be allowed in the policy map - some kind of schema check is needed.
{noformat}
partitions:
  -
    name: default
    placementrules:
      - name: tag
        value: namespace
        create: true
    queues:
      - name: root
        submitacl: '*'
        sample: value1
        properties:
          application.sort.policy: stateaware
          sample: value2{noformat}

[~wilfreds]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org