<?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: Getting &amp;quot;Twitter4J Async Dispatcher[0]&amp;quot; java.lang.OutOfMemoryError: Java heap space  while streaming data from Twitter in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-quot-Twitter4J-Async-Dispatcher-0-quot-java-lang/m-p/141799#M27968</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/9304/tspann.html" nodeid="9304"&gt;@Timothy Spann&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Flume version : 1.6.0  installed in HDP 2.4 using Ambari 2.2.1&lt;/P&gt;&lt;P&gt;Twitter messages are looking normal JSON.&lt;/P&gt;&lt;P&gt;I changed JAVA_OPTS value also but no luck.&lt;/P&gt;&lt;P&gt;mapreduce.map.java.opts is -Xmx1228m if i increase it is coming back to default automatically.&lt;/P&gt;&lt;P&gt;Please suggest. Thanks in advance.!&lt;/P&gt;</description>
    <pubDate>Thu, 12 May 2016 12:45:23 GMT</pubDate>
    <dc:creator>raghu7711</dc:creator>
    <dc:date>2016-05-12T12:45:23Z</dc:date>
    <item>
      <title>Getting "Twitter4J Async Dispatcher[0]" java.lang.OutOfMemoryError: Java heap space  while streaming data from Twitter</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-quot-Twitter4J-Async-Dispatcher-0-quot-java-lang/m-p/141797#M27966</link>
      <description>&lt;P&gt;Getting &lt;STRONG&gt;"Twitter4J Async Dispatcher[0]" java.lang.OutOfMemoryError: Java heap space &lt;/STRONG&gt;while streaming data from Twitter&lt;/P&gt;&lt;PRE&gt;ERROR channel.ChannelProcessor: Error while writing to required channel: FileChannel FileChannel { dataDirs: [/var/log/flume/data] }
java.lang.OutOfMemoryError: Java heap space
   at com.google.protobuf.ByteString.copyFrom(ByteString.java:192)
   at com.google.protobuf.ByteString.copyFrom(ByteString.java:204)
   at org.apache.flume.channel.file.Put.writeProtos(Put.java:89)
   at org.apache.flume.channel.file.TransactionEventRecord.toByteBuffer(TransactionEventRecord.java:174)
   at org.apache.flume.channel.file.Log.put(Log.java:642)
   at org.apache.flume.channel.file.FileChannel$FileBackedTransaction.doPut(FileChannel.java:468)
   at org.apache.flume.channel.BasicTransactionSemantics.put(BasicTransactionSemantics.java:93)
   at org.apache.flume.channel.BasicChannelSemantics.put(BasicChannelSemantics.java:80)
   at org.apache.flume.channel.ChannelProcessor.processEvent(ChannelProcessor.java:265)
   at org.apache.flume.source.twitter.TwitterSource.onStatus(TwitterSource.java:173)
   at twitter4j.StatusStreamImpl.onStatus(StatusStreamImpl.java:75)
   at twitter4j.StatusStreamBase$1.run(StatusStreamBase.java:114)
   at twitter4j.internal.async.ExecuteThread.run(DispatcherImpl.java:116)
Exception in thread "Twitter4J Async Dispatcher[0]" java.lang.OutOfMemoryError: Java heap space
   at com.google.protobuf.ByteString.copyFrom(ByteString.java:192)
   at com.google.protobuf.ByteString.copyFrom(ByteString.java:204)
   at org.apache.flume.channel.file.Put.writeProtos(Put.java:89)
   at org.apache.flume.channel.file.TransactionEventRecord.toByteBuffer(TransactionEventRecord.java:174)
   at org.apache.flume.channel.file.Log.put(Log.java:642)
   at org.apache.flume.channel.file.FileChannel$FileBackedTransaction.doPut(FileChannel.java:468)
   at org.apache.flume.channel.BasicTransactionSemantics.put(BasicTransactionSemantics.java:93)
   at org.apache.flume.channel.BasicChannelSemantics.put(BasicChannelSemantics.java:80)
   at org.apache.flume.channel.ChannelProcessor.processEvent(ChannelProcessor.java:265)
   at org.apache.flume.source.twitter.TwitterSource.onStatus(TwitterSource.java:173)
   at twitter4j.StatusStreamImpl.onStatus(StatusStreamImpl.java:75)
   at twitter4j.StatusStreamBase$1.run(StatusStreamBase.java:114)
   at twitter4j.internal.async.ExecuteThread.run(DispatcherImpl.java:116)&lt;/PRE&gt;</description>
      <pubDate>Wed, 11 May 2016 20:05:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-quot-Twitter4J-Async-Dispatcher-0-quot-java-lang/m-p/141797#M27966</guid>
      <dc:creator>raghu7711</dc:creator>
      <dc:date>2016-05-11T20:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: Getting "Twitter4J Async Dispatcher[0]" java.lang.OutOfMemoryError: Java heap space  while streaming data from Twitter</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-quot-Twitter4J-Async-Dispatcher-0-quot-java-lang/m-p/141798#M27967</link>
      <description>&lt;P&gt;can you show a Java dump?  What are you memory settings?  What is the JVM heap dump?  What are your Flume settings and versions?&lt;/P&gt;&lt;P&gt;Is there space on /var/log/flume/data&lt;/P&gt;&lt;P&gt;See here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/FLUME-2403" target="_blank"&gt;https://issues.apache.org/jira/browse/FLUME-2403&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Do the twitter messages before that look okay?  Normal JSON?&lt;/P&gt;&lt;P&gt;Have you tried this in NIFI?   My Twitter to NIFI worked without issue.&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2016 02:47:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-quot-Twitter4J-Async-Dispatcher-0-quot-java-lang/m-p/141798#M27967</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2016-05-12T02:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: Getting "Twitter4J Async Dispatcher[0]" java.lang.OutOfMemoryError: Java heap space  while streaming data from Twitter</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-quot-Twitter4J-Async-Dispatcher-0-quot-java-lang/m-p/141799#M27968</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/9304/tspann.html" nodeid="9304"&gt;@Timothy Spann&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Flume version : 1.6.0  installed in HDP 2.4 using Ambari 2.2.1&lt;/P&gt;&lt;P&gt;Twitter messages are looking normal JSON.&lt;/P&gt;&lt;P&gt;I changed JAVA_OPTS value also but no luck.&lt;/P&gt;&lt;P&gt;mapreduce.map.java.opts is -Xmx1228m if i increase it is coming back to default automatically.&lt;/P&gt;&lt;P&gt;Please suggest. Thanks in advance.!&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2016 12:45:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-quot-Twitter4J-Async-Dispatcher-0-quot-java-lang/m-p/141799#M27968</guid>
      <dc:creator>raghu7711</dc:creator>
      <dc:date>2016-05-12T12:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: Getting "Twitter4J Async Dispatcher[0]" java.lang.OutOfMemoryError: Java heap space  while streaming data from Twitter</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-quot-Twitter4J-Async-Dispatcher-0-quot-java-lang/m-p/141800#M27969</link>
      <description>&lt;P&gt;The issue is with the role size  and it has been resolved afterchanging the rollsize in the twitter conf file as below.&lt;/P&gt;&lt;P&gt;TwitterAgent.sinks.HDFS.hdfs.rollsize=67100884&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2016 19:26:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Getting-quot-Twitter4J-Async-Dispatcher-0-quot-java-lang/m-p/141800#M27969</guid>
      <dc:creator>raghu7711</dc:creator>
      <dc:date>2016-05-13T19:26:06Z</dc:date>
    </item>
  </channel>
</rss>

