Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-7758

chars_formats dependent tables are created using the wrong LOCATION

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 3.1.0
    • Impala 3.1.0
    • Infrastructure
    • None
    • ghx-label-2

    Description

      In testdata/bin/load-dependent-tables.sql, the LOCATION clause when creating the various chars_formats tables (e.g. text) use:

      LOCATION '${hiveconf:hive.metastore.warehouse.dir}/chars_formats_text'
      

      ...which resolves to /user/hive/warehouse/chars_formats_text

      However, the actual test warehouse root dir is /test-warehouse, not /user/hive/warehouse.

      $ hdfs dfs -cat /test-warehouse/chars_formats_text/chars-formats.txt
      abcde,88db79c70974e02deb3f01cfdcc5daae2078f21517d1021994f12685c0144addae3ce0dbd6a540b55b88af68486251fa6f0c8f9f94b3b1b4bc64c69714e281f388db79c70974,variable length
      abc ,8d3fffddf79e9a232ffd19f9ccaa4d6b37a6a243dbe0f23137b108a043d9da13121a9b505c804956b22e93c7f93969f4a7ba8ddea45bf4aab0bebc8f814e09918d3fffddf79e,abc
      abcdef,68f8c4575da360c32abb46689e58193a0eeaa905ae6f4a5e6c702a6ae1db35a6f86f8222b7a5489d96eb0466c755b677a64160d074617096a8c6279038bc720468f8c4575da3,b2fe9d4638503a57f93396098f24103a20588631727d0f0b5016715a3f6f2616628f09b1f63b23e484396edf949d9a1c307dbe11f23b971afd75b0f639d8a3f1
      

      versus...

      $ hdfs dfs -cat /user/hive/warehouse/chars_formats_text/chars-formats.txt
      cat: `/user/hive/warehouse/chars_formats_text/chars-formats.txt': No such file or directory
      

      Attachments

        Activity

          People

            dknupp David Knupp
            dknupp David Knupp
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: