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

CTAS and CTTAS are not working on S3 storage when cache is disabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.14.0
    • 1.16.0
    • None

    Description

      When S3 storage plugin option "fs.s3a.impl.disable.cache" is true in the config section and Drill is restarted,
      CTAS and CTTAS queries throwing error in Sqlline:

      create temporary table s3.tmp.`cttastblwithcache2` as select * from cp.`employee.json`;
      Error: SYSTEM ERROR: SdkClientException: Unable to load AWS credentials from any provider in the chain

      Fragment 0:0

      Please, refer to logs for more information.

      [Error Id: 8e386b68-d4fb-4cc6-ba1c-fb41ae0cc9ed on maprhost:31010] (state=,code=0)

      create table s3.tmp.`ctastblwithcache` as select * from cp.`employee.json`;
      Error: SYSTEM ERROR: SdkClientException: Unable to load AWS credentials from any provider in the chain

      Fragment 0:0

      Please, refer to logs for more information.

      [Error Id: 4346d300-44be-4f17-90b6-4f3a0db0a148 on maprhost:31010] (state=,code=0)

      Logs and my storage plugin are in the attachments.

      Attachments

        1. CTAS_drillbit_queries.json
          0.3 kB
          Denys Ordynskiy
        2. CTAS_drillbit.log
          7 kB
          Denys Ordynskiy
        3. CTAS_sqlline.log
          10 kB
          Denys Ordynskiy
        4. CTTAS_drillbit_queries.json
          0.3 kB
          Denys Ordynskiy
        5. CTTAS_drillbit.log
          7 kB
          Denys Ordynskiy
        6. CTTAS_sqlline.log
          10 kB
          Denys Ordynskiy
        7. s3.json
          2 kB
          Denys Ordynskiy

        Issue Links

          Activity

            People

              bohdan Bohdan Kazydub
              denysord88 Denys Ordynskiy
              Arina Ielchiieva Arina Ielchiieva
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: