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

Unclear ooziedb -sqlFile option behaviour

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • scripts
    • None

    Description

      There are two scenarios when running ooziedb.sh with -sqlscript option can lead to misunderstandings:

      full command: ooziedb.sh upgrade -sqlfile oozie-upgrade.sql

      1. if there are no changes, the following information is printed out: "The SQL commands have been written to: oozie-upgrade.sql", however if there is no SQL command, the file will be not created. 
      2. If there are changes and the file is created, it is stored in the /tmp/ directory. In the log message it would be good to print out the full path to the file, not only the file name.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            kmarton Kinga Marton

            Dates

              Created:
              Updated:

              Slack

                Issue deployment