<?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: BlockMissingException hive query over tez or mr in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/BlockMissingException-hive-query-over-tez-or-mr/m-p/172809#M45936</link>
    <description>&lt;P&gt;No, there isn't. That would have been nice, wouldn't it?&lt;/P&gt;</description>
    <pubDate>Sat, 12 Nov 2016 02:14:55 GMT</pubDate>
    <dc:creator>sheva2</dc:creator>
    <dc:date>2016-11-12T02:14:55Z</dc:date>
    <item>
      <title>BlockMissingException hive query over tez or mr</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/BlockMissingException-hive-query-over-tez-or-mr/m-p/172806#M45933</link>
      <description>&lt;P&gt;I am running an insert into table select from... query on Hive. Whether I set the execution engine to TEZ or MR I am getting BlockMissingException errors. They all look similar to this one:&lt;/P&gt;&lt;P&gt;Diagnostics: org.apache.hadoop.hdfs.BlockMissingException: Could not obtain block: BP-300459168-127.0.1.1-1478287363661:blk_1073741827_1003 file=/hdp/apps/2.5.0.0-1245/tez/tez.tar.gz&lt;/P&gt;&lt;P&gt;When I go into HDFS the files are there. They exist. So I thought maybe it is a permissions issue. But all my related proxyusers are set to hosts=* and groups=* just to try to rule this all out.&lt;/P&gt;&lt;P&gt;I have a 2.5 cluster hosted on Ubuntu 12.04.&lt;/P&gt;&lt;P&gt;Can anyone point me in a direction of what I might be missing here?&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2016 21:47:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/BlockMissingException-hive-query-over-tez-or-mr/m-p/172806#M45933</guid>
      <dc:creator>sheva2</dc:creator>
      <dc:date>2016-11-11T21:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: BlockMissingException hive query over tez or mr</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/BlockMissingException-hive-query-over-tez-or-mr/m-p/172807#M45934</link>
      <description>&lt;P&gt;I had permissions issues I had created here because the original issue is back. It is this one:&lt;/P&gt;&lt;P&gt;org.apache.hadoop.hdfs.BlockMissingException: Could not obtain block: BP-300459168-127.0.1.1-1478287363661:blk_1073741947_1125 file=/tmp/hive/hiveuser/_tez_session_dir/34896acf-3209-4aa0-a244-5a28b5b15b92/hive-hcatalog-core.jar&lt;/P&gt;&lt;P&gt;So that is my real question, I guess!&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2016 22:49:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/BlockMissingException-hive-query-over-tez-or-mr/m-p/172807#M45934</guid>
      <dc:creator>sheva2</dc:creator>
      <dc:date>2016-11-11T22:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: BlockMissingException hive query over tez or mr</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/BlockMissingException-hive-query-over-tez-or-mr/m-p/172808#M45935</link>
      <description>&lt;P&gt;Is there any HDFS Balancer process is running?...&lt;/P&gt;</description>
      <pubDate>Sat, 12 Nov 2016 02:00:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/BlockMissingException-hive-query-over-tez-or-mr/m-p/172808#M45935</guid>
      <dc:creator>Arun-</dc:creator>
      <dc:date>2016-11-12T02:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: BlockMissingException hive query over tez or mr</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/BlockMissingException-hive-query-over-tez-or-mr/m-p/172809#M45936</link>
      <description>&lt;P&gt;No, there isn't. That would have been nice, wouldn't it?&lt;/P&gt;</description>
      <pubDate>Sat, 12 Nov 2016 02:14:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/BlockMissingException-hive-query-over-tez-or-mr/m-p/172809#M45936</guid>
      <dc:creator>sheva2</dc:creator>
      <dc:date>2016-11-12T02:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: BlockMissingException hive query over tez or mr</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/BlockMissingException-hive-query-over-tez-or-mr/m-p/172810#M45937</link>
      <description>&lt;P&gt;I finally figured this out and thought it would be friendly of me to post the solution. One of those that when you finally get it you think, "Ugh, that was so obvious". One important note, if you are having trouble with Hive make sure to check the Yarn logs too! &lt;/P&gt;&lt;P&gt;My solution to this and so many other issues was ensuring all my nodes had all the other nodes ip addresses in their host files. This ensures Ambari picks up all the correct IPs by hostname. &lt;/P&gt;&lt;P&gt;I am on Ubuntu so I did the following: &lt;/P&gt;&lt;PRE&gt;$ vim /etc/hosts &lt;/PRE&gt;&lt;P&gt;And then the file came out looking like this: &lt;/P&gt;&lt;PRE&gt;127.0.0.1       localhost
#127.0.1.1      ambarihost.com ambarihost
# Assigning static IP here so ambari gets it right
192.168.0.20    ambarihost.com ambarihost 

#Other hadoop nodes
192.168.0.21    kafkahost.com kafkahost
192.168.0.22    hdfshost.com hdfshost&lt;/PRE&gt;</description>
      <pubDate>Mon, 14 Nov 2016 22:49:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/BlockMissingException-hive-query-over-tez-or-mr/m-p/172810#M45937</guid>
      <dc:creator>sheva2</dc:creator>
      <dc:date>2016-11-14T22:49:23Z</dc:date>
    </item>
  </channel>
</rss>

