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

HiveMain, ShellMain and SparkMain should not overwrite properties and config files locally

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0.0b1
    • None
    • None

    Description

      We're generating files on the fly in many of our *Main classes.
      These are usually log4j.properties and hive-site.xml files (there may be others, but these are the ones I managed to find).

      We should check if these files are there in advance and don't overwrite them if they are present. We could log a warning in this case or merge the contents of the files with the things we want to write into it. There is an example for this in PigMain and log4j.properties.

      Attachments

        1. OOZIE-2858-005.patch
          23 kB
          Gézapeti
        2. OOZIE-2858-004.patch
          23 kB
          Gézapeti
        3. OOZIE-2858-003.patch
          23 kB
          Gézapeti
        4. OOZIE-2858-002.patch
          23 kB
          Gézapeti
        5. OOZIE-2858-001.patch
          18 kB
          Gézapeti

        Activity

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

          People

            gezapeti Gézapeti
            gezapeti Gézapeti
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment