I had an issue when running a test topology. Here is my steps (my test is
in a ubuntu 18.04 docker container since my mac environment is different):

1. build
# bazel build --compilation_mode=dbg --config=darwin
scripts/packages:binpkgs --verbose_failures

2. install
# ./bazel-bin/scripts/packages/heron-install.sh --user

3. run test topology
# ~/.heron/bin/heron submit local ~/.heron/examples/heron-api-examples.jar
org.apache.heron.examples.api.ExclamationTopology ExclamationTopology

4. start heron-ui and heron-tracker
# ~/.heron/bin/heron-ui
# ~/.heron/bin/heron-tracker

5. visit http://localhost:8889/topologies/local/default/ExclamationTopology
There is no job information in the page

6. check executor log:
# less
~/.herondata/topologies/local/root/ExclamationTopology/heron-executor-0.stderr

and I saw the following error:
  File ".bootstrap/pex/pex.py", line 544, in execute_entry
  File ".bootstrap/pex/pex.py", line 551, in execute_module
  File "/usr/lib/python3.6/runpy.py", line 208, in run_module
    return _run_code(code, {}, init_globals, run_name, mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File
"/root/.pex/code/f214c6770a3c274e145acf7152ba06d6cacc291b/heron/executor/src/python/heron_executor.py",
line 1183, in <module>
    cli()
  File
"/root/.pex/installed_wheels/7bcb1b5bf49ca3f89c348c338d33c04e3d59dfc1/click-7.1.2-py2.py3-none-any.whl/click/core.py",
line 829, in __call__
    return self.main(*args, **kwargs)
  File
"/root/.pex/installed_wheels/7bcb1b5bf49ca3f89c348c338d33c04e3d59dfc1/click-7.1.2-py2.py3-none-any.whl/click/core.py",
line 760, in main
    _verify_python3_env()
  File
"/root/.pex/installed_wheels/7bcb1b5bf49ca3f89c348c338d33c04e3d59dfc1/click-7.1.2-py2.py3-none-any.whl/click/_unicodefun.py",
line 130, in _verify_python3_env
    " mitigation steps.{}".format(extra)
RuntimeError: Click will abort further execution because Python 3 was
configured to use ASCII as encoding for the environment. Consult
https://click.palletsprojects.com/python3/ for mitigation steps.

This system supports the C.UTF-8 locale which is recommended. You might be
able to resolve your issue by exporting the following environment variables:

    export LC_ALL=C.UTF-8
    export LANG=C.UTF-8


Anyone has similar issue? It might be caused by python 3.6 and could be ok
with 3.5 or 3.7?




On Wed, Jul 29, 2020 at 8:08 AM H W <[email protected]> wrote:

> Hello Heron Community,
>
> This is a call for a vote to the 7th release candidate for Apache Heron,
> version 0.20.3-incubating.
> We request project mentors (binded) as well as all contributors (unbinded)
> and users to review and vote on this incubator release.
>
> *  The tag to be voted upon: 0.20.3-incubating-rc7
> (ac82daf753f9fd76bb00b0ea4bd896e8a02479a9)
> The full list of changes and release notes are available at:
>
> https://github.com/apache/incubator-heron/releases/tag/0.20.3-incubating-rc7
>
> Files can be found in dist.apache.org
> Source:
>
> https://dist.apache.org/repos/dist/dev/incubator/heron/heron-0.20.3-incubating-candidate-7/
> SHA-512
> <https://dist.apache.org/repos/dist/dev/incubator/heron/heron-0.20.3-incubating-candidate-7/SHA-512>
> checksums:
>
> 572e4d8e593eef129b7dde9154fff0d20b6476d5980c6eb904bef7d080097a5c3c4a8e64af818ffcc2f9f0c25870e9923687813c13202eae9e75ad8b03885b5f
>  0.20.3-incubating-rc7.tar.gz
>
> Please download the source package, and follow the compiling guide
> https://heron.incubator.apache.org/docs/next/compiling-overview/
> to setup the environment, build and run locally.
>
> Note that currently Bazel 3.4.1 is required to build this version.
> After Bazel is set up and works correctly, you can use these release check
> scripts
>
> https://github.com/apache/incubator-heron/blob/master/scripts/release_check/README.md#run-individual-release-checks
> to verify the build.  The vote will be open for at least 72 hours or until
> the necessary number of votes are reached.
>
> Please vote accordingly:
> [ ] +1 approve
> [ ] +0 no opinion
> [ ] -1 disapprove with the reason
>
> Thank you,
>
> The Apache Heron (Incubating) Team
>

Reply via email to