X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/3fb3557b13cce8fee3bab0f81ab03b78fbef67dd..189fee6586b290a78cdc1b3a3b9845efe0cf7499:/doc/user/topics/tutorial-job1.html.textile.liquid diff --git a/doc/user/topics/tutorial-job1.html.textile.liquid b/doc/user/topics/tutorial-job1.html.textile.liquid index c4db2db85e..61eaa639a6 100644 --- a/doc/user/topics/tutorial-job1.html.textile.liquid +++ b/doc/user/topics/tutorial-job1.html.textile.liquid @@ -34,7 +34,7 @@ EOF * @<the_job@ redirects standard output to a file called @the_job@ * @"script"@ specifies the name of the script to run. The script is searched for in the "crunch_scripts/" subdirectory of the @git@ checkout specified by @"script_version"@. -* @"script_version"@ specifies the version of the script that you wish to run. This can be in the form of an explicit @git@ revision hash, or in the form "repository:branch" (in which case it will take the HEAD of the specified branch). Arvados logs the script version that was used in the run, enabling you to go back and re-run any past job with the guarantee that the exact same code will be used as was used in the previous run. You can access a list of available @git@ repositories on the Arvados workbench under "Compute %(rarr)→% Code repositories":http://{{site.arvados_workbench_host}}/repositiories . +* @"script_version"@ specifies the version of the script that you wish to run. This can be in the form of an explicit @git@ revision hash, or in the form "repository:branch" (in which case it will take the HEAD of the specified branch). Arvados logs the script version that was used in the run, enabling you to go back and re-run any past job with the guarantee that the exact same code will be used as was used in the previous run. You can access a list of available @git@ repositories on the Arvados workbench under "Compute %(rarr)→% Code repositories":http://{{site.arvados_workbench_host}}/repositories . * @"script_parameters"@ are provided to the script. In this case, the input is the locator for the collection that we inspected in the previous section. Use @arv job create@ to actually submit the job. It should print out a JSON object which describes the newly created job: @@ -125,7 +125,7 @@ On the command line, you can use @arv job get@ to access a JSON object describin "cancelled_by_user_uuid":null, "started_at":"2013-12-16T20:44:36Z", "finished_at":"2013-12-16T20:44:53Z", - "output":"880b55fb4470b148a447ff38cacdd952+54", + "output":"dd755dbc8d49a67f4fe7dc843e4f10a6+54", "success":true, "running":false, "is_locked_by_uuid":"qr1hi-tpzed-9zdpkpni2yddge6", @@ -145,12 +145,12 @@ On the command line, you can use @arv job get@ to access a JSON object describin -* @"output"@ is the unique identifier for this specific job's output. This is a Keep collection. Because the output of Arvados jobs should be deterministic, the known expected output is 880b55fb4470b148a447ff38cacdd952+54. +* @"output"@ is the unique identifier for this specific job's output. This is a Keep collection. Because the output of Arvados jobs should be deterministic, the known expected output is dd755dbc8d49a67f4fe7dc843e4f10a6+54. Now you can list the files in the collection: -
~$ arv keep ls 880b55fb4470b148a447ff38cacdd952+54
+
~$ arv keep ls dd755dbc8d49a67f4fe7dc843e4f10a6+54
 md5sum.txt
 
@@ -158,8 +158,8 @@ md5sum.txt This collection consists of the @md5sum.txt@ file. Use @arv keep get@ to show the contents of the @md5sum.txt@ file: -
~$ arv keep get 880b55fb4470b148a447ff38cacdd952+54/md5sum.txt
-44b8ae3fde7a8a88d2f7ebd237625b4f var-GS000016015-ASM.tsv.bz2
+
~$ arv keep get dd755dbc8d49a67f4fe7dc843e4f10a6+54/md5sum.txt
+44b8ae3fde7a8a88d2f7ebd237625b4f ./var-GS000016015-ASM.tsv.bz2
 
@@ -209,13 +209,13 @@ The log collection consists of one log file named with the job id. You can acce 2013-12-16_20:44:39 qr1hi-8i9sb-1pm1t02dezhupss 7575 status: 1 done, 1 running, 0 todo 2013-12-16_20:44:52 qr1hi-8i9sb-1pm1t02dezhupss 7575 1 child 7716 on compute13.1 exit 0 signal 0 success=true 2013-12-16_20:44:52 qr1hi-8i9sb-1pm1t02dezhupss 7575 1 success in 13 seconds -2013-12-16_20:44:52 qr1hi-8i9sb-1pm1t02dezhupss 7575 1 output 880b55fb4470b148a447ff38cacdd952+54 +2013-12-16_20:44:52 qr1hi-8i9sb-1pm1t02dezhupss 7575 1 output dd755dbc8d49a67f4fe7dc843e4f10a6+54 2013-12-16_20:44:52 qr1hi-8i9sb-1pm1t02dezhupss 7575 wait for last 0 children to finish 2013-12-16_20:44:52 qr1hi-8i9sb-1pm1t02dezhupss 7575 status: 2 done, 0 running, 0 todo 2013-12-16_20:44:52 qr1hi-8i9sb-1pm1t02dezhupss 7575 release job allocation 2013-12-16_20:44:52 qr1hi-8i9sb-1pm1t02dezhupss 7575 Freeze not implemented 2013-12-16_20:44:52 qr1hi-8i9sb-1pm1t02dezhupss 7575 collate -2013-12-16_20:44:53 qr1hi-8i9sb-1pm1t02dezhupss 7575 output 880b55fb4470b148a447ff38cacdd952+54 +2013-12-16_20:44:53 qr1hi-8i9sb-1pm1t02dezhupss 7575 output dd755dbc8d49a67f4fe7dc843e4f10a6+54+K@qr1hi 2013-12-16_20:44:53 qr1hi-8i9sb-1pm1t02dezhupss 7575 finish