Skip to content

mmpu could accept fully qualified paths #337

@jordanhendricks

Description

@jordanhendricks

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions