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

Drill on windows fail to make spill diretory for queries against large data

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.8.0
    • Future
    • Tools, Build & Test
    • None

    Description

      git.commit.id.abbrev=c8d2fe1
      I installed it on windows 7

      I connected from sqlline to a remote drill cluster as:
      sqlline.bat "--maxWidth=10000" -u "jdbc:drill:zk=<ip>:<port>"

      I ran the followng query against a large data file with 2880404 records which failed:

      0: jdbc:drill:zk=10.10.100.113:5181> select ss_ticket_number, count counts from `dfs.drillTestDirTpcdsImpalaSF1`.stor
      e_sales group by ss_ticket_number,counts order by ss_ticket_number;
      ----------------------------+

      ss_ticket_number counts

      ----------------------------+
      Query failed: RemoteRpcException: Failure while running fragment., Mkdirs failed to create /tmp/drill/spill [ 94caf71e-9
      a86-4046-8bea-b5c46e6ddd80 on qa-node114.qa.lab:31010 ]
      [ 94caf71e-9a86-4046-8bea-b5c46e6ddd80 on qa-node114.qa.lab:31010 ]

      java.lang.RuntimeException: java.sql.SQLException: Failure while executing query.
      at sqlline.SqlLine$IncrementalRows.hasNext(SqlLine.java:2514)
      at sqlline.SqlLine$TableOutputFormat.print(SqlLine.java:2148)
      at sqlline.SqlLine.print(SqlLine.java:1809)
      at sqlline.SqlLine$Commands.execute(SqlLine.java:3766)
      at sqlline.SqlLine$Commands.sql(SqlLine.java:3663)
      at sqlline.SqlLine.dispatch(SqlLine.java:889)
      at sqlline.SqlLine.begin(SqlLine.java:763)
      at sqlline.SqlLine.start(SqlLine.java:498)
      at sqlline.SqlLine.main(SqlLine.java:460)

      The "/tmp/drill" directory has appropriate permissions.

      Attachments

        1. drill2314.log
          317 kB
          Krystal

        Issue Links

          Activity

            People

              Unassigned Unassigned
              knguyen Krystal
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: