Code0x58 commented on issue #3670:
URL:
https://github.com/apache/incubator-heron/issues/3670#issuecomment-766415156
> Is the script accounting for symlinks? I believe some of the contents in
`/heron` are symlinks to another location.
Good question, but not in these cases. `find` doesn't follow symlinks by
default and the first script has both `find`s starting from the same place so
that won't find duplicates. The second starts at different places, but there
are no symlinks in the path of `/usr/local/heron/lib` and
/usr/local/heron/dist/heron-core/lib`.
Here's all the symlinks that exist in case it helps a clean up:
```shell
# made during heron-install.sh
ln -s /usr/local/heron/bin/heron{,-apiserver,-explorer,-tracker,-ui}
/usr/local/bin/
# made in the Dockerfile
ln -s /usr/local/heron/dist/heron-core /heron/
ln -s /usr/local/heron/{examples,release.yaml} /heron/
ln -s /usr/local/heron/{bin,conf,dist,lib,release.yaml /heron/heron-tools/
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]