Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-1034

BucketWriter attempts rename during shutdown.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 1.1.0
    • None
    • None
    • None

    Description

      Results in

      Exception in thread "node-shutdownHook" java.lang.IllegalStateException: Shutdown in progress
      	at java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:39)
      	at java.lang.Runtime.addShutdownHook(Runtime.java:192)
      	at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:1558)
      	at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1530)
      	at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:228)
      	at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:111)
      	at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:212)
      	at org.apache.hadoop.fs.Path.getFileSystem(Path.java:183)
      	at org.apache.flume.sink.hdfs.BucketWriter.renameBucket(BucketWriter.java:200)
      	at org.apache.flume.sink.hdfs.BucketWriter.close(BucketWriter.java:112)
      	at org.apache.flume.sink.hdfs.HDFSEventSink.stop(HDFSEventSink.java:390)
      	at org.apache.flume.sink.DefaultSinkProcessor.stop(DefaultSinkProcessor.java:50)
      	at org.apache.flume.SinkRunner.stop(SinkRunner.java:98)
      	at org.apache.flume.lifecycle.LifecycleSupervisor.stop(LifecycleSupervisor.java:101)
      	at org.apache.flume.node.nodemanager.DefaultLogicalNodeManager.stop(DefaultLogicalNodeManager.java:124)
      	at org.apache.flume.lifecycle.LifecycleSupervisor.stop(LifecycleSupervisor.java:101)
      	at org.apache.flume.node.FlumeNode.stop(FlumeNode.java:69)
      	at org.apache.flume.node.Application$1.run(Application.java:160)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              brocknoland Brock Noland
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: