<?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: Hive query failing with: java.io.IOException: Previous writer likely failed to write  ... Failing because I am unlikely to write too. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-query-failing-with-java-io-IOException-Previous-writer/m-p/134239#M39593</link>
    <description>&lt;P&gt;We finally traced the problem down to a configuration error. Our hive-site.xml file contained a hive.aux.jars.path property that was set to a path that didn't exist. Once we removed this property and restarted hive and oozie, oozie was again able to start our hive jobs.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Sep 2016 23:16:55 GMT</pubDate>
    <dc:creator>david_dobbins</dc:creator>
    <dc:date>2016-09-06T23:16:55Z</dc:date>
    <item>
      <title>Hive query failing with: java.io.IOException: Previous writer likely failed to write  ... Failing because I am unlikely to write too.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-query-failing-with-java-io-IOException-Previous-writer/m-p/134238#M39592</link>
      <description>&lt;P&gt;We recently upgraded our cluster from HDP2.3 to 2.4 and have started seeing this error:&lt;/P&gt;&lt;P&gt;java.io.IOException: Previous writer likely failed to write hdfs://nameservice1/tmp/hive/cloudfeeds/_tez_session_dir/419d4163-bc94-45ea-99c4-c82148f8589b/auxlib. Failing because I am unlikely to write too.&lt;/P&gt;&lt;P&gt;We already have the HIVE_AUX_JARS_PATH set in hive-env.sh as suggested in other posts (see below). &lt;/P&gt;&lt;P&gt;Any other ideas what might be causing this error?&lt;/P&gt;&lt;PRE&gt;if [ "${HIVE_AUX_JARS_PATH}" != "" ]; then
  if [ -f "${HIVE_AUX_JARS_PATH}" ]; then
    export HIVE_AUX_JARS_PATH=${HIVE_AUX_JARS_PATH}
  elif [ -d "/usr/hdp/current/hive-webhcat/share/hcatalog" ]; then
    export HIVE_AUX_JARS_PATH=/usr/hdp/current/hive-webhcat/share/hcatalog/hive-hcatalog-core.jar
  fi
elif [ -d "/usr/hdp/current/hive-webhcat/share/hcatalog" ]; then
  export HIVE_AUX_JARS_PATH=/usr/hdp/current/hive-webhcat/share/hcatalog/hive-hcatalog-core.jar
fi&lt;/PRE&gt;</description>
      <pubDate>Sat, 03 Sep 2016 00:37:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-query-failing-with-java-io-IOException-Previous-writer/m-p/134238#M39592</guid>
      <dc:creator>david_dobbins</dc:creator>
      <dc:date>2016-09-03T00:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: Hive query failing with: java.io.IOException: Previous writer likely failed to write  ... Failing because I am unlikely to write too.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-query-failing-with-java-io-IOException-Previous-writer/m-p/134239#M39593</link>
      <description>&lt;P&gt;We finally traced the problem down to a configuration error. Our hive-site.xml file contained a hive.aux.jars.path property that was set to a path that didn't exist. Once we removed this property and restarted hive and oozie, oozie was again able to start our hive jobs.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2016 23:16:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-query-failing-with-java-io-IOException-Previous-writer/m-p/134239#M39593</guid>
      <dc:creator>david_dobbins</dc:creator>
      <dc:date>2016-09-06T23:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Hive query failing with: java.io.IOException: Previous writer likely failed to write  ... Failing because I am unlikely to write too.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-query-failing-with-java-io-IOException-Previous-writer/m-p/134240#M39594</link>
      <description>&lt;P&gt;I had the same problem. Check that hive-env.sh exist and has the fix &lt;A href="https://issues.apache.org/jira/browse/HIVE-16398"&gt;https://issues.apache.org/jira/browse/HIVE-16398&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2017 13:58:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-query-failing-with-java-io-IOException-Previous-writer/m-p/134240#M39594</guid>
      <dc:creator>jomach</dc:creator>
      <dc:date>2017-04-20T13:58:55Z</dc:date>
    </item>
  </channel>
</rss>

