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

validatePropertySchemaOfServiceXMLs UT fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.5.1
    • None
    • test
    • None

    Description

      validatePropertySchemaOfServiceXMLs UT fails as below.

      Error Message
      
      File /xxx/ambari/ambari-server/target/test-classes/TestAmbaryServer.samples/../../../src/main/resources/common-services/STORM/0.9.1/configuration/storm-env.xml didn't pass the validation. Error message is : The entity name must immediately follow the '&' in the entity reference.
      Stacktrace
      
      org.apache.ambari.server.AmbariException: File /xxx/ambari/ambari-server/target/test-classes/TestAmbaryServer.samples/../../../src/main/resources/common-services/STORM/0.9.1/configuration/storm-env.xml didn't pass the validation. Error message is : The entity name must immediately follow the '&' in the entity reference.
      	at org.apache.ambari.server.state.ServicePropertiesTest.validatePropertySchemaOfServiceXMLs(ServicePropertiesTest.java:48)
      Standard Output
      
      2017-05-19 01:06:53,663 ERROR [main] stack.StackManager (StackManager.java:validateAllPropertyXmlsInFolderRecursively(456)) - File /xxx/ambari/ambari-server/target/test-classes/TestAmbaryServer.samples/../../../src/main/resources/common-services/STORM/0.9.1/configuration/storm-env.xml didn't pass the validation. Error message is : The entity name must immediately follow the '&' in the entity reference.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yeshavora Yesha Vora
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: