annotate put_dataset.xml @ 0:7698311d4466 draft

Uploaded
author crs4
date Fri, 30 May 2014 06:48:47 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
7698311d4466 Uploaded
crs4
parents:
diff changeset
1 <tool id="hadoop_galaxy_put_dataset" name="Put dataset" version="0.1.0">
7698311d4466 Uploaded
crs4
parents:
diff changeset
2 <description>Copy data from Galaxy storage to Hadoop storage.</description>
7698311d4466 Uploaded
crs4
parents:
diff changeset
3 <requirements>
7698311d4466 Uploaded
crs4
parents:
diff changeset
4 <requirement type="package" version="0.11">pydoop</requirement>
7698311d4466 Uploaded
crs4
parents:
diff changeset
5 <requirement type="package" version="0.1.1">hadoop-galaxy</requirement>
7698311d4466 Uploaded
crs4
parents:
diff changeset
6 </requirements>
7698311d4466 Uploaded
crs4
parents:
diff changeset
7
7698311d4466 Uploaded
crs4
parents:
diff changeset
8 <command>
7698311d4466 Uploaded
crs4
parents:
diff changeset
9 put_dataset
7698311d4466 Uploaded
crs4
parents:
diff changeset
10 #if $workspace != ""
7698311d4466 Uploaded
crs4
parents:
diff changeset
11 --hadoop-workspace "$workspace"
7698311d4466 Uploaded
crs4
parents:
diff changeset
12 #end if
7698311d4466 Uploaded
crs4
parents:
diff changeset
13 #if $use_distcp
7698311d4466 Uploaded
crs4
parents:
diff changeset
14 --distcp
7698311d4466 Uploaded
crs4
parents:
diff changeset
15 #end if
7698311d4466 Uploaded
crs4
parents:
diff changeset
16 "$input_pathset" "$output_path"
7698311d4466 Uploaded
crs4
parents:
diff changeset
17 </command>
7698311d4466 Uploaded
crs4
parents:
diff changeset
18
7698311d4466 Uploaded
crs4
parents:
diff changeset
19 <inputs>
7698311d4466 Uploaded
crs4
parents:
diff changeset
20 <param name="input_pathset" type="data" format="pathset" label="Galaxy pathset" />
7698311d4466 Uploaded
crs4
parents:
diff changeset
21
7698311d4466 Uploaded
crs4
parents:
diff changeset
22 <param name="workspace" type="text" label="Path to workspace for Hadoop data"
7698311d4466 Uploaded
crs4
parents:
diff changeset
23 help="The data will be copied to a new directory under this path. The value can also be set through the HADOOP_GALAXY_PUT_DIR environment variable." />
7698311d4466 Uploaded
crs4
parents:
diff changeset
24
7698311d4466 Uploaded
crs4
parents:
diff changeset
25 <param name="use_distcp" type="boolean" checked="false" label="Use Hadoop distcp2"
7698311d4466 Uploaded
crs4
parents:
diff changeset
26 help="Use distcp2 if Hadoop can access Galaxy's storage space and you're copying a large dataset." />
7698311d4466 Uploaded
crs4
parents:
diff changeset
27 </inputs>
7698311d4466 Uploaded
crs4
parents:
diff changeset
28
7698311d4466 Uploaded
crs4
parents:
diff changeset
29 <outputs>
7698311d4466 Uploaded
crs4
parents:
diff changeset
30 <data name="output_path" format="pathset" label="Hadoop pathset from $input_pathset.name" />
7698311d4466 Uploaded
crs4
parents:
diff changeset
31 </outputs>
7698311d4466 Uploaded
crs4
parents:
diff changeset
32
7698311d4466 Uploaded
crs4
parents:
diff changeset
33 <stdio>
7698311d4466 Uploaded
crs4
parents:
diff changeset
34 <exit_code range="1:" level="fatal" />
7698311d4466 Uploaded
crs4
parents:
diff changeset
35 </stdio>
7698311d4466 Uploaded
crs4
parents:
diff changeset
36
7698311d4466 Uploaded
crs4
parents:
diff changeset
37 <help>
7698311d4466 Uploaded
crs4
parents:
diff changeset
38 This tools copies data from Galaxy's storage to storage that is suitable for
7698311d4466 Uploaded
crs4
parents:
diff changeset
39 Hadoop jobs. An example of a use case may be to copy data from the Galaxy server
7698311d4466 Uploaded
crs4
parents:
diff changeset
40 to HDFS. Whether this tool is required depends on your specific local setup.
7698311d4466 Uploaded
crs4
parents:
diff changeset
41 </help>
7698311d4466 Uploaded
crs4
parents:
diff changeset
42
7698311d4466 Uploaded
crs4
parents:
diff changeset
43 </tool>