Member since
04-01-2020
1
Post
0
Kudos Received
0
Solutions
05-15-2020
04:25 PM
Hi All , I am doing POC on our DEV cluster , When I am trying to change fileformat using below command , alter table students set fileformat PARQUET; I am getting below error when I run select command on student table . Error: java.io.IOException: java.lang.RuntimeException: hdfs://nameservice1/<path> is not a Parquet file. expected magic number at tail [80, 65, 82, 49] but found [46, 51, 49, 10] (state=,code=0) Any workaround to convert the existing Hive tables from 'org.apache.hadoop.mapred.TextInputFormat' to 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat' Thanks in advance ...
... View more
Labels:
- Labels:
-
Apache Hive