Member since
02-14-2024
7
Posts
2
Kudos Received
0
Solutions
02-21-2024
05:36 AM
@jAnshulaI am getting below error when running your first query: ERROR: AnalysisException: ALTER TABLE not supported on transactional (ACID) table: default.atable
... View more
02-20-2024
06:39 AM
@jAnshula Hello, any help from my provided information above?
... View more
02-16-2024
06:53 AM
Hi @jAnshula I created the table as parquet. However, I am still getting issue after insert data. Here is my query to create the table and insert to the table: CREATE TABLE ATABLE ( CHARCOL CHAR(10), VCHARCOL VARCHAR(10), DECIMALCOL DECIMAL(15,5), NUMERICCOL DOUBLE, SMALLCOL SMALLINT, INTEGERCOL INT, REALCOL FLOAT, FLOATCOL FLOAT, DOUBLECOL DOUBLE, LVCOL STRING, BITCOL BOOLEAN, TINYINTCOL TINYINT, BIGINTCOL BIGINT, BINCOL STRING, VARBINCOL STRING, LVARBINCOL STRING, DATECOL STRING, TIMECOL STRING, TSCOL TIMESTAMP ) ROW FORMAT DELIMITED FIELDS TERMINATED BY ',' STORED AS PARQUET; Then insert data to the table: INSERT OVERWRITE TABLE ATABLE SELECT * FROM JMASTER.ATABLE and the result: Query: INSERT OVERWRITE TABLE ATABLE SELECT * FROM JMASTER.ATABLE Query submitted at: 2024-02-16 09:03:11 (Coordinator: http://hiveservername.domainame.com:25000) Query progress can be monitored at: http://hiveservername.domainame.com:25000/query_plan?query_id=7042592eded60891:ee0cba7600000000 ERROR: File 'hdfs://hiveservername.domainame.com:8020/user/hivetest/master_tables/hivetesttable/ATABLE.csv' has an invalid Parquet version number: 30 30 30 30 . Please check that it is a valid Parquet file. This error can also occur due to stale metadata. If you believe this is a valid Parquet file, try running "refresh jmaster.hivetesttable".
... View more
02-15-2024
01:02 PM
1 Kudo
Hi @jAnshula I have run the refresh command on the table, but it did not help. Here is the output after run the command parquet-tools meta parquet-tools meta /user/hivetest/master_tables/hivetesttable/create_tables.sql java.io.IOException: Could not read footer: java.lang.RuntimeException: file:/user/hivetest/master_tables/hivetesttable/create_tables.sql is not a Parquet file. expected magic number at tail [80, 65, 82, 49] but found [10, 41, 59, 10] Please suggest what I need to be done to fix the issue. Thank you!
... View more
02-14-2024
03:06 PM
1 Kudo
Thanks @DianaTorres. @jAnshula @ezerihun Please let me know if you need more information.
... View more
02-14-2024
11:08 AM
Hello, I just installed a new Hadoop server which has hive and impala servers on it. Cloudera Runtime 7.1.8 Server version: impalad version 4.0.0.7.1.8.0-801 RELEASE (build a3b56f90d9c31ebfa5ce3c266700284a420db28f) However, I am getting an error when try to import data from .cvs file from Impala shell: The error is: Query: INSERT OVERWRITE TABLE ATABLE SELECT * FROM JMASTER.ATABLE Query submitted at: 2024-02-14 14:00:53 (Coordinator: http://hiveservername.domainame.com:25000) Query progress can be monitored at: http://hiveservername.domainame.com:25000/query_plan?query_id=0248306127fdcbd1:36d35f5a00000000 ERROR: File 'hdfs://hiveservername.domainame.com:8020/user/hivetest/master_tables/hivetesttable/ATABLE.csv' has an invalid Parquet version number: 30 30 30 30 . Please check that it is a valid Parquet file. This error can also occur due to stale metadata. If you believe this is a valid Parquet file, try running "refresh jmaster.hivetesttable". Could not execute command: INSERT OVERWRITE TABLE ATABLE SELECT * FROM JMASTER.ATABLE I can import data fine to Impala 3.x version. Does anyone know what the issue is? Thank you!
... View more
Labels:
- Labels:
-
Apache Impala