|
@@ -36,7 +36,7 @@ class Simple(object):
|
|
|
|
|
|
self.known_formats = ['xml', 'properties', 'yaml', 'yml', 'env', "sh", "cfg", 'conf']
|
|
|
self.output_dir = self.args.destination
|
|
|
-
|
|
|
+ self.excluded_envs = ['HADOOP_CONF_DIR']
|
|
|
self.configurables = {}
|
|
|
|
|
|
def destination_file_path(self, name, extension):
|
|
@@ -51,6 +51,8 @@ class Simple(object):
|
|
|
def process_envs(self):
|
|
|
"""Process environment variables"""
|
|
|
for key in os.environ.keys():
|
|
|
+ if key in self.excluded_envs:
|
|
|
+ continue
|
|
|
pattern = re.compile("[_\\.]")
|
|
|
parts = pattern.split(key)
|
|
|
extension = None
|