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

Unclear ooziedb -sqlFile option behaviour

    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

            People

              Unassigned Unassigned
              kmarton Kinga Marton
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: