Peter Cseh created OOZIE-2858:
---------------------------------

             Summary: HiveMain, ShellMain and SparkMain should not overwrite 
properties and config files locally
                 Key: OOZIE-2858
                 URL: https://issues.apache.org/jira/browse/OOZIE-2858
             Project: Oozie
          Issue Type: Bug
            Reporter: Peter Cseh


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.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to