Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 988 Bytes

README.md

File metadata and controls

37 lines (26 loc) · 988 Bytes

ICGC DCC - Data Download Import

An utility which can load Elasticsearch index obtained from the DCC Download server.

Building

$ mvn -am -pl dcc-download-import package

Import

To load an Elasticsearch index first download it from the DCC Download service.

$ wget https://download.icgc.org/exports/release<release_number>.tar

Secondly, run the utility to upload the index archive to an Elasticsearch cluster.

$ java -jar dcc-download-import-<version>.jar \
  -i </path/to/the/elasticsearch/archive> \
  -es <elasticsearch_url> \
  -p <project_code>

where the -p <project_code> is optional.

For example:

$ java -jar dcc-download-import-4.2.12.jar -i /tmp/release21.tar -es es://localhost:9300

Custom logging

To override the default logging setting use -Dlogback.configurationFile=logback.xml configuration option.

E.g. java -Dlogback.configurationFile=logback.xml -jar ...