<?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: How to define HDFS storage tiers and storage polices in CDH 5.4.x in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-define-HDFS-storage-tiers-and-storage-polices-in-CDH/m-p/28974#M6373</link>
    <description>&lt;P&gt;Thanks - that worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm assuming that I should leave the mounts in the&amp;nbsp;dfs.datanode.data.dir section, so that CM knows to monitor the mounts.&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jun 2015 20:14:10 GMT</pubDate>
    <dc:creator>goodes</dc:creator>
    <dc:date>2015-06-25T20:14:10Z</dc:date>
    <item>
      <title>How to define HDFS storage tiers and storage polices in CDH 5.4.x</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-define-HDFS-storage-tiers-and-storage-polices-in-CDH/m-p/28880#M6371</link>
      <description>&lt;P&gt;In order to use Hadoop 2.6 storage policies you must specify the type for each mount point in&amp;nbsp;&lt;SPAN&gt;dfs.datanode.data.dir the type (DISK, ARCHIVE, RAM_DISK, SSD). If editing the hdfs-site.xml file directly I would do -&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;property&amp;gt;
     &amp;lt;name&amp;gt;dfs.datanode.data.dir&amp;lt;/name&amp;gt;
     &amp;lt;value&amp;gt;[ARCHIVE]file:///mnt/archive/dfs/dn,[SSD]file:///mnt/flash/dfs/dn,[DISK]file:///mnt/disk/dfs/dn&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;&lt;/PRE&gt;&lt;P&gt;However, if I try and use this format in the CM GUI I get the following error -&amp;nbsp;&lt;/P&gt;&lt;DIV class="control-column-expanded"&gt;&lt;DIV class="value-entry error-value"&gt;&lt;UL&gt;&lt;LI&gt;DataNode Data Directory: Path [ARCHIVE]:///mnt/archive/dfs/dn does not conform to the pattern "(/[-+=_.a-zA-Z0-9]+)+(/)*"&lt;/LI&gt;&lt;LI&gt;DataNode Data Directory: Path [DISK]:file///mnt/disk/dfs/dn does not conform to the pattern "(/[-+=_.a-zA-Z0-9]+)+(/)*"&lt;/LI&gt;&lt;LI&gt;DataNode Data Directory: Path [SSD]:file///mnt/flash/dfs/dn does not conform to the pattern "(/[-+=_.a-zA-Z0-9]+)+(/)*"&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know what is the correct format to specify storage tiers in the GUI or how to manually bypass the GUI and configure this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="CM_Tiers_Error.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/1014iA4BFA4A75757491A/image-size/large?v=v2&amp;amp;px=999" role="button" title="CM_Tiers_Error.png" alt="CM_Tiers_Error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:32:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-define-HDFS-storage-tiers-and-storage-polices-in-CDH/m-p/28880#M6371</guid>
      <dc:creator>goodes</dc:creator>
      <dc:date>2022-09-16T09:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to define HDFS storage tiers and storage polices in CDH 5.4.x</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-define-HDFS-storage-tiers-and-storage-polices-in-CDH/m-p/28891#M6372</link>
      <description>CM currently lacks support to define storage types. If you'd like to use this feature at the moment, place your XML override in the "DataNode Advanced Configuration Snippet (Safety Valve) for hdfs-site.xml" instead, which accepts &amp;lt;property/&amp;gt; tags.</description>
      <pubDate>Wed, 24 Jun 2015 17:27:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-define-HDFS-storage-tiers-and-storage-polices-in-CDH/m-p/28891#M6372</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2015-06-24T17:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to define HDFS storage tiers and storage polices in CDH 5.4.x</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-define-HDFS-storage-tiers-and-storage-polices-in-CDH/m-p/28974#M6373</link>
      <description>&lt;P&gt;Thanks - that worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm assuming that I should leave the mounts in the&amp;nbsp;dfs.datanode.data.dir section, so that CM knows to monitor the mounts.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2015 20:14:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-define-HDFS-storage-tiers-and-storage-polices-in-CDH/m-p/28974#M6373</guid>
      <dc:creator>goodes</dc:creator>
      <dc:date>2015-06-25T20:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to define HDFS storage tiers and storage polices in CDH 5.4.x</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-define-HDFS-storage-tiers-and-storage-polices-in-CDH/m-p/28975#M6374</link>
      <description>Yes, that'd be a good idea.&lt;BR /&gt;&lt;BR /&gt;Glad to hear it worked! Feel free to also mark the discussion as solved so others looking at similar issues may find this thread faster.</description>
      <pubDate>Thu, 25 Jun 2015 20:24:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-define-HDFS-storage-tiers-and-storage-polices-in-CDH/m-p/28975#M6374</guid>
      <dc:creator>Harsh J</dc:creator>
      <dc:date>2015-06-25T20:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to define HDFS storage tiers and storage polices in CDH 5.4.x</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-define-HDFS-storage-tiers-and-storage-polices-in-CDH/m-p/39867#M6375</link>
      <description>&lt;P&gt;Some more questions &amp;nbsp;based on this thread&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once storage configuration is defined and SSDs/ Disks are identified by HDFS,&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;does all drives (SSDs+ DIsks) are used and single virtual storage ?&lt;OL&gt;&lt;LI&gt;if yes does it mean while running jobs/queries some data blocks would be fetched from Disks while others from SSDs?&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;or two different virtual storage hot and cold?? &amp;nbsp;&lt;OL&gt;&lt;LI&gt;If Yes, while copying/generating data in HDFS, will there be 3 copies of data across disks+storage or 3 copies in Disks and 3 copies in SSDs ; total 6 copies?&lt;/LI&gt;&lt;LI&gt;how do I force data to be used from SSDs only or DISKs only; while submitting any Jobs/queries using various tools(hive, Impala, spark etc)&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2016 16:59:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-define-HDFS-storage-tiers-and-storage-polices-in-CDH/m-p/39867#M6375</guid>
      <dc:creator>ANKITINTEL</dc:creator>
      <dc:date>2016-04-18T16:59:05Z</dc:date>
    </item>
  </channel>
</rss>

