Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-3426

[core] V1JobsServlet should log HDFS related error when trying to save workflow definition

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 5.1.0
    • 5.2.0
    • core
    • None

    Description

      If V1JobsServlet DEBUG level logging is turned on and tryCreateOnDFS catches an exception and tried to log the details, only the following is printed to the log:

      Could not write XML [%s] to HDFS. Error message: %s
      

      Instead of %s we should use {0} and {1} to get a meaningful error message. Or we should use String.format

      Attachments

        1. OOZIE-3426-01.patch
          0.8 kB
          Andras Salamon

        Activity

          People

            asalamon74 Andras Salamon
            asalamon74 Andras Salamon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: