Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-7675

Ignite Hadoop: test failures: "Stream has been closed: IgfsOutputStreamImpl"

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: hadoop

      Description

      Following tests failed:

      HadoopIgfs20FileSystemLoopbackPrimarySelfTest.testRenameIfSrcPathIsAlreadyBeingOpenedToRead 	
       IgniteHadoopFileSystemClientBasedDualAsyncSelfTest.testRenameIfSrcPathIsAlreadyBeingOpenedToRead 	
       IgniteHadoopFileSystemClientBasedDualSyncSelfTest.testRenameIfSrcPathIsAlreadyBeingOpenedToRead 	
       IgniteHadoopFileSystemClientBasedPrimarySelfTest.testRenameIfSrcPathIsAlreadyBeingOpenedToRead 	
       IgniteHadoopFileSystemClientBasedProxySelfTest.testRenameIfSrcPathIsAlreadyBeingOpenedToRead 	
       IgniteHadoopFileSystemLoopbackEmbeddedDualAsyncSelfTest.testRenameIfSrcPathIsAlreadyBeingOpenedToRead 	
       IgniteHadoopFileSystemLoopbackEmbeddedDualSyncSelfTest.testRenameIfSrcPathIsAlreadyBeingOpenedToRead 	
       IgniteHadoopFileSystemLoopbackEmbeddedPrimarySelfTest.testRenameIfSrcPathIsAlreadyBeingOpenedToRead 	
       IgniteHadoopFileSystemLoopbackEmbeddedSecondarySelfTest.testRenameIfSrcPathIsAlreadyBeingOpenedToRead 
      &
       HadoopIgfs20FileSystemShmemPrimarySelfTest.testRenameIfSrcPathIsAlreadyBeingOpenedToRead 
      

      https://ci.ignite.apache.org/viewLog.html?buildId=1089582&tab=buildResultsDiv&buildTypeId=IgniteTests24Java8_IgniteHadoop

      java.io.IOException: Stream has been closed: IgfsOutputStreamImpl [mode=PRIMARY, writeFut=GridFutureAdapter [ignoreInterrupts=false, state=DONE, res=true, hash=1714500898], fileInfo=IgfsFileInfo [len=0, blockSize=524288, lockId=bf6d22a8161-768e5785-d20e-4bd0-8070-42e43d500003, affKey=null, fileMap=IgfsFileMap [ranges=null], evictExclude=true], streamRange=null]
      ------- Stdout: -------
      [2018-02-12 13:08:13,048][INFO ][main][root] >>> Starting test: HadoopIgfs20FileSystemLoopbackPrimarySelfTest#testRenameIfSrcPathIsAlreadyBeingOpenedToRead <<<
      [2018-02-12 13:08:13,133][INFO ][test-runner-#2732%grid%][root] Caught expected exception: File not found: igfs://igfs@/srcFile
      [2018-02-12 13:08:13,139][INFO ][main][root] >>> Stopping test: HadoopIgfs20FileSystemLoopbackPrimarySelfTest#testRenameIfSrcPathIsAlreadyBeingOpenedToRead in 70 ms <<<
      ------- Stderr: -------
      [2018-02-12 13:08:13,137][ERROR][main][root] Test failed.
      java.io.IOException: Stream has been closed: IgfsOutputStreamImpl [mode=PRIMARY, writeFut=GridFutureAdapter [ignoreInterrupts=false, state=DONE, res=true, hash=1714500898], fileInfo=IgfsFileInfo [len=0, blockSize=524288, lockId=bf6d22a8161-768e5785-d20e-4bd0-8070-42e43d500003, affKey=null, fileMap=IgfsFileMap [ranges=null], evictExclude=true], streamRange=null]
          at org.apache.ignite.internal.processors.igfs.IgfsAbstractOutputStream.checkClosed(IgfsAbstractOutputStream.java:190)
          at org.apache.ignite.internal.processors.igfs.IgfsOutputStreamImpl.flush(IgfsOutputStreamImpl.java:140)
          at org.apache.ignite.internal.processors.hadoop.impl.igfs.HadoopIgfsInProc.flush(HadoopIgfsInProc.java:614)
          at org.apache.ignite.internal.processors.hadoop.impl.igfs.HadoopIgfsOutputStream.flush(HadoopIgfsOutputStream.java:131)
          at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:141)
          at java.io.FilterOutputStream.close(FilterOutputStream.java:158)
          at org.apache.hadoop.fs.FSDataOutputStream$PositionCache.close(FSDataOutputStream.java:70)
          at org.apache.hadoop.fs.FSDataOutputStream.close(FSDataOutputStream.java:103)
          at org.apache.ignite.internal.processors.hadoop.impl.igfs.HadoopIgfs20FileSystemAbstractSelfTest.testRenameIfSrcPathIsAlreadyBeingOpenedToRead(HadoopIgfs20FileSystemAbstractSelfTest.java:1137)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:498)
          at junit.framework.TestCase.runTest(TestCase.java:176)
          at org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:2001)
          at org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:133)
          at org.apache.ignite.testframework.junits.GridAbstractTest$5.run(GridAbstractTest.java:1916)
          at java.lang.Thread.run(Thread.java:745)
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dpavlov Dmitry Pavlov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: