Giter Club home page Giter Club logo

Comments (12)

 avatar commented on May 25, 2024

I met the same error , I have to restart all hdfs and fluentd then after a day the error come back. In my system the datanode and namenode run in one server. Is it the problem for above error ?

from fluent-plugin-webhdfs.

tagomoris avatar tagomoris commented on May 25, 2024

Original post seems to write the same log file from several servers.
About 2nd comment, one datanode cannot satisfy replication factor. So it's configuration problem of hadoop clusters.

from fluent-plugin-webhdfs.

binarymechanic avatar binarymechanic commented on May 25, 2024

I've gotten the error to, after increasing the namenode dfs.namenode.handler.count attribute. Did you ever resolve this?

from fluent-plugin-webhdfs.

asdf2014 avatar asdf2014 commented on May 25, 2024

@tagomoris How to fix the problem about configuration? Please show the method.

from fluent-plugin-webhdfs.

asdf2014 avatar asdf2014 commented on May 25, 2024

Fixed, after i change the value of "dfs.replication", thx 👍

from fluent-plugin-webhdfs.

tagomoris avatar tagomoris commented on May 25, 2024

👍

from fluent-plugin-webhdfs.

imperio-wxm avatar imperio-wxm commented on May 25, 2024

@asdf2014 @loveshell @tagomoris

I got same error.How do you fixed it?
My cluster default vlaue "dfs.replication=3" in hdfs-site.xml.
If I set "dfs.replication=1",I am afraid there will be the risk of losing data.

from fluent-plugin-webhdfs.

VennilaJ avatar VennilaJ commented on May 25, 2024

I am facing the same issue. Can anyone please help me.

2018-02-20 07:58:22,428 WARN [Thread-12515] hdfs.DFSClient: DataStreamer Exception
java.lang.NullPointerException
at sun.nio.ch.EPollArrayWrapper.isEventsHighKilled(EPollArrayWrapper.java:174)
at sun.nio.ch.EPollArrayWrapper.setUpdateEvents(EPollArrayWrapper.java:190)
at sun.nio.ch.EPollArrayWrapper.add(EPollArrayWrapper.java:239)
at sun.nio.ch.EPollSelectorImpl.implRegister(EPollSelectorImpl.java:178)
at sun.nio.ch.SelectorImpl.register(SelectorImpl.java:132)
at java.nio.channels.spi.AbstractSelectableChannel.register(AbstractSelectableChannel.java:212)
at java.nio.channels.SelectableChannel.register(SelectableChannel.java:280)
at org.apache.hadoop.net.SocketIOWithTimeout$SelectorPool.select(SocketIOWithTimeout.java:334)
at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:203)
at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:529)
at org.apache.hadoop.hdfs.DFSOutputStream.createSocketForPipeline(DFSOutputStream.java:1526)
at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.createBlockOutputStream(DFSOutputStream.java:1328)
at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.nextBlockOutputStream(DFSOutputStream.java:1281)
at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.run(DFSOutputStream.java:526)

2018-02-20 07:59:24,521 WARN [rs()-flush-proc-pool1578-thread-1]
regionserver.HStore: Failed flushing store file, retrying num=0
java.io.IOException: Unable to close file because the last block does not have enough number of replicas.
at org.apache.hadoop.hdfs.DFSOutputStream.completeFile(DFSOutputStream.java:2151)
at org.apache.hadoop.hdfs.DFSOutputStream.close(DFSOutputStream.java:2119)
at org.apache.hadoop.fs.FSDataOutputStream$PositionCache.close(FSDataOutputStream.java:72)
at org.apache.hadoop.fs.FSDataOutputStream.close(FSDataOutputStream.java:106)
at org.apache.hadoop.hbase.io.hfile.AbstractHFileWriter.finishClose(AbstractHFileWriter.java:248)
at org.apache.hadoop.hbase.io.hfile.HFileWriterV3.finishClose(HFileWriterV3.java:133)
at org.apache.hadoop.hbase.io.hfile.HFileWriterV2.close(HFileWriterV2.java:380)
at org.apache.hadoop.hbase.regionserver.StoreFile$Writer.close(StoreFile.java:1113)
at org.apache.hadoop.hbase.regionserver.StoreFlusher.finalizeWriter(StoreFlusher.java:72)
at org.apache.hadoop.hbase.regionserver.DefaultStoreFlusher.flushSnapshot(DefaultStoreFlusher.java:84)
at org.apache.hadoop.hbase.regionserver.HStore.flushCache(HStore.java:936)
at org.apache.hadoop.hbase.regionserver.HStore$StoreFlusherImpl.flushCache(HStore.java:2413)
at org.apache.hadoop.hbase.regionserver.HRegion.internalFlushCacheAndCommit(HRegion.java:2456)
at org.apache.hadoop.hbase.regionserver.HRegion.internalFlushcache(HRegion.java:2186)
at org.apache.hadoop.hbase.regionserver.HRegion.internalFlushcache(HRegion.java:2148)
at org.apache.hadoop.hbase.regionserver.HRegion.flushcache(HRegion.java:2039)
at org.apache.hadoop.hbase.regionserver.HRegion.flush(HRegion.java:1965)
at org.apache.hadoop.hbase.procedure.flush.FlushTableSubprocedure$RegionFlushTask.call(FlushTableSubprocedure.java:68)
at org.apache.hadoop.hbase.procedure.flush.FlushTableSubprocedure$RegionFlushTask.call(FlushTableSubprocedure.java:56)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

from fluent-plugin-webhdfs.

datianshi21 avatar datianshi21 commented on May 25, 2024

Same issue, can someone help me?

from fluent-plugin-webhdfs.

jason7629 avatar jason7629 commented on May 25, 2024

Same issue

from fluent-plugin-webhdfs.

Narius2030 avatar Narius2030 commented on May 25, 2024

Same error too, anyone has some solutions for it ? please help me

from fluent-plugin-webhdfs.

jason7629 avatar jason7629 commented on May 25, 2024

from fluent-plugin-webhdfs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.