verdict-project / verdict

Interactive-Speed Analytics: 200x Faster, 200x Fewer Cluster Resources, Approximate Query Processing
http://verdictdb.org
Apache License 2.0
248 stars 66 forks source link

AlreadyExistsException in Tutorial code #348

Closed hychen20 closed 5 years ago

hychen20 commented 5 years ago

I follow the tutorial VerdictDB on Apache Spark and finally made it work. However, if I submit the example job twice, it will throw an [ERROR] AlreadyExistsException

ERROR metastore.RetryingHMSHandler: AlreadyExistsException(message:Database verdictdbtemp already exists)

but the code still got executed correctly. It seems there's no bad effect from having that exception. Maybe change it to WARNING?

hychen20 commented 5 years ago

Hmm, it looks like it is some convention in Spark programming. I saw similar things from Hive too. Maybe it is a design decision for this ... Closed.