<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: cloudera director c5d instance type support in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/cloudera-director-c5d-instance-type-support/m-p/77905#M81411</link>
    <description>&lt;P&gt;These new instance types aren't in Director yet. For now however, you should be able to update Director's AWS plugin to include them. You can refer to the documentation for the steps:&amp;nbsp;&lt;A href="https://www.cloudera.com/documentation/director/latest/topics/director_aws_new_instance_types.html" target="_blank"&gt;https://www.cloudera.com/documentation/director/latest/topics/director_aws_new_instance_types.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Aug 2018 01:54:10 GMT</pubDate>
    <dc:creator>aarman</dc:creator>
    <dc:date>2018-08-01T01:54:10Z</dc:date>
    <item>
      <title>cloudera director c5d instance type support</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/cloudera-director-c5d-instance-type-support/m-p/77842#M81410</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I am not able to use AWS instance type c5d for cluster template. Is it related to the cloudera director version? How can I include the template to this instance type?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 15:30:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/cloudera-director-c5d-instance-type-support/m-p/77842#M81410</guid>
      <dc:creator>Tomas79</dc:creator>
      <dc:date>2022-09-16T15:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: cloudera director c5d instance type support</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/cloudera-director-c5d-instance-type-support/m-p/77905#M81411</link>
      <description>&lt;P&gt;These new instance types aren't in Director yet. For now however, you should be able to update Director's AWS plugin to include them. You can refer to the documentation for the steps:&amp;nbsp;&lt;A href="https://www.cloudera.com/documentation/director/latest/topics/director_aws_new_instance_types.html" target="_blank"&gt;https://www.cloudera.com/documentation/director/latest/topics/director_aws_new_instance_types.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 01:54:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/cloudera-director-c5d-instance-type-support/m-p/77905#M81411</guid>
      <dc:creator>aarman</dc:creator>
      <dc:date>2018-08-01T01:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: cloudera director c5d instance type support</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/cloudera-director-c5d-instance-type-support/m-p/77932#M81412</link>
      <description>&lt;P&gt;I did configure the c5d instance types, but it is still failing:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Process logs can be found at /root/.cloudera-director/logs/application.log
Plugins will be loaded from /var/lib/cloudera-director-plugins
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0
Cloudera Director 2.8.0 initializing ...
Connecting to http://localhost:7189
Current user roles: [ROLE_READONLY, ROLE_ADMIN]
Configuration file passes all validation checks.
Creating a new environment...
Creating external database servers if configured...
Creating a new Cloudera Manager...
Unexpected internal error (see logs): {
  "validationErrors" : [ "Incompatible AMI virtualization type. Instance type c5d.2xlarge does not support hvm virtualization type of AMI ami-3548444c." ],
  "validationWarnings" : [ ],
  "conditions" : [ {
    "scope" : "aws.com.cloudera.director.aws.ec2.EC2Provider.template",
    "key" : "image",
    "exceptionInfo" : {
      "@class" : "com.cloudera.launchpad.common.error.ErrorInfo",
      "code" : [ "com.cloudera.launchpad.pluggable.common.ProviderErrorCode", "PROVIDER_EXCEPTION" ],
      "properties" : {
        "message" : "Incompatible AMI virtualization type. Instance type c5d.2xlarge does not support hvm virtualization type of AMI ami-3548444c."
      },
      "causes" : [ ],
      "message" : "Incompatible AMI virtualization type. Instance type c5d.2xlarge does not support hvm virtualization type of AMI ami-3548444c."
    },
    "message" : "Incompatible AMI virtualization type. Instance type c5d.2xlarge does not support hvm virtualization type of AMI ami-3548444c."
  } ],
  "formatWarnings" : [ ]
}
[centos@ip-10-197-19-68 ~]$
[centos@ip-10-197-19-68 ~]$ cat /var/lib/cloudera-director-plugins/aws-provider-1.5.0/etc/ec2.customvirtualizationmappings.properties
hvm=c5d.xlarge,c5d.2xlarge,c5.large,m5.xlarge
[centos@ip-10-197-19-68 ~]$ cat /var/lib/cloudera-director-plugins/aws-provider-1.5.0/etc/ec2.ephemeraldevicemappings.properties
# (c) Copyright 2015 Cloudera, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Comprehensive list of EC2 ephemeral device mappings at:
# http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#StorageOnInstanceTypes

c5d.2xlarge=1
[centos@ip-10-197-19-68 ~]$&lt;/PRE&gt;</description>
      <pubDate>Wed, 01 Aug 2018 09:18:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/cloudera-director-c5d-instance-type-support/m-p/77932#M81412</guid>
      <dc:creator>Tomas79</dc:creator>
      <dc:date>2018-08-01T09:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: cloudera director c5d instance type support</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/cloudera-director-c5d-instance-type-support/m-p/78059#M81413</link>
      <description>&lt;P&gt;Hmm, so&amp;nbsp;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;etc/ec2.virtualizationmappings.properties&lt;/FONT&gt; is the default location to specify the virtualization mapping. You can use &lt;FONT face="courier new,courier"&gt;etc/ec2.customvirtualizationmappings.properties&lt;/FONT&gt;&amp;nbsp;as shown in your example but then you would have to specify this custom location in&amp;nbsp;&lt;FONT face="courier new,courier"&gt;etc/aws-plugin.conf&lt;/FONT&gt; (as mentioned in the docs). Can you double check to see if that's the issue.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Aug 2018 06:58:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/cloudera-director-c5d-instance-type-support/m-p/78059#M81413</guid>
      <dc:creator>aarman</dc:creator>
      <dc:date>2018-08-03T06:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: cloudera director c5d instance type support</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/cloudera-director-c5d-instance-type-support/m-p/78060#M81414</link>
      <description>&lt;P&gt;I resolved the issue, the problem was:&lt;/P&gt;&lt;P&gt;- the listing of hvm instance types has to be in one row separated by comma (I dont know why the escape on new lines did not worked)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the working configuration:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;cat &amp;lt;&amp;lt; EOF | sudo tee -a /var/lib/cloudera-director-plugins/aws-provider-1.5.0/etc/aws-plugin.confx
virtualizationMappings {
    customMappingsPath: ec2.customvirtualizationmappings.properties
}
EOF

cat &amp;lt;&amp;lt; EOF | sudo tee /var/lib/cloudera-director-plugins/aws-provider-1.5.0/etc/ec2.customvirtualizationmappings.propertiesx
hvm=c5.large,c5.xlarge,c5.2xlarge,c5.4xlarge,c5.9xlarge,c5.18xlarge, m5.large,m5.xlarge,m5.2xlarge,m5.4xlarge,m5.12xlarge,m5.24xlarge,c5d.large,c5d.xlarge,c5d.2xlarge,c5d.4xlarge,c5d.9xlarge,c5d.18xlarge,r5.large,r5.xlarge,r5.2xlarge,r5.4xlarge,r5.12xlarge,r5.24xlarge
EOF

cat &amp;lt;&amp;lt; EOF | sudo tee -a /var/lib/cloudera-director-plugins/aws-provider-1.5.0/etc/aws-plugin.confx
ephemeralDeviceMappings {
    customMappingsPath: ec2.customephemeraldevicemappings.properties
}
EOF

cat &amp;lt;&amp;lt; EOF | sudo tee /var/lib/cloudera-director-plugins/aws-provider-1.5.0/etc/ec2.customephemeraldevicemappings.propertiesx
c5d.large=1
c5d.xlarge=1
c5d.2xlarge=1
c5d.4xlarge=1
c5d.9xlarge=1
c5d.18xlarge=2
EOF&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Aug 2018 07:06:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/cloudera-director-c5d-instance-type-support/m-p/78060#M81414</guid>
      <dc:creator>Tomas79</dc:creator>
      <dc:date>2018-08-03T07:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: cloudera director c5d instance type support</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/cloudera-director-c5d-instance-type-support/m-p/78061#M81415</link>
      <description>&lt;P&gt;Glad you got it working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just to note something like this did work for me for hvm instance types:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;hvm=c5.large,\&lt;BR /&gt;c5.xlarge,\&lt;BR /&gt;c5.2xlarge,\&lt;BR /&gt;c5d.2xlarge&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There should be a&amp;nbsp;&lt;FONT face="courier new,courier"&gt;ec2.virtualizationmappings.properties.example&lt;/FONT&gt; file you can look at, modify as an example.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Aug 2018 07:29:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/cloudera-director-c5d-instance-type-support/m-p/78061#M81415</guid>
      <dc:creator>aarman</dc:creator>
      <dc:date>2018-08-03T07:29:53Z</dc:date>
    </item>
  </channel>
</rss>

