Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-17187

Fix configuration xml files that don't pass validation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.4.0
    • ambari-server
    • None

    Description

      ServicePropertiesTest.validatePropertySchemaOfServiceXMLs
      src/main/resources/common-services/RANGER/0.6.0/configuration/ranger-env.xml didn't pass the validation. Error message is : cvc-complex-type.2.4.b: The content of element 'property' is not complete. One of '{filename, deleted, final, on-ambari-upgrade, property-type, depends-on, property_depended_by}' is expected.
      at org.apache.ambari.server.state.ServicePropertiesTest.validatePropertySchemaOfServiceXMLs(ServicePropertiesTest.java:48)
      ------- Stdout: -------
      2016-06-12 18:50:23,380 ERROR [main] stack.StackManager (StackManager.java:validateAllPropertyXmlsInFolderRecursively(318)) - File /opt/teamcity-agent/work/660cf0c01ac51af8/ambari-server/target/test-classes/TestAmbaryServer.samples/../../../src/main/resources/common-services/RANGER/0.6.0/configuration/ranger-env.xml didn't pass the validation. Error message is : cvc-complex-type.2.4.b: The content of element 'property' is not complete. One of '{filename, deleted, final, on-ambari-upgrade, property-type, depends-on, property_depended_by}' is expected.
      
      

      Attachments

        1. AMBARI-17187.patch
          9 kB
          Dmitry Lysnichenko

        Issue Links

          Activity

            People

              dmitriusan Dmitry Lysnichenko
              dmitriusan Dmitry Lysnichenko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: