Skip to content

RP_YARN_Stampede_Example needs User Credentials #7

@mingtaiha

Description

@mingtaiha

The following steps in this tutorial requires user credentials.

The step below needs the user_id

1.2.3 Create a Radical Pilot context to include your credentials for the Remote Target Machine
c = rp.Context('ssh')
c.user_id = "tg829619"
session.add_context(c)

The step below needs the project_id

1.2.5 Submit the pilot to the Pilot and Unit Managers
pdesc = rp.ComputePilotDescription ()
pdesc.resource = "yarn.stampede"  # NOTE: This is a "label", not a hostname
pdesc.runtime  = 60 # minutes
pdesc.cores    = 16
pdesc.cleanup  = False
pdesc.project  = 'TG-MCB150124' #Include the Allocation here
pdesc.queue    = 'development' #You can select a different queue if you want.
# submit the pilot.
print "Submitting Compute Pilot to Pilot Manager ..."
pilot = pmgr.submit_pilots(pdesc)
print "Registering Compute Pilot with Unit Manager ..."
umgr.add_pilots(pilot)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions