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

When query log file, "where clause" failed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Not A Problem
    • 1.0.0
    • 0.4.0
    • Storage - Text & CSV
    • None
    • ubuntu

    Description

      Failed when I query a text file (.txt/ .log). But when I change the suffix of this file to '.tsv' It works. I hear a talk and Drill claim can support log files. So I tried this and find It failed on both .txt and .log. Is the version I'm using too old? (apache-drill-1.0.0-m2-incubating-SNAPSHOT)

      Error messages:
      0: jdbc:drill:zk=local> SELECT * FROM dfs.logs.`/drill/apache-drill-1.0.0-m2-incubating-SNAPSHOT/log/sqlline.log`;
      Jul 16, 2014 9:08:08 PM org.eigenbase.sql.validate.SqlValidatorException <init>
      SEVERE: org.eigenbase.sql.validate.SqlValidatorException: Table 'dfs.logs./drill/apache-drill-1.0.0-m2-incubating-SNAPSHOT/log/sqlline.log' not found
      Jul 16, 2014 9:08:08 PM org.eigenbase.util.EigenbaseException <init>
      SEVERE: org.eigenbase.util.EigenbaseContextException: From line 1, column 15 to line 1, column 17
      Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while running query.[error_id: "fe18b830-2ed7-447d-b4be-5e340e4aa488"
      endpoint {
      address: "building-1s-dhcp69.eng.haha.com"
      user_port: 31010
      control_port: 31011
      data_port: 31012
      }
      error_type: 0
      message: "Failure while parsing sql. < ValidationException:[ org.eigenbase.util.EigenbaseContextException: From line 1, column 15 to line 1, column 17 ] < EigenbaseContextException:[ From line 1, column 15 to line 1, column 17 ] < SqlValidatorException:[ Table 'dfs.logs./drill/apache-drill-1.0.0-m2-incubating-SNAPSHOT/log/sqlline.log' not found ]"
      ]
      Error: exception while executing query (state=,code=0)

      Attachments

        Activity

          People

            Unassigned Unassigned
            mavissong Jiaojiao Song
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: