-
Notifications
You must be signed in to change notification settings - Fork 26
[HOPSWORKS-591] Conda Admin UI improvements #940
Conversation
@@ -588,6 +589,24 @@ public Response search(@Context SecurityContext sc, | |||
libsFound).build(); | |||
} | |||
|
|||
|
|||
@GET | |||
@Path("/diskusage") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the purpose of this endpoint?
If it is to give information to the users about the size of the project anaconda environment, it shouldn't do a du
on the whole anaconda lib, but on the project one.
If the purpose is to give admin information about the size of the anaconda directories, the endpoint shouldn't be here, but in the admin section, and the AllowedRoled shouldn't be DATA_OWNER
but HOPS_ADMIN
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's for the admin to find out about the size of all of the anaconda libraries on each host. Will fix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This REST API isn't currently used. The mgmt bean is used. I can remove it.
…me from kagents config.ini file, as GCE fails because hopsworks::default sets the wrong hostname
Make sure there is no duplicate PR for this issue
Post a link to the associated JIRA issue
https://hopshadoop.atlassian.net/browse/HOPSWORKS-591
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Feature
What is the new behavior (if this is a feature change)?
Show disk usage for Conda on Hopsworks server. Call 'conda clean' on all hosts.
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No.
Other information: