How to ignore corrupt AVRO files while scan?

2017-04-05 Thread Bin Wang
I have some corrupt AVRO files in my table. And while I query them with Hive, it will throw an exception and exit. Is there any way to ignore these AVRO files and make Hive continue to run? Or is there a way to find all the corrupt files on HDFS and delete it?

build hive1.2.1 error and I don't know how to solve this problem

2017-04-05 Thread ????????
cmd : mvn package -Phadoop-2 -Pdist -DskipTests --projects metastore -X pom.xml: 3.2.6 3.2.10 3.2.9 when I build hive-metastore,get the tips as follow. someone can help me [DEBUG] Metadata Directory is : /data/leantang/develop/apache-hive-1.2.1-src/metastore/target/classes [INFO] CP: /data