The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Enabling Autocommit Is Not Supported - Error Connecting to Impala Via JDBC
Hello
I am trying to connect to my Cloudera Impala instance through JDBC from Rapid Miner. I have added the JARs to the driver config and everything looks correct. In fact, Rapid Miner attempts to make the connection and then fails with the error "Enabling Autocommit is not Supported".
My issue is the the Impala JDBC Driver does NOT support Auto Commit. It seems Rapid Miner tries always sets Auto Commit to true. Therefore, is there a way I can disable the Auto Commit requirement in Rapid Miner?
Please help me out as I would really like to leverage this tool, but won't be able to if it can't connect to my data source.
Thanks
I am trying to connect to my Cloudera Impala instance through JDBC from Rapid Miner. I have added the JARs to the driver config and everything looks correct. In fact, Rapid Miner attempts to make the connection and then fails with the error "Enabling Autocommit is not Supported".
My issue is the the Impala JDBC Driver does NOT support Auto Commit. It seems Rapid Miner tries always sets Auto Commit to true. Therefore, is there a way I can disable the Auto Commit requirement in Rapid Miner?
Please help me out as I would really like to leverage this tool, but won't be able to if it can't connect to my data source.
Thanks
Tagged:
0
Answers
Have you solve this?
I met the same problem with you.
Hmmm... try the Hive JDBC connector to connect to Apache Impala. It doesn't support autocommit either, but it overrides the required methods to make itself compatible with the specifications, which Impala doesn't.
https://impala.apache.org/docs/build/html/topics/impala_jdbc.html
Hope it helps,
Sorry, I don't understand you. Maybe I didn't describe the problem clearly.
I added all dependencies needed in the configuration of driver and want to connect the Impala in RapidMiner. But it shows "Enabling Autocommit Is Not Supported".
It was "org.apache.hive.jdbc.HiveDriver" that I used.
Then I used the same dependencies and writed the code to connect the Impala, it was ok.
So I thought it's something about RM configuration or... I don't know. Can you help me?
@rajabrata is using the Radoop product not an option for you?
I know Radoop can connect hive and Impala database,but what's the reason of this error?
Since you provide the Hive type in the connection configuration dialog, doesn't it mean that it will be ok if I use this way to connect?
I just want to know why it doesn't work.
Thanks a lot.