Invalid or missing resources: hadoop-aarch64

Bug #1488128 reported by Michael Reed on 2015-08-24
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apache-hadoop-hdfs-secondary (Juju Charms Collection)
Undecided
Unassigned

Bug Description

When using juju-resources to fetch all of the resources hadoop-aarch64 is missing.

juju-resources fetch --all resources.yaml -d /tmp/hadoop_resources_current/apache-hadoop-hdfs-secondary/
Fetching jujubigdata...
Fetching pathlib...
Fetching java-installer...
Fetching hadoop-ppc64le...
Fetching hadoop-aarch64...
Fetching hadoop-x86_64...
Invalid or missing resources: hadoop-aarch64

Michael Reed (mreed8855) wrote :

kwmonroe wrote:

We have hadoop-2.4.1.tgz for x86_64 and aarch64. When fetching --all resources from a resources.yaml, juju-resources gives an "invalid" error for aarch64 because the x86_64 tarball has the same base name.

juju-resources should handle the case when multiple resources have the same base filename.

Michael Reed (mreed8855) wrote :

I have verified that the fix located at the following link fixes this issue:

https://github.com/juju-solutions/jujuresources/commit/92502cea39e58f5d414840524f615e8c3bbdedd8

sudo juju-resources fetch --all -d /tmp/hadoop_resources/
Fetching jujubigdata...
Fetching pathlib...
Fetching java-installer...
Fetching hadoop-ppc64le...
Fetching hadoop-aarch64...
Fetching hadoop-x86_64...
All resources successfully downloaded

Verify the Resources

sudo juju-resources verify -d /tmp/hadoop_resources/
All resources successfully downloaded

Changed in apache-hadoop-hdfs-secondary (Juju Charms Collection):
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers