Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-1605

Sqlline JVM crashes if we query a directory of json files having different schemas.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.6.0
    • 0.8.0
    • Client - JDBC
    • None

    Description

      This "json" directory has 2 json files. If the 2 json files have different schemas not the same structure, sqlline JVM crashes. I tried copying the same file with different name and tried querying that worked fine.

      select * from `json`;

      #

      1. A fatal error has been detected by the Java Runtime Environment:
        #
      2. SIGSEGV (0xb) at pc=0x00007f9bb418c425, pid=4858, tid=140307876988672
        #
      3. JRE version: OpenJDK Runtime Environment (7.0_65-b17) (build 1.7.0_65-mockbuild_2014_07_16_06_06-b00)
      4. Java VM: OpenJDK 64-Bit Server VM (24.65-b04 mixed mode linux-amd64 compressed oops)
      5. Problematic frame:
      6. J 544 C2 sqlline.SqlLine$Rows$Row.<init>(Lsqlline/SqlLine$Rows;ILjava/sql/ResultSet;)V (218 bytes) @ 0x00007f9bb418c425 [0x00007f9bb418bfc0+0x465]
        #
      7. Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
        #
      8. An error report file with more information is saved as:
      9. /tmp/jvm-4858/hs_error.log
        #
      10. If you would like to submit a bug report, please include
      11. instructions on how to reproduce the bug and visit:
      12. http://icedtea.classpath.org/bugzilla
        #
        Aborted

      Attachments

        1. oracle-jdk.log
          67 kB
          Venkata krishnan Sowrirajan
        2. openjdk.log
          72 kB
          Venkata krishnan Sowrirajan
        3. DRILL-1605.2.patch.txt
          10 kB
          Hanifi Gunes
        4. DRILL-1605.1.patch.txt
          7 kB
          Hanifi Gunes

        Issue Links

          Activity

            People

              hgunes Hanifi Gunes
              vsowrirajan Venkata krishnan Sowrirajan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: