You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by sa...@apache.org on 2022/05/09 22:32:51 UTC

[incubator-heron] branch saadurrahman/3829-Deprecate-Apache-Aurora-dev updated (8cce8b38d2b -> a449ee128e3)

This is an automated email from the ASF dual-hosted git repository.

saadurrahman pushed a change to branch saadurrahman/3829-Deprecate-Apache-Aurora-dev
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git


    from 8cce8b38d2b [MetricsMgr] Switched test to using Kubernetes in URI.
     new bcbfc0e49bf [Executor] Removed Aurora references.
     new 5741d475b36 [Config] Removed unit tests for Aurora in ConfigLoader.
     new a449ee128e3 [CLI] Removed reference to Aurora in Tar file submitter.

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 heron/executor/src/python/heron_executor.py           | 6 +++---
 heron/statemgrs/tests/python/configloader_unittest.py | 9 ---------
 heron/tools/cli/src/python/submit.py                  | 2 +-
 3 files changed, 4 insertions(+), 13 deletions(-)


[incubator-heron] 01/03: [Executor] Removed Aurora references.

Posted by sa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

saadurrahman pushed a commit to branch saadurrahman/3829-Deprecate-Apache-Aurora-dev
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git

commit bcbfc0e49bf11d788ec0b1b5394c2bf4726de028
Author: Saad Ur Rahman <sa...@apache.org>
AuthorDate: Mon May 9 18:24:39 2022 -0400

    [Executor] Removed Aurora references.
    
    Removed comment references.
---
 heron/executor/src/python/heron_executor.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/heron/executor/src/python/heron_executor.py b/heron/executor/src/python/heron_executor.py
index 3745b039494..404b39ab6bb 100755
--- a/heron/executor/src/python/heron_executor.py
+++ b/heron/executor/src/python/heron_executor.py
@@ -270,7 +270,7 @@ class HeronExecutor:
     self.stmgr_binary = parsed_args.stmgr_binary
     self.metrics_manager_classpath = parsed_args.metrics_manager_classpath
     self.metricscache_manager_classpath = parsed_args.metricscache_manager_classpath
-    # '=' can be parsed in a wrong way by some schedulers (aurora) hence it needs to be escaped.
+    # '=' can be parsed in a wrong way and hence it needs to be escaped.
     # It is escaped in two different ways. '(61)' is the new escaping. '&equals;' was
     # the original replacement but it is not friendly to bash and is causing issues. The original
     # escaping is still left there for reference and backward compatibility purposes (to be
@@ -299,11 +299,11 @@ class HeronExecutor:
                                               self.component_ram_map)
 
     # component_jvm_opts_in_base64 itself is a base64-encoding-json-map, which is appended with
-    # " at the start and end. It also escapes "=" to "&equals" due to aurora limitation
+    # " at the start and end. It also escapes "=" to "&equals" due to parsing limitations
     # And the json is a map from base64-encoding-component-name to base64-encoding-jvm-options
     self.component_jvm_opts = {}
     # First we need to decode the base64 string back to a json map string.
-    # '=' can be parsed in a wrong way by some schedulers (aurora) hence it needs to be escaped.
+    # '=' can be parsed in a wrong way and hence it needs to be escaped.
     # It is escaped in two different ways. '(61)' is the new escaping. '&equals;' was
     # the original replacement but it is not friendly to bash and is causing issues. The original
     # escaping is still left there for reference and backward compatibility purposes (to be


[incubator-heron] 02/03: [Config] Removed unit tests for Aurora in ConfigLoader.

Posted by sa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

saadurrahman pushed a commit to branch saadurrahman/3829-Deprecate-Apache-Aurora-dev
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git

commit 5741d475b3667791551b4d1ae7875d5128faa562
Author: Saad Ur Rahman <sa...@apache.org>
AuthorDate: Mon May 9 18:30:33 2022 -0400

    [Config] Removed unit tests for Aurora in ConfigLoader.
---
 heron/statemgrs/tests/python/configloader_unittest.py | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/heron/statemgrs/tests/python/configloader_unittest.py b/heron/statemgrs/tests/python/configloader_unittest.py
index 757da7d921c..55eab399ebf 100644
--- a/heron/statemgrs/tests/python/configloader_unittest.py
+++ b/heron/statemgrs/tests/python/configloader_unittest.py
@@ -39,15 +39,6 @@ class ConfigLoaderTest(unittest.TestCase):
                              'heron/config/src/yaml/conf/%s/statemgr.yaml' % cluster)
     return configloader.load_state_manager_locations(cluster, yaml_path)
 
-  def test_load_state_manager_locations_aurora(self):
-    self.assertEqual([{
-      'hostport': 'LOCALMODE',
-      'name': 'local',
-      'rootpath': '/vagrant/.herondata/repository/state/aurora',
-      'tunnelhost': 'my.tunnel.host',
-      'type': 'file'
-    }], self.load_locations('aurora'))
-
   def test_load_state_manager_locations_local(self):
     self.assertEqual([{
       'hostport': 'LOCALMODE',


[incubator-heron] 03/03: [CLI] Removed reference to Aurora in Tar file submitter.

Posted by sa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

saadurrahman pushed a commit to branch saadurrahman/3829-Deprecate-Apache-Aurora-dev
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git

commit a449ee128e39d382ec9a3b205e75f05f9dba49b9
Author: Saad Ur Rahman <sa...@apache.org>
AuthorDate: Mon May 9 18:32:41 2022 -0400

    [CLI] Removed reference to Aurora in Tar file submitter.
---
 heron/tools/cli/src/python/submit.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/heron/tools/cli/src/python/submit.py b/heron/tools/cli/src/python/submit.py
index af77641f026..011bb1e80ed 100644
--- a/heron/tools/cli/src/python/submit.py
+++ b/heron/tools/cli/src/python/submit.py
@@ -320,7 +320,7 @@ def submit_tar(cl_args, unknown_args, tmp_dir):
   The submitter inside will write out the topology defn file to a location
   that we specify. Then we write the topology defn file to a well known
   packer location. We then write to appropriate places in zookeeper
-  and launch the aurora jobs
+  and launch the jobs.
   :param cl_args:
   :param unknown_args:
   :param tmp_dir: