<?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 Error while creating a DataStream using fromElements function in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-creating-a-DataStream-using-fromElements/m-p/100163#M13115</link>
    <description>&lt;P&gt;Below is the expeption -&lt;/P&gt;&lt;P&gt;Caused by: java.io.IOException: Failed to deserialize an element from the source. If you are using user-defined serialization (Value and Writable types), check the serialization functions. Serializer is org.apache.flink.api.java.typeutils.runtime.kryo.KryoSerializer@599fcdda at org.apache.flink.streaming.api.functions.source.FromElementsFunction.run(FromElementsFunction.java:121) at org.apache.flink.streaming.api.operators.StreamSource.run(StreamSource.java:58) at org.apache.flink.streaming.runtime.tasks.SourceStreamTask.run(SourceStreamTask.java:55) at org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:218) at org.apache.flink.runtime.taskmanager.Task.run(Task.java:584) at java.lang.Thread.run(Thread.java:745)&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 09:54:06 GMT</pubDate>
    <dc:creator>hemant_dindi</dc:creator>
    <dc:date>2022-09-16T09:54:06Z</dc:date>
    <item>
      <title>Error while creating a DataStream using fromElements function</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-creating-a-DataStream-using-fromElements/m-p/100163#M13115</link>
      <description>&lt;P&gt;Below is the expeption -&lt;/P&gt;&lt;P&gt;Caused by: java.io.IOException: Failed to deserialize an element from the source. If you are using user-defined serialization (Value and Writable types), check the serialization functions. Serializer is org.apache.flink.api.java.typeutils.runtime.kryo.KryoSerializer@599fcdda at org.apache.flink.streaming.api.functions.source.FromElementsFunction.run(FromElementsFunction.java:121) at org.apache.flink.streaming.api.operators.StreamSource.run(StreamSource.java:58) at org.apache.flink.streaming.runtime.tasks.SourceStreamTask.run(SourceStreamTask.java:55) at org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:218) at org.apache.flink.runtime.taskmanager.Task.run(Task.java:584) at java.lang.Thread.run(Thread.java:745)&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:54:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-creating-a-DataStream-using-fromElements/m-p/100163#M13115</guid>
      <dc:creator>hemant_dindi</dc:creator>
      <dc:date>2022-09-16T09:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating a DataStream using fromElements function</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-creating-a-DataStream-using-fromElements/m-p/100164#M13116</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/132/abajwa.html" nodeid="132"&gt;@Ali Bajwa&lt;/A&gt; have you seen sth. like this before?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2015 14:04:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-creating-a-DataStream-using-fromElements/m-p/100164#M13116</guid>
      <dc:creator>jstraub</dc:creator>
      <dc:date>2015-12-21T14:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating a DataStream using fromElements function</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-creating-a-DataStream-using-fromElements/m-p/100165#M13117</link>
      <description>&lt;P&gt;+ &lt;A rel="user" href="https://community.cloudera.com/users/802/rmetzger.html" nodeid="802"&gt;@Robert Metzger&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/812/sewen.html" nodeid="812"&gt;@Stephan Ewen&lt;/A&gt; as they are the experts on Flink streaming&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1134/hemantdindi.html" nodeid="1134"&gt;@Hemant Kumar&lt;/A&gt; this also may provide some hints: &lt;A href="http://stackoverflow.com/questions/34379170/error-while-creating-a-datastream-in-apache-flink"&gt;http://stackoverflow.com/questions/34379170/error-...&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2015 14:16:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-creating-a-DataStream-using-fromElements/m-p/100165#M13117</guid>
      <dc:creator>abajwa</dc:creator>
      <dc:date>2015-12-21T14:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating a DataStream using fromElements function</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-creating-a-DataStream-using-fromElements/m-p/100166#M13118</link>
      <description>&lt;P&gt;Thanks &lt;A href="https://community.hortonworks.com/questions/7375/error-while-creating-a-datastream-using-fromelemen.html#"&gt;@Ali Bajwa&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/132/abajwa.html" nodeid="132"&gt;&lt;/A&gt;&lt;A rel="user" href="https://community.cloudera.com/users/802/rmetzger.html" nodeid="802"&gt;@Robert Metzger&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/812/sewen.html" nodeid="812"&gt;@Stephan Ewen&lt;/A&gt; I was trying to read a Web log which is accessible through a HTTP URL. I used a InputStreamReader to read the content from the HttpConnection.  As InputStreamReader is not serializable, I got the above exception. &lt;/P&gt;&lt;P&gt;Should we prepare a custom SourceFunction to handle HTTP Streams or does Flink provide any methods/objects in order to enable users to read HTTP streams?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2015 16:11:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-creating-a-DataStream-using-fromElements/m-p/100166#M13118</guid>
      <dc:creator>hemant_dindi</dc:creator>
      <dc:date>2015-12-21T16:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating a DataStream using fromElements function</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-creating-a-DataStream-using-fromElements/m-p/100167#M13119</link>
      <description>&lt;P&gt;Right now, there are not methods for reading HTTP streams. But implementing a custom "SourceFunction" (as you suggested) is the recommended appropach. Please let me know if you have further questions.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2015 23:30:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-creating-a-DataStream-using-fromElements/m-p/100167#M13119</guid>
      <dc:creator>rmetzger1</dc:creator>
      <dc:date>2015-12-21T23:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating a DataStream using fromElements function</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-creating-a-DataStream-using-fromElements/m-p/100168#M13120</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1134/hemantdindi.html" nodeid="1134"&gt;@Hemant Kumar&lt;/A&gt; has this been resolved? Can you post your solution or accept best answer?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 22:58:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-creating-a-DataStream-using-fromElements/m-p/100168#M13120</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-02T22:58:01Z</dc:date>
    </item>
  </channel>
</rss>

