<?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 Flume BytesWritable issue with hive in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Flume-BytesWritable-issue-with-hive/m-p/39686#M25028</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am ingesting data using flume to HDFS as a Sequence File (Bzip2Codec). I get the following at the top of the file after ingestion into hdfs:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SEQ&amp;#6;!org.apache.hadoop.io.LongWritable"org.apache.hadoop.io.BytesWritable&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I query using hive, I get java.io.BytesWritable cannot be converted to java.io.Text.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't want to change my type to text in flume agent configuration file. Could you please provide me serde for the same in hive.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 10:13:39 GMT</pubDate>
    <dc:creator>ClouderaAik</dc:creator>
    <dc:date>2022-09-16T10:13:39Z</dc:date>
    <item>
      <title>Flume BytesWritable issue with hive</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Flume-BytesWritable-issue-with-hive/m-p/39686#M25028</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am ingesting data using flume to HDFS as a Sequence File (Bzip2Codec). I get the following at the top of the file after ingestion into hdfs:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SEQ&amp;#6;!org.apache.hadoop.io.LongWritable"org.apache.hadoop.io.BytesWritable&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I query using hive, I get java.io.BytesWritable cannot be converted to java.io.Text.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't want to change my type to text in flume agent configuration file. Could you please provide me serde for the same in hive.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:13:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Flume-BytesWritable-issue-with-hive/m-p/39686#M25028</guid>
      <dc:creator>ClouderaAik</dc:creator>
      <dc:date>2022-09-16T10:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Flume BytesWritable issue with hive</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Flume-BytesWritable-issue-with-hive/m-p/42564#M25029</link>
      <description>&lt;P&gt;I created my own serde to resolve the same &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Jul 2016 05:17:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Flume-BytesWritable-issue-with-hive/m-p/42564#M25029</guid>
      <dc:creator>ClouderaAik</dc:creator>
      <dc:date>2016-07-03T05:17:52Z</dc:date>
    </item>
  </channel>
</rss>

