<?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 api Unknown configuration attribute 'dfs_data_dir_list' in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/cloudera-api-Unknown-configuration-attribute-dfs-data-dir/m-p/58587#M52945</link>
    <description>I got a solution.&lt;BR /&gt;&lt;BR /&gt;for group in dn_groups:&lt;BR /&gt;group.update_config({'dfs_data_dir_list': '/dfs'})</description>
    <pubDate>Wed, 09 Aug 2017 07:05:09 GMT</pubDate>
    <dc:creator>awsbiddata</dc:creator>
    <dc:date>2017-08-09T07:05:09Z</dc:date>
    <item>
      <title>cloudera api Unknown configuration attribute 'dfs_data_dir_list'</title>
      <link>https://community.cloudera.com/t5/Support-Questions/cloudera-api-Unknown-configuration-attribute-dfs-data-dir/m-p/58523#M52944</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working with python and cm_api. I got the following response when I execute my script. I copied and paste the code from the cloudera blog&lt;/P&gt;&lt;P&gt;This is the code:&lt;/P&gt;&lt;PRE&gt;hdfs_service_config = {
  'dfs_replication': 2,
}
nn_config = {
  'dfs_name_dir_list': '/dfs/nn',
  'dfs_namenode_handler_count': 30,
}
snn_config = {
  'fs_checkpoint_dir_list': '/dfs/snn',
}
dn_config = {
  'dfs_data_dir_list': '/dfs/dn1,/dfs/dn2,/dfs/dn3',
  'dfs_datanode_failed_volumes_tolerated': 1,
}
hdfs.update_config(
    svc_config=hdfs_service_config,
    NAMENODE=nn_config,
    SECONDARYNAMENODE=snn_config,
    DATANODE=dn_config)&lt;/PRE&gt;&lt;P&gt;cm-api (14.0.0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2017 10:46:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/cloudera-api-Unknown-configuration-attribute-dfs-data-dir/m-p/58523#M52944</guid>
      <dc:creator>awsbiddata</dc:creator>
      <dc:date>2017-08-08T10:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: cloudera api Unknown configuration attribute 'dfs_data_dir_list'</title>
      <link>https://community.cloudera.com/t5/Support-Questions/cloudera-api-Unknown-configuration-attribute-dfs-data-dir/m-p/58587#M52945</link>
      <description>I got a solution.&lt;BR /&gt;&lt;BR /&gt;for group in dn_groups:&lt;BR /&gt;group.update_config({'dfs_data_dir_list': '/dfs'})</description>
      <pubDate>Wed, 09 Aug 2017 07:05:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/cloudera-api-Unknown-configuration-attribute-dfs-data-dir/m-p/58587#M52945</guid>
      <dc:creator>awsbiddata</dc:creator>
      <dc:date>2017-08-09T07:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: cloudera api Unknown configuration attribute 'dfs_data_dir_list'</title>
      <link>https://community.cloudera.com/t5/Support-Questions/cloudera-api-Unknown-configuration-attribute-dfs-data-dir/m-p/58615#M52946</link>
      <description>&lt;P&gt;Thank you for sharing your solution. I do need to clarify about the code from the blog. Which article was it from? Also, are you saying there was an error&amp;nbsp;with the code or that you were having difficulty changing it to match your conditions?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2017 12:43:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/cloudera-api-Unknown-configuration-attribute-dfs-data-dir/m-p/58615#M52946</guid>
      <dc:creator>cjervis</dc:creator>
      <dc:date>2017-08-09T12:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: cloudera api Unknown configuration attribute 'dfs_data_dir_list'</title>
      <link>https://community.cloudera.com/t5/Support-Questions/cloudera-api-Unknown-configuration-attribute-dfs-data-dir/m-p/58657#M52947</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this article:&amp;nbsp;&lt;A href="http://blog.cloudera.com/blog/2012/09/automating-your-cluster-with-cloudera-manager-api/" target="_blank"&gt;http://blog.cloudera.com/blog/2012/09/automating-your-cluster-with-cloudera-manager-api/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In the step3 ("configuring HDFS") I just get errors and errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My conditions matched ok with this new configuration.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any question let me know&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2017 07:01:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/cloudera-api-Unknown-configuration-attribute-dfs-data-dir/m-p/58657#M52947</guid>
      <dc:creator>awsbiddata</dc:creator>
      <dc:date>2017-08-10T07:01:15Z</dc:date>
    </item>
  </channel>
</rss>

