You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by GitBox <gi...@apache.org> on 2022/05/15 02:08:55 UTC

[GitHub] [incubator-heron] nicknezis commented on pull request #3831: Added to show the number of instances in the topology list UI.

nicknezis commented on PR #3831:
URL: https://github.com/apache/incubator-heron/pull/3831#issuecomment-1126842868

   I might have missed something, but got the following error when attempting a local run.
   
   Installed locally:
   `bazel run -- scripts/packages:heron-install.sh --user`
   
   I ran `heron-tracker` and `heron-ui`.
   
   Ran a local topology: `heron submit local ~/.heron/examples/heron-api-examples.jar org.apache.heron.examples.api.AckingTopology acking`
   
   Saw this error in the `heron-tracker`.
   ```
   [2022-05-14 22:03:39 -0400] [INFO]: Adding new topology: acking, state_manager: local
   Exception in thread Thread-1:
   Traceback (most recent call last):
     File "/usr/local/Cellar/python@3.9/3.9.12/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 973, in _bootstrap_inner
       self.run()
     File "/usr/local/Cellar/python@3.9/3.9.12/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 910, in run
       self._target(*self._args, **self._kwargs)
     File "/Users/nnezis/.pex/unzipped_pexes/bca9046b34d3961d3cc495fabd3817f4243df382/heron/statemgrs/src/python/filestatemanager.py", line 133, in monitor
       trigger_watches_based_on_files(
     File "/Users/nnezis/.pex/unzipped_pexes/bca9046b34d3961d3cc495fabd3817f4243df382/heron/statemgrs/src/python/filestatemanager.py", line 112, in trigger_watches_based_on_files
       callback(proto_object)
     File "/Users/nnezis/.pex/unzipped_pexes/bca9046b34d3961d3cc495fabd3817f4243df382/heron/tools/tracker/src/python/topology.py", line 626, in set_execution_state
       self._update(execution_state=execution_state)
     File "/Users/nnezis/.pex/unzipped_pexes/bca9046b34d3961d3cc495fabd3817f4243df382/heron/tools/tracker/src/python/topology.py", line 609, in _update
       info = self._rebuild_info(t_state)
     File "/Users/nnezis/.pex/unzipped_pexes/bca9046b34d3961d3cc495fabd3817f4243df382/heron/tools/tracker/src/python/topology.py", line 278, in _rebuild_info
       metadata=self._build_metadata(topology, physical_plan, execution_state, tracker_config),
     File "/Users/nnezis/.pex/unzipped_pexes/bca9046b34d3961d3cc495fabd3817f4243df382/heron/tools/tracker/src/python/topology.py", line 395, in _build_metadata
       "instances": len(physical_plan.instances),
   AttributeError: 'NoneType' object has no attribute 'instances'
   ```
   
   Is it possible that I'm not running the right binary of `heron-tracker`? I'll try to verify what I did, but wanted to post just in case before this got merged in.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@heron.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org