~bigdata-dev/charms/trusty/apache-hadoop-hdfs-master/status-removed

« back to all changes in this revision

Viewing changes to README.md

  • Committer: Kevin W. Monroe
  • Date: 2015-08-07 21:30:37 UTC
  • Revision ID: kevin.monroe@canonical.com-20150807213037-ztv0c6842fsf2e5p
be more explicit with out how to use the resources_mirror config option

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
of these resources:
50
50
 
51
51
    sudo pip install jujuresources
52
 
    juju resources fetch --all apache-hadoop-compute-slave/resources.yaml -d /tmp/resources
53
 
    juju resources serve -d /tmp/resources
 
52
    juju-resources fetch --all /path/to/resources.yaml -d /tmp/resources
 
53
    juju-resources serve -d /tmp/resources
54
54
 
55
55
This will fetch all of the resources needed by this charm and serve them via a
56
 
simple HTTP server. You can then set the `resources_mirror` config option to
57
 
have the charm use this server for retrieving resources.
 
56
simple HTTP server. The output from `juju-resources serve` will give you a
 
57
URL that you can set as the `resources_mirror` config option for this charm.
 
58
Setting this option will cause all resources required by this charm to be
 
59
downloaded from the configured URL.
58
60
 
59
61
You can fetch the resources for all of the Apache Hadoop charms
60
62
(`apache-hadoop-hdfs-master`, `apache-hadoop-yarn-master`,
61
63
`apache-hadoop-hdfs-secondary`, `apache-hadoop-plugin`, etc) into a single
62
 
directory and serve them all with a single `juju resources serve` instance.
 
64
directory and serve them all with a single `juju-resources serve` instance.
63
65
 
64
66
 
65
67
## Contact Information