impala-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jin Chul Kim <jinc...@gmail.com>
Subject A question about loading data by functional-query workload
Date Wed, 08 Nov 2017 07:03:13 GMT
Hi,

I would like to run E2E test using the document: https://cwiki.apache.org/
confluence/display/IMPALA/How+to+load+and+run+Impala+tests.

Here is my command: ./tests/run-tests.py query_test/test_queries.py -k
TestQueriesTextTables

It failed with not found functional database. Should I load data manually?
Anyway, I found ./bin/load-data.sh by chance and I ran it with the
command: ./bin/load-data.py -w functional-query
By the way, it failed with not found matching path file:
${IMPALA_HOME}/testdata/target/AllTypes/090101.txt. I don't find the
directory ${IMPALA_HOME}/testdata/target/AllTypes. I guess it can be
generated internally. Would you please guide me?

0: jdbc:hive2://localhost:11050/default> LOAD DATA LOCAL INPATH
'/home/jinchulkim/workspace/Impala/testdata/target/AllTypes/090101.txt'
OVERWRITE INTO TABLE functional.alltypes PARTITION(year=2009, month=1);
going to print operations logs
printed operations logs
Getting log thread is interrupted, since query is done!
Error: Error while compiling statement: FAILED: SemanticException Line 1:23
Invalid path ''/home/jinchulkim/workspace/Impala/testdata/target/AllTypes/090101.txt'':
No files matching path
file:/home/jinchulkim/workspace/Impala/testdata/target/AllTypes/090101.txt
(state=42000,code=40000)
org.apache.hive.service.cli.HiveSQLException: Error while compiling
statement: FAILED: SemanticException Line 1:23 Invalid path
''/home/jinchulkim/workspace/Impala/testdata/target/AllTypes/090101.txt'':
No files matching path file:/home/jinchulkim/workspace/Impala/testdata/
target/AllTypes/090101.txt

Best regards,
Jinchul

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message