Invalid or missing resources: hadoop-aarch64

Bug #1488132 reported by Michael Reed
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apache-hadoop-yarn-master (Juju Charms Collection)
Fix Committed
Undecided
Unassigned

Bug Description

When attempting to use juju-resources charmhelpers appears to be missing.
juju-resources fetch --all resources.yaml -d /tmp/hadoop_resources_current/apache-hadoop-yarn-master/
Fetching pyaml...
Fetching jujubigdata...
Fetching charmhelpers...
Fetching six...
Fetching pathlib...
Fetching java-installer...
Fetching hadoop-ppc64le...
Fetching hadoop-aarch64...
Fetching hadoop-x86_64...
Invalid or missing resources: charmhelpers

Revision history for this message
Michael Reed (mreed8855) wrote :

I was not using the latest version of this charm, hadoop-aarch64 is the missing resource.

sudo juju-resources fetch --all -r resources.yaml -d /tmp/hadoop_resources_current/apache-hadoop-yarn-master/
[sudo] password for mreed:
Fetching jujubigdata...
Fetching pathlib...
Fetching java-installer...
Fetching hadoop-ppc64le...
Fetching hadoop-aarch64...
Fetching hadoop-x86_64...
Invalid or missing resources: hadoop-aarch64

Revision history for this message
Michael Reed (mreed8855) 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.

summary: - Invalid or missing resources: charmhelpers
+ Invalid or missing resources: hadoop-aarch64
Revision history for this message
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-yarn-master (Juju Charms Collection):
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.