David Knupp created IMPALA-7758:
-----------------------------------

             Summary: chars_formats dependent tables are created using the 
wrong LOCATION
                 Key: IMPALA-7758
                 URL: https://issues.apache.org/jira/browse/IMPALA-7758
             Project: IMPALA
          Issue Type: Bug
          Components: Infrastructure
    Affects Versions: Impala 3.1.0
            Reporter: David Knupp


In testdata/bin/load-dependent-tables.sql, the LOCATION clause when creating 
the various chars_formats tables (e.g. text) use:
{noformat}
LOCATION '${hiveconf:hive.metastore.warehouse.dir}/chars_formats_text'
{noformat}

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

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

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

versus...
{noformat}
$ 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
{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to