Avro
  1. Avro
  2. AVRO-277

org.apache.avro.TestDataFile$InteropTest failing

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: java
    • Labels:
      None

      Description

      In trunk, probably post AVRO-160 (informed guess, not a firm opinion), org.apache.avro.TestDataFile$InteropTest seems to be failing.

        Activity

        Hide
        Scott Carey added a comment -

        This does not reproduce on Trunk. It has been fixed for a while.

        Show
        Scott Carey added a comment - This does not reproduce on Trunk. It has been fixed for a while.
        Hide
        Doug Cutting added a comment -

        I think this is just because Python has not been upgraded post AVRO-160. This should be fixed by AVRO-219, I think.

        Show
        Doug Cutting added a comment - I think this is just because Python has not been upgraded post AVRO-160 . This should be fixed by AVRO-219 , I think.
        Hide
        Philip Zeyliger added a comment -

        I can trigger this with "ant test-interop-data-java" and get the following detailed error:

        $cat build/test/TEST-*InteropTest*
        Testsuite: org.apache.avro.TestDataFile$InteropTest
        Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.505 sec
        ------------- Standard Output ---------------
        Reading test.java.avro
        Reading test.py.avro
        Reading test.java.avro
        Reading test.py.avro
        ------------- ---------------- ---------------
        
        Testcase: testGeneratedGeneric took 0.413 sec
        	Caused an ERROR
        Not a data file.
        java.io.IOException: Not a data file.
        	at org.apache.avro.file.DataFileStream.<init>(DataFileStream.java:70)
        	at org.apache.avro.file.DataFileReader.<init>(DataFileReader.java:44)
        	at org.apache.avro.TestDataFile.readFile(TestDataFile.java:154)
        	at org.apache.avro.TestDataFile$InteropTest.readFiles(TestDataFile.java:199)
        	at org.apache.avro.TestDataFile$InteropTest.testGeneratedGeneric(TestDataFile.java:178)
        
        Testcase: testGeneratedSpecific took 0.064 sec
        	Caused an ERROR
        Not a data file.
        java.io.IOException: Not a data file.
        	at org.apache.avro.file.DataFileStream.<init>(DataFileStream.java:70)
        	at org.apache.avro.file.DataFileReader.<init>(DataFileReader.java:44)
        	at org.apache.avro.TestDataFile.readFile(TestDataFile.java:154)
        	at org.apache.avro.TestDataFile$InteropTest.readFiles(TestDataFile.java:199)
        	at org.apache.avro.TestDataFile$InteropTest.testGeneratedSpecific(TestDataFile.java:183)
        
        Show
        Philip Zeyliger added a comment - I can trigger this with "ant test-interop-data-java" and get the following detailed error: $cat build/test/TEST-*InteropTest* Testsuite: org.apache.avro.TestDataFile$InteropTest Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.505 sec ------------- Standard Output --------------- Reading test.java.avro Reading test.py.avro Reading test.java.avro Reading test.py.avro ------------- ---------------- --------------- Testcase: testGeneratedGeneric took 0.413 sec Caused an ERROR Not a data file. java.io.IOException: Not a data file. at org.apache.avro.file.DataFileStream.<init>(DataFileStream.java:70) at org.apache.avro.file.DataFileReader.<init>(DataFileReader.java:44) at org.apache.avro.TestDataFile.readFile(TestDataFile.java:154) at org.apache.avro.TestDataFile$InteropTest.readFiles(TestDataFile.java:199) at org.apache.avro.TestDataFile$InteropTest.testGeneratedGeneric(TestDataFile.java:178) Testcase: testGeneratedSpecific took 0.064 sec Caused an ERROR Not a data file. java.io.IOException: Not a data file. at org.apache.avro.file.DataFileStream.<init>(DataFileStream.java:70) at org.apache.avro.file.DataFileReader.<init>(DataFileReader.java:44) at org.apache.avro.TestDataFile.readFile(TestDataFile.java:154) at org.apache.avro.TestDataFile$InteropTest.readFiles(TestDataFile.java:199) at org.apache.avro.TestDataFile$InteropTest.testGeneratedSpecific(TestDataFile.java:183)

          People

          • Assignee:
            Unassigned
            Reporter:
            Philip Zeyliger
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development