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

Running refresh table metadata concurrently randomly fails with JsonParseException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.8.0
    • None
    • Metadata
    • None

    Description

      git.commit.id.abbrev=f476eb5

      Just run the below command concurrently from 10 different JDBC connections. There is a likelihood that you might encounter the below error

      Extracts from the log

      Caused By (java.lang.AssertionError) Internal error: Error while applying rule DrillPushProjIntoScan, args [rel#189411:LogicalProject.NONE.ANY([]).[](input=rel#189289:Subset#3.ENUMERABLE.ANY([]).[],l_orderkey=$1,dir0=$2,dir1=$3,dir2=$4,l_shipdate=$5,l_extendedprice=$6,l_discount=$7), rel#189233:EnumerableTableScan.ENUMERABLE.ANY([]).[](table=[dfs, metadata_caching_pp, l_3level])]
          org.apache.calcite.util.Util.newInternal():792
          org.apache.calcite.plan.volcano.VolcanoRuleCall.onMatch():251
      .....
      .....
      
        java.lang.Thread.run():745
        Caused By (org.apache.drill.common.exceptions.DrillRuntimeException) com.fasterxml.jackson.core.JsonParseException: Illegal character ((CTRL-CHAR, code 0)): only regular white space (\r, \n, \t) is allowed between tokens
       at [Source: com.mapr.fs.MapRFsDataInputStream@57a574a8; line: 1, column: 2]
          org.apache.drill.exec.planner.logical.DrillPushProjIntoScan.onMatch():95
      

      Attached the complete log message and the data set

      Attachments

        1. l_3level.tgz
          13 kB
          Rahul Kumar Challapalli
        2. error.log
          7 kB
          Rahul Kumar Challapalli

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rkins Rahul Kumar Challapalli
              Aman Sinha Aman Sinha
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: