ojbc / mondrian-rest

A REST API for Mondrian
Other
55 stars 20 forks source link

I need help this error #11

Closed kimsanghoon1 closed 4 years ago

kimsanghoon1 commented 5 years ago
java.util.NoSuchElementException: Could not create a validated object, cause: enabling autocommit is not supported

I want to connect hive jdbc, but this error it makes me hard.

scottcame commented 4 years ago

This happens because Mondrian uses connection pools that attempt to set autocommit on the underlying database connections, and the hive jdbc driver (or, at least, old versions of it) don't support setting it. It looks like hive jdbc may have fixed this in a more recent version; see https://issues.apache.org/jira/browse/HIVE-11293.

In any case, closing this because there isn't anything we can do in mondrian-rest to prevent this from occurring.