zoukankan      html  css  js  c++  java
  • Flume内存溢出错误

    java.lang.OutOfMemoryError: Java heap space
            at java.util.Arrays.copyOf(Arrays.java:2367)
            at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:130)
            at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:114)
            at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:587)
            at java.lang.StringBuilder.append(StringBuilder.java:214)
            at org.apache.flume.serialization.LineDeserializer.readLine(LineDeserializer.java:142)
            at org.apache.flume.serialization.LineDeserializer.readEvent(LineDeserializer.java:72)
            at org.apache.flume.serialization.LineDeserializer.readEvents(LineDeserializer.java:91)
            at org.apache.flume.client.avro.ReliableSpoolingFileEventReader.readEvents(ReliableSpoolingFileEventReader.java:238)
            at org.apache.flume.source.SpoolDirectorySource$SpoolDirectoryRunnable.run(SpoolDirectorySource.java:227)
            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
            at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
            at java.lang.Thread.run(Thread.java:745)
    
    Exception in thread "SinkRunner-PollingRunner-DefaultSinkProcessor" java.lang.OutOfMemoryError: Java heap space
            at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:243)
            at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:347)
            at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:177)
            at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1168)
            at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1119)
            at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1063)
            at org.apache.hadoop.conf.Configuration.set(Configuration.java:439)
            at org.apache.hadoop.conf.Configuration.setBoolean(Configuration.java:619)
            at org.apache.flume.sink.hdfs.BucketWriter.open(BucketWriter.java:236)
            at org.apache.flume.sink.hdfs.BucketWriter.append(BucketWriter.java:580)
            at org.apache.flume.sink.hdfs.HDFSEventSink.process(HDFSEventSink.java:426)
            at org.apache.flume.sink.DefaultSinkProcessor.process(DefaultSinkProcessor.java:68)
            at org.apache.flume.SinkRunner$PollingRunner.run(SinkRunner.java:147)
            at java.lang.Thread.run(Thread.java:745)
  • 相关阅读:
    求100内的数和
    汉诺塔(印度传说)
    ORA-06502:PL/SQL:数字或值错误:数值精度太高
    触发器的编写
    mysql改密码
    LeetCode-238 Product of Array Except Self
    LeetCode-236 Lowest Common Ancestor of a Binary Tree
    LeetCode-233 Number of Digit One
    LeetCode-230 Kth Smallest Element in a BST
    LeetCode-229 Majority Element II
  • 原文地址:https://www.cnblogs.com/linux-wangkun/p/5435579.html
Copyright © 2011-2022 走看看