<?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: Could not create files in any configured scratch directories (--scratch_dirs=) on backend in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Could-not-create-files-in-any-configured-scratch-directories/m-p/86164#M11707</link>
    <description>&lt;P&gt;Tim,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the suggestion. I checked the startup logs for the impalad&amp;nbsp;that is&amp;nbsp;complaining and looks like there are some weird permission issues which we fixed and things are looking good. However there is one thing that is puzzling me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have impala user allocated to impala_prod LDAP group, however, there is also a local user impala allocated to local group impala on the node running impalad. When we removed scratch dirs and fired up impalad, looks like scratch dirs are created with the user from local and group from LDAP. Can this possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Ravi&lt;/P&gt;</description>
    <pubDate>Fri, 08 Feb 2019 21:29:18 GMT</pubDate>
    <dc:creator>munna143</dc:creator>
    <dc:date>2019-02-08T21:29:18Z</dc:date>
    <item>
      <title>Could not create files in any configured scratch directories (--scratch_dirs=) on backend</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Could-not-create-files-in-any-configured-scratch-directories/m-p/86110#M11705</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try to run a huge query at Impala that does a lot of aggregation &amp;amp; sorts, it throws up with the following error.&amp;nbsp;The error is vague and of not much help. Our cluster has 32 impala daemons and all the nodes have been configured with 8 disks of 4TB each. We defined scratch directories on all the disks/nodes in Cloudera Manager. I tried looking at the logs as indicated in the error message but I couldn't&amp;nbsp;find anything useful.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could not create files in any configured scratch directories (--scratch_dirs=) on backend 'data405.prod.com:22000'. See logs for previous errors that may have prevented creating or writing scratch files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Version of impala: &lt;SPAN&gt;2.12.0-cdh5.15.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any pointers would be greatly helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Ravi&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 14:08:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Could-not-create-files-in-any-configured-scratch-directories/m-p/86110#M11705</guid>
      <dc:creator>munna143</dc:creator>
      <dc:date>2022-09-16T14:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: Could not create files in any configured scratch directories (--scratch_dirs=) on backend</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Could-not-create-files-in-any-configured-scratch-directories/m-p/86146#M11706</link>
      <description>&lt;P&gt;I'll&amp;nbsp;assume&amp;nbsp;that you have some directories configured and passed in via the --scratch_dirs argument (you can check the debug page on port 25000 or the impalad.INFO log to confirm the flag value).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then what likely happened is that there's some reason the&amp;nbsp;directories weren't usable. Any errors that prevent using the directories are logged&amp;nbsp;at startup.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 16:51:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Could-not-create-files-in-any-configured-scratch-directories/m-p/86146#M11706</guid>
      <dc:creator>Tim Armstrong</dc:creator>
      <dc:date>2019-02-08T16:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Could not create files in any configured scratch directories (--scratch_dirs=) on backend</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Could-not-create-files-in-any-configured-scratch-directories/m-p/86164#M11707</link>
      <description>&lt;P&gt;Tim,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the suggestion. I checked the startup logs for the impalad&amp;nbsp;that is&amp;nbsp;complaining and looks like there are some weird permission issues which we fixed and things are looking good. However there is one thing that is puzzling me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have impala user allocated to impala_prod LDAP group, however, there is also a local user impala allocated to local group impala on the node running impalad. When we removed scratch dirs and fired up impalad, looks like scratch dirs are created with the user from local and group from LDAP. Can this possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Ravi&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 21:29:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Could-not-create-files-in-any-configured-scratch-directories/m-p/86164#M11707</guid>
      <dc:creator>munna143</dc:creator>
      <dc:date>2019-02-08T21:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Could not create files in any configured scratch directories (--scratch_dirs=) on backend</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Could-not-create-files-in-any-configured-scratch-directories/m-p/86170#M11708</link>
      <description>&lt;P&gt;I unfortunately don't know too many of the details of LDAP. Impala doesn't do anything sophisticated to create the directories - it just mkdir() with S_IRWXU|S_IRWXG|S_IRWXO to create the impala-scratch subdirectory and any missing parent directories.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 23:59:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Could-not-create-files-in-any-configured-scratch-directories/m-p/86170#M11708</guid>
      <dc:creator>Tim Armstrong</dc:creator>
      <dc:date>2019-02-08T23:59:40Z</dc:date>
    </item>
  </channel>
</rss>

