I tried to install cdh 5.4 on ami-a8d86fc0 ubuntu trusty.
I see these errors and more.
Local parcel error for parcel SPARK-0.9.0-1.cdh4.6.0.p0.98-trusty : Parcel not available for OS Distribution UBUNTU_TRUSTY.
Local parcel error for parcel IMPALA-2.1.0-1.impala2.0.0.p0.1995-trusty : Parcel not available for OS Distribution UBUNTU_TRUSTY.
following are the possible distribution suffixes, please follow the naming convention according to your OS.
Possible distro suffixes
Spark and Impala are part of the main CDH parcel. The errors are because the default parcel URLs point to the old parcel locations when spark and Impala were not part of CDH.
To stop the errors from happening, go into Cloudera Manager, Navigate to "Administration > Settings"
In the Search field, search for "parcels".
Locate Remote Parcel Repository URLs
Remove the following URLs:
The errors themselves should not indicate a functional problem, but the above should address.
Actually, now that I think about it... what version of CDH are you managing with Cloudera Manager? What were you trying to do when you got those error messages?
you can try another parcels repository url, from the menu Administration -> Settings, and search for keywords 'parcels', the and the parcel repository url of spark2, which is http://archive.cloudera.com/spark2/parcels/latest/
if you want to install spark2, you can read this page
hope helpful for you !