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

mmpu could accept fully qualified paths #337

Open
jordanhendricks opened this issue Dec 5, 2017 · 0 comments
Open

mmpu could accept fully qualified paths #337

jordanhendricks opened this issue Dec 5, 2017 · 0 comments

Comments

@jordanhendricks
Copy link
Contributor

The mmpu commands operating on specific multipart uploads take a uuid as input. If you are someone who needs to look at other account's multipart uploads frequently, the only easy way to look at another account's MPU is by querying the API directly:

$ mget -q /jhendricks/uploads/9/94df8d4f-55a7-420b-9a74-3f531e2ecde0/state | json
{
  "id": "94df8d4f-55a7-420b-9a74-3f531e2ecde0",
  "state": "created",
  "partsDirectory": "/jhendricks/uploads/9/94df8d4f-55a7-420b-9a74-3f531e2ecde0",
  "targetObject": "/jhendricks/stor/create-no-parts",
  "headers": {
    "durability-level": 2
  },
  "numCopies": 2
}

It would be much more convenient to do something like:

$ mmpu get /jhendricks/uploads/9/94df8d4f-55a7-420b-9a74-3f531e2ecde0

With the integration of #326, this is much easier to do than before.

This usage pattern is similar to what mjob provides.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant