Skip to content
This repository has been archived by the owner on Apr 25, 2019. It is now read-only.

[HOPSWORKS-591] Conda Admin UI improvements #940

Merged
merged 12 commits into from
Jun 26, 2018
Merged

[HOPSWORKS-591] Conda Admin UI improvements #940

merged 12 commits into from
Jun 26, 2018

Conversation

jimdowling
Copy link
Contributor

Make sure there is no duplicate PR for this issue

  • Please check if the PR meets the following requirements
  • Adds tests for the submitted changes (for bug fixes & features)
  • Passes the tests
  • [ X] HOPSWORKS JIRA issue has been opened for this PR
  • [ X] All commits have been squashed down to a single commit
  • 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:

@@ -588,6 +589,24 @@ public Response search(@Context SecurityContext sc,
libsFound).build();
}


@GET
@Path("/diskusage")
Copy link
Collaborator

@SirOibaf SirOibaf Jun 19, 2018

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

Copy link
Contributor Author

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.

Copy link
Contributor Author

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.

karamel and others added 3 commits June 20, 2018 14:30
…me from kagents config.ini file, as GCE fails because hopsworks::default sets the wrong hostname
@SirOibaf SirOibaf merged commit b19355c into dc-sics:master Jun 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants