<?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 CLI Snappy Error in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Hive-CLI-Snappy-Error/m-p/112564#M75395</link>
    <description>&lt;P&gt;You can check with&lt;/P&gt;&lt;P&gt;hadoop checknative -a&lt;/P&gt;&lt;P&gt;to see if Snappy native is installed. &lt;/P&gt;&lt;P&gt;Also check if you have  org.apache.hadoop.io.compress.SnappyCodec in io.compression.codecs in core-site.xml&lt;/P&gt;</description>
    <pubDate>Wed, 01 Jun 2016 08:14:44 GMT</pubDate>
    <dc:creator>ravi1</dc:creator>
    <dc:date>2016-06-01T08:14:44Z</dc:date>
    <item>
      <title>Hive CLI Snappy Error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-CLI-Snappy-Error/m-p/112563#M75394</link>
      <description>&lt;P&gt;While running select count(*) from lte where date_id = '20160524'; experiencing below error where as select without where clause works fine.&lt;/P&gt;&lt;P&gt;Caused by: java.io.IOException: Unable to get CompressorType for codec (org.apache.hadoop.io.compress.SnappyCodec). This is most likely due to missing native libraries for the codec.
at org.apache.tez.runtime.library.common.sort.impl.ExternalSorter.&amp;lt;init&amp;gt;(ExternalSorter.java:217)
at org.apache.tez.runtime.library.common.sort.impl.PipelinedSorter.&amp;lt;init&amp;gt;(PipelinedSorter.java:121)
at org.apache.tez.runtime.library.common.sort.impl.PipelinedSorter.&amp;lt;init&amp;gt;(PipelinedSorter.java:116)
at org.apache.tez.runtime.library.output.OrderedPartitionedKVOutput.start(OrderedPartitionedKVOutput.java:142)
at org.apache.hadoop.hive.ql.exec.tez.MapRecordProcessor.init(MapRecordProcessor.java:142)
at org.apache.hadoop.hive.ql.exec.tez.TezProcessor.initializeAndRunProcessor(TezProcessor.java:149)
... 14 more
Caused by: java.lang.RuntimeException: native snappy library not available: this version of libhadoop was built without snappy support.
at org.apache.hadoop.io.compress.SnappyCodec.checkNativeCodeLoaded(SnappyCodec.java:65)
at org.apache.hadoop.io.compress.SnappyCodec.getCompressorType(SnappyCodec.java:134)
at org.apache.tez.runtime.library.common.sort.impl.ExternalSorter.&amp;lt;init&amp;gt;(ExternalSorter.java:208)
... 19 more
]], Vertex did not succeed due to OWN_TASK_FAILURE, failedTasks:1 killedTasks:9, Vertex vertex_1464716100177_0034_1_00 [Map 1] killed/failed due to:OWN_TASK_FAILURE]Vertex killed, vertexName=Reducer 2, vertexId=vertex_1464716100177_0034_1_01, diagnostics=[Vertex received Kill while in RUNNING state., Vertex did not succeed due to OTHER_VERTEX_FAILURE, failedTasks:0 killedTasks:1, Vertex vertex_1464716100177_0034_1_01 [Reducer 2] killed/failed due to:OTHER_VERTEX_FAILURE]DAG did not succeed due to VERTEX_FAILURE. failedVertices:1 killedVertices:1&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2016 07:40:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-CLI-Snappy-Error/m-p/112563#M75394</guid>
      <dc:creator>kjilla</dc:creator>
      <dc:date>2016-06-01T07:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Hive CLI Snappy Error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-CLI-Snappy-Error/m-p/112564#M75395</link>
      <description>&lt;P&gt;You can check with&lt;/P&gt;&lt;P&gt;hadoop checknative -a&lt;/P&gt;&lt;P&gt;to see if Snappy native is installed. &lt;/P&gt;&lt;P&gt;Also check if you have  org.apache.hadoop.io.compress.SnappyCodec in io.compression.codecs in core-site.xml&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2016 08:14:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-CLI-Snappy-Error/m-p/112564#M75395</guid>
      <dc:creator>ravi1</dc:creator>
      <dc:date>2016-06-01T08:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Hive CLI Snappy Error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-CLI-Snappy-Error/m-p/112565#M75396</link>
      <description>&lt;P&gt;i did check, they do exists &lt;/P&gt;&lt;P&gt;16/05/31 18:39:50 INFO bzip2.Bzip2Factory: Successfully loaded &amp;amp; initialized native-bzip2 library system-native
16/05/31 18:39:50 INFO zlib.ZlibFactory: Successfully loaded &amp;amp; initialized native-zlib library
Native library checking:
hadoop:  true /usr/hdp/2.3.4.7-4/hadoop/lib/native/libhadoop.so.1.0.0
zlib:    true /lib64/libz.so.1
snappy:  true /usr/hdp/2.3.4.7-4/hadoop/lib/native/libsnappy.so.1
lz4:     true revision:99
bzip2:   true /lib64/libbz2.so.1&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2016 08:49:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-CLI-Snappy-Error/m-p/112565#M75396</guid>
      <dc:creator>kjilla</dc:creator>
      <dc:date>2016-06-01T08:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Hive CLI Snappy Error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-CLI-Snappy-Error/m-p/112566#M75397</link>
      <description>&lt;P&gt;solved the issue by updating mapred.admin.user.env , since the cluster was upgraded from HDP 2.1 to HDP 2.3&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2016 03:06:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-CLI-Snappy-Error/m-p/112566#M75397</guid>
      <dc:creator>kjilla</dc:creator>
      <dc:date>2016-06-02T03:06:49Z</dc:date>
    </item>
  </channel>
</rss>

