atlas-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jma...@apache.org
Subject [48/51] [abbrv] incubator-atlas git commit: script modifications to atlas system props
Date Sun, 14 Jun 2015 17:45:28 GMT
script modifications to atlas system props


Project: http://git-wip-us.apache.org/repos/asf/incubator-atlas/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/e9dacce0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-atlas/tree/e9dacce0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-atlas/diff/e9dacce0

Branch: refs/heads/dal
Commit: e9dacce053e6820faf92a2cb2b4f2450505d3845
Parents: fc19063
Author: Jon Maron <jmaron@hortonworks.com>
Authored: Wed Jun 10 13:54:04 2015 -0700
Committer: Jon Maron <jmaron@hortonworks.com>
Committed: Wed Jun 10 13:54:32 2015 -0700

----------------------------------------------------------------------
 src/bin/atlas_start.py                  | 4 ++--
 src/test/python/scripts/TestMetadata.py | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/e9dacce0/src/bin/atlas_start.py
----------------------------------------------------------------------
diff --git a/src/bin/atlas_start.py b/src/bin/atlas_start.py
index f080142..66e8735 100755
--- a/src/bin/atlas_start.py
+++ b/src/bin/atlas_start.py
@@ -22,8 +22,8 @@ import traceback
 import atlas_config as mc
 
 METADATA_LOG_OPTS="-Datlas.log.dir=%s -Datlas.log.file=application.log"
-METADATA_COMMAND_OPTS="-Dmetadata.home=%s"
-METADATA_CONFIG_OPTS="-Dmetadata.conf=%s"
+METADATA_COMMAND_OPTS="-Datlas.home=%s"
+METADATA_CONFIG_OPTS="-Datlas.conf=%s"
 DEFAULT_JVM_OPTS="-Xmx1024m"
 
 def main():

http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/e9dacce0/src/test/python/scripts/TestMetadata.py
----------------------------------------------------------------------
diff --git a/src/test/python/scripts/TestMetadata.py b/src/test/python/scripts/TestMetadata.py
index abcd06a..b24b1c1 100644
--- a/src/test/python/scripts/TestMetadata.py
+++ b/src/test/python/scripts/TestMetadata.py
@@ -50,13 +50,13 @@ class TestMetadata(unittest.TestCase):
         'org.apache.atlas.Main',
         ['-app', 'metadata_home/server/webapp/atlas'],
         'metadata_home/conf:metadata_home/server/webapp/atlas/WEB-INF/classes:metadata_home/server/webapp/atlas/WEB-INF/lib\\*:metadata_home/libext\\*',
-        ['-Datlas.log.dir=metadata_home/logs', '-Datlas.log.file=application.log', '-Dmetadata.home=metadata_home',
'-Dmetadata.conf=metadata_home/conf', '-Xmx1024m'], 'metadata_home/logs')
+        ['-Datlas.log.dir=metadata_home/logs', '-Datlas.log.file=application.log', '-0Datlas.home=metadata_home',
'-Datlas.conf=metadata_home/conf', '-Xmx1024m'], 'metadata_home/logs')
     else:
       java_mock.assert_called_with(
         'org.apache.atlas.Main',
         ['-app', 'metadata_home/server/webapp/atlas'],
         'metadata_home/conf:metadata_home/server/webapp/atlas/WEB-INF/classes:metadata_home/server/webapp/atlas/WEB-INF/lib/*:metadata_home/libext/*',
-        ['-Datlas.log.dir=metadata_home/logs', '-Datlas.log.file=application.log', '-Dmetadata.home=metadata_home',
'-Dmetadata.conf=metadata_home/conf', '-Xmx1024m'],  'metadata_home/logs')
+        ['-Datlas.log.dir=metadata_home/logs', '-Datlas.log.file=application.log', '-Datlas.home=metadata_home',
'-Datlas.conf=metadata_home/conf', '-Xmx1024m'],  'metadata_home/logs')
     pass
 
 


Mime
View raw message