[ 
https://issues.apache.org/jira/browse/IGNITE-7675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitriy Pavlov updated IGNITE-7675:
-----------------------------------
    Description: 
Following tests failed:
{noformat}
HadoopIgfs20FileSystemLoopbackPrimarySelfTest.testRenameIfSrcPathIsAlreadyBeingOpenedToRead
     
 
IgniteHadoopFileSystemClientBasedDualAsyncSelfTest.testRenameIfSrcPathIsAlreadyBeingOpenedToRead
       
 
IgniteHadoopFileSystemClientBasedDualSyncSelfTest.testRenameIfSrcPathIsAlreadyBeingOpenedToRead
        
 
IgniteHadoopFileSystemClientBasedPrimarySelfTest.testRenameIfSrcPathIsAlreadyBeingOpenedToRead
         
 
IgniteHadoopFileSystemClientBasedProxySelfTest.testRenameIfSrcPathIsAlreadyBeingOpenedToRead
   
 
IgniteHadoopFileSystemLoopbackEmbeddedDualAsyncSelfTest.testRenameIfSrcPathIsAlreadyBeingOpenedToRead
  
 
IgniteHadoopFileSystemLoopbackEmbeddedDualSyncSelfTest.testRenameIfSrcPathIsAlreadyBeingOpenedToRead
   
 
IgniteHadoopFileSystemLoopbackEmbeddedPrimarySelfTest.testRenameIfSrcPathIsAlreadyBeingOpenedToRead
    
 
IgniteHadoopFileSystemLoopbackEmbeddedSecondarySelfTest.testRenameIfSrcPathIsAlreadyBeingOpenedToRead
 
{noformat}

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


{noformat}
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)
{noformat}

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


{noformat}
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)
{noformat}


> Ignite Hadoop: test failures: "Stream has been closed: IgfsOutputStreamImpl"
> ----------------------------------------------------------------------------
>
>                 Key: IGNITE-7675
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7675
>             Project: Ignite
>          Issue Type: Bug
>          Components: hadoop
>            Reporter: Dmitriy Pavlov
>            Priority: Major
>              Labels: MakeTeamcityGreenAgain
>
> Following tests failed:
> {noformat}
> HadoopIgfs20FileSystemLoopbackPrimarySelfTest.testRenameIfSrcPathIsAlreadyBeingOpenedToRead
>    
>  
> IgniteHadoopFileSystemClientBasedDualAsyncSelfTest.testRenameIfSrcPathIsAlreadyBeingOpenedToRead
>      
>  
> IgniteHadoopFileSystemClientBasedDualSyncSelfTest.testRenameIfSrcPathIsAlreadyBeingOpenedToRead
>       
>  
> IgniteHadoopFileSystemClientBasedPrimarySelfTest.testRenameIfSrcPathIsAlreadyBeingOpenedToRead
>        
>  
> IgniteHadoopFileSystemClientBasedProxySelfTest.testRenameIfSrcPathIsAlreadyBeingOpenedToRead
>          
>  
> IgniteHadoopFileSystemLoopbackEmbeddedDualAsyncSelfTest.testRenameIfSrcPathIsAlreadyBeingOpenedToRead
>         
>  
> IgniteHadoopFileSystemLoopbackEmbeddedDualSyncSelfTest.testRenameIfSrcPathIsAlreadyBeingOpenedToRead
>          
>  
> IgniteHadoopFileSystemLoopbackEmbeddedPrimarySelfTest.testRenameIfSrcPathIsAlreadyBeingOpenedToRead
>   
>  
> IgniteHadoopFileSystemLoopbackEmbeddedSecondarySelfTest.testRenameIfSrcPathIsAlreadyBeingOpenedToRead
>  
> {noformat}
> https://ci.ignite.apache.org/viewLog.html?buildId=1089582&tab=buildResultsDiv&buildTypeId=IgniteTests24Java8_IgniteHadoop
> {noformat}
> 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)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to