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

org.apache.drill.common.StackTrace should follow standard stacktrace format

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 1.2.0
    • Component/s: Execution - Flow
    • Labels:
      None

      Description

      org.apache.drill.common.StackTrace uses a different textual format than JDK's standard format for stack traces.

      It should probably use the standard format so that its stack trace output can be used by tools that already can parse the standard format to provide functionality such as displaying the corresponding source.

      (After correcting for DRILL-2624, StackTrace formats stack traces like this:

      org.apache.drill.common.StackTrace.<init>:1
      org.apache.drill.exec.server.Drillbit.run:20
      org.apache.drill.jdbc.DrillConnectionImpl.<init>:232

      The normal form is like this:

      	at org.apache.drill.exec.memory.TopLevelAllocator.close(TopLevelAllocator.java:162)
      	at org.apache.drill.exec.server.BootStrapContext.close(BootStrapContext.java:75)
      	at com.google.common.io.Closeables.close(Closeables.java:77)
      

      )

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cchang@maprtech.com Chun Chang
                Reporter:
                dsbos Daniel Barclay
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: