Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Unable to stop hop-server from command-line #2115

Closed
duursma opened this issue Dec 30, 2022 · 7 comments
Closed

[Bug]: Unable to stop hop-server from command-line #2115

duursma opened this issue Dec 30, 2022 · 7 comments
Assignees
Labels
bug P2 Default Priority
Milestone

Comments

@duursma
Copy link

duursma commented Dec 30, 2022

Apache Hop version?

2.2

Java version?

19.0.1

Operating system

Windows

What happened?

I started a hop-server on the localhost on port 8181. If I try to kill it from the command line it reports that it can't find the server.

./hop-server.bat -kill -u cluster -p cluster localhost 8181
org.apache.hop.www.HopServer$HopServerCommandException: "No Hop Server Server found at localhost:8181

If I query the status however I get a list of recently run pipelines
./hop-server.bat -gs -u cluster -p cluster localhost 8181

Pipelines: 2 found.

Issue Priority

Priority: 2

Issue Component

Component: Hop Server

@github-actions github-actions bot added the P2 Default Priority label Dec 30, 2022
@duursma duursma changed the title [Bug]: [Bug]: Unable to stop hop-server from command-line Dec 30, 2022
uraychang added a commit to uraychang/incubator-hop that referenced this issue Feb 3, 2023
@hansva hansva closed this as completed in 0355183 Feb 14, 2023
hansva added a commit that referenced this issue Feb 14, 2023
#2115 Unable to stop hop-server from command-line
@hansva hansva added this to the 2.4 milestone Feb 15, 2023
@gmitter-ef
Copy link

gmitter-ef commented Oct 11, 2024

Hi! I am using 2.9.0 for a hop server using port 8080 for starting and the shutdown port 8079, via configuration file. No matter which command I use, when trying to kill it, the Hop server keeps saying: "No Hop Server Server found at ...". I
tried specifiying only 8080, only 8079, or both 8080 8079 in the --kill command.
E.g.:
hop-server.sh 8080 --kill --userName cluster --password
hop-server.sh 8080 8079 --kill --userName cluster --password

Other hop-server.sh commands using same hostname, port 8080 and same credentials work, however, only the "kill" seems to produce the "No hop server found" error.

Under Windows the same problem is present.

@hansva
Copy link
Contributor

hansva commented Oct 11, 2024

This feature was removed again because anyone could stop the server without credentials. The only way now is to kill the process

@bamaer bamaer reopened this Oct 11, 2024
@bamaer
Copy link
Contributor

bamaer commented Oct 11, 2024

reopened because the --kill option is still in the docs and in the CLI options.

@bamaer
Copy link
Contributor

bamaer commented Oct 11, 2024

.take-issue

@hansva
Copy link
Contributor

hansva commented Oct 11, 2024

Might be better to re-open #3367

@github-actions github-actions bot removed this from the 2.4 milestone Oct 11, 2024
@github-actions github-actions bot added this to the 2.11 milestone Oct 11, 2024
@hansva
Copy link
Contributor

hansva commented Oct 11, 2024

Or a new high prio ticket

@bamaer
Copy link
Contributor

bamaer commented Oct 11, 2024

will be fixed in #4420

@bamaer bamaer closed this as completed Oct 11, 2024
@hansva hansva modified the milestones: 2.11, 2.4 Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug P2 Default Priority
Projects
None yet
Development

No branches or pull requests

4 participants