You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by ni...@apache.org on 2022/02/28 08:04:04 UTC
[incubator-heron] branch nicknezis/tracker-packing-plan-fix updated (2964278 -> 6b89007)
This is an automated email from the ASF dual-hosted git repository.
nicknezis pushed a change to branch nicknezis/tracker-packing-plan-fix
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git.
discard 2964278 Added missing packing plan handler
omit 19ef69a More cleanup and documentation update
omit 70c880d Removed Mesos/Marathon from Vagrantfile init.sh
omit 9759b0d Remove outdated Docker bazel.rc
omit 63fd862 Another travis script cleanup
omit b47e90d Remove function not used anywhere
omit c8536b2 Remove outdated Applatix CI scripts
omit 475d73d Removing TravisCI special config.
omit 793d49c Text cleanup
omit e9355aa Updates to remove platform setting in the scripts
omit 7809ea9 Updated BUILD files to use platform info
omit 52da394 Added Bazel platforms dependency
new 6b89007 Added missing packing plan handler
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (2964278)
\
N -- N -- N refs/heads/nicknezis/tracker-packing-plan-fix (6b89007)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 1 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:
WORKSPACE | 10 --
docker/compile/Dockerfile.centos8 | 3 +
docker/compile/Dockerfile.debian10 | 3 +
docker/compile/Dockerfile.ubuntu18.04 | 3 +
docker/compile/Dockerfile.ubuntu20.04 | 3 +
docker/compile/Dockerfile.ubuntu22.04 | 3 +
docker/scripts/compile-docker.sh | 5 +
docker/scripts/compile-platform.sh | 19 ++-
docker/scripts/dev-env-create.sh | 5 +-
docker/scripts/test-docker.sh | 5 +
docker/scripts/test-platform.sh | 16 ++-
docker/test/Dockerfile.centos8 | 3 +
docker/test/Dockerfile.ubuntu18.04 | 4 +-
examples/src/scala/compile.sh | 2 +-
heron/common/src/cpp/basics/BUILD | 2 +-
heron/common/src/cpp/metrics/BUILD | 2 +-
integration_test/README.md | 6 +-
.../src/python/local_test_runner/README | 4 +-
scripts/{travis => applatix}/build.sh | 57 ++++----
scripts/{release_check/build.sh => applatix/ci.sh} | 14 +-
scripts/{travis/test.sh => applatix/javatests.sh} | 52 +-------
.../applatix/prepare.sh | 7 +-
scripts/{travis/ci.sh => applatix/pythontests.sh} | 43 +++---
scripts/{travis => applatix}/test.sh | 41 ++----
scripts/{travis/ci.sh => applatix/testutils.sh} | 40 +++---
scripts/get_all_heron_paths.sh | 4 +-
scripts/release_check/build.sh | 4 +-
scripts/run_integration_test.sh | 4 +-
scripts/run_integration_topology_test.sh | 4 +-
scripts/shutils/common.sh | 28 ++++
scripts/travis/build.sh | 29 ++--
scripts/travis/test.sh | 10 +-
third_party/gperftools/gperftools.BUILD | 20 ++-
third_party/helm/BUILD | 2 +-
third_party/zookeeper/BUILD | 10 +-
tools/bazel.rc | 50 ++++++-
tools/{ => docker}/bazel.rc | 27 ++--
.../org/apache/bazel/checkstyle/CppCheckstyle.java | 2 +-
.../apache/bazel/checkstyle/JavaCheckstyle.java | 2 +-
.../apache/bazel/checkstyle/PythonCheckstyle.java | 2 +-
tools/platform/BUILD | 36 ++---
tools/rules/pex/BUILD | 2 +-
tools/travis/bazel.rc | 60 +++++++++
tools/travis/toolchain/BUILD | 60 +++++++++
tools/travis/toolchain/CROSSTOOL | 147 +++++++++++++++++++++
tools/travis/toolchain/cc_toolchain_config.bzl | 18 +++
vagrant/init.sh | 62 +++++++++
vagrant/local-ci.sh | 4 +-
website2/docs/compiling-docker.md | 4 +-
website2/docs/compiling-linux.md | 52 +++-----
website2/docs/compiling-osx.md | 27 +---
website2/docs/compiling-overview.md | 31 +++--
website2/docs/compiling-running-tests.md | 6 +-
website2/website/scripts/compile-docker.sh | 5 +
website2/website/scripts/javadocs.sh | 7 +-
website2/website/scripts/python-doc-gen.sh | 2 +-
56 files changed, 743 insertions(+), 330 deletions(-)
copy scripts/{travis => applatix}/build.sh (68%)
copy scripts/{release_check/build.sh => applatix/ci.sh} (84%)
mode change 100644 => 100755
copy scripts/{travis/test.sh => applatix/javatests.sh} (55%)
copy eco-storm-examples/src/java/org/apache/heron/examples/eco/sample.properties => scripts/applatix/prepare.sh (88%)
mode change 100644 => 100755
copy scripts/{travis/ci.sh => applatix/pythontests.sh} (58%)
copy scripts/{travis => applatix}/test.sh (70%)
copy scripts/{travis/ci.sh => applatix/testutils.sh} (61%)
copy tools/{ => docker}/bazel.rc (53%)
create mode 100644 tools/travis/bazel.rc
create mode 100644 tools/travis/toolchain/BUILD
create mode 100644 tools/travis/toolchain/CROSSTOOL
create mode 100644 tools/travis/toolchain/cc_toolchain_config.bzl
[incubator-heron] 01/01: Added missing packing plan handler
Posted by ni...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
nicknezis pushed a commit to branch nicknezis/tracker-packing-plan-fix
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git
commit 6b8900709be5ef497452de4389344a8d3aef7fe4
Author: Nicholas Nezis <ni...@gmail.com>
AuthorDate: Mon Feb 28 02:59:06 2022 -0500
Added missing packing plan handler
---
heron/tools/tracker/src/python/routers/topologies.py | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/heron/tools/tracker/src/python/routers/topologies.py b/heron/tools/tracker/src/python/routers/topologies.py
index c96bbdb..e1d8801 100644
--- a/heron/tools/tracker/src/python/routers/topologies.py
+++ b/heron/tools/tracker/src/python/routers/topologies.py
@@ -33,6 +33,7 @@ from heron.tools.tracker.src.python.topology import (
TopologyInfoExecutionState,
TopologyInfoLogicalPlan,
TopologyInfoMetadata,
+ TopologyInfoPackingPlan,
TopologyInfoPhysicalPlan,
TopologyInfoSchedulerLocation,
)
@@ -114,6 +115,15 @@ async def get_topology_config(
topology_info = topology.info
return topology_info.physical_plan.config
+@router.get("/packingplan", response_model=TopologyInfoPackingPlan)
+async def get_topology_packing_plan(
+ cluster: str,
+ environ: str,
+ topology: str,
+ role: Optional[str] = Query(None, deprecated=True),
+):
+ topology = state.tracker.get_topology(cluster, role, environ, topology)
+ return topology.info.packing_plan
@router.get("/physicalplan", response_model=TopologyInfoPhysicalPlan)
async def get_topology_physical_plan(