Hive Support
See original GitHub issueIs Hive supported?
I have added all the jar files that I thought would be needed but I am still getting an error when trying to run the migrations. I am however able to list what migrations have not been run.
List of hive jar driver files:
commons-codec-1.5.jar commons-logging-1.1.1.jar hadoop-common-2.6.0.jar hive-common-0.13.0.jar hive-jdbc-0.13.0.jar hive-service-0.13.0.jar httpclient-4.2.5.jar httpcore-4.2.5.jar libthrift-0.9.1.jar log4j-1.2.17.jar slf4j-api-1.7.5.jar slf4j-log4j12-1.7.5.jar
Sample migrate commands:
[dev@sandbox hive]$ migrate status
------------------------------------------------------------------------
-- MyBatis Migrations - status
------------------------------------------------------------------------
ID Applied At Description
================================================================================
log4j:WARN No appenders could be found for logger (org.apache.thrift.transport.TSaslTransport).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
20141202195919 ...pending... test
------------------------------------------------------------------------
-- MyBatis Migrations SUCCESS
-- Total time: 0s
-- Finished at: Mon Aug 03 19:52:32 UTC 2015
-- Final Memory: 22M/480M
------------------------------------------------------------------------
[dev@sandbox hive]$ migrate up
------------------------------------------------------------------------
-- MyBatis Migrations - up
------------------------------------------------------------------------
log4j:WARN No appenders could be found for logger (org.apache.thrift.transport.TSaslTransport).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
========== Applying: 20141202195919_test.sql ===================================
-- Create Changelog
CREATE TABLE dev.mybatis_test(
source string,
siteid string)
Error executing: CREATE TABLE dev.mybatis_test(
source string,
siteid string)
. Cause: java.sql.SQLException: Method not supported
------------------------------------------------------------------------
-- MyBatis Migrations FAILURE
-- Total time: 1s
-- Finished at: Mon Aug 03 19:52:36 UTC 2015
-- Final Memory: 20M/480M
------------------------------------------------------------------------
ERROR: Error executing command. Cause: org.apache.ibatis.jdbc.RuntimeSqlException: Error executing: CREATE TABLE dev.mybatis_test(
source string,
siteid string)
. Cause: java.sql.SQLException: Method not supported
Issue Analytics
- State:
- Created 8 years ago
- Comments:16 (9 by maintainers)
Top Results From Across the Web
The Hive Minecraft Server - Support
Help and support for The Hive Minecraft Server: payments, punishments, staff and more.
Read more >Hive Help
Advice and answers from the Hive Team · Getting Started · Product Updates · Using Hive · Use Cases · User Management ·...
Read more >Hive Customer Support
TIP: Hive Customer Support provides service in 16 languages. ... Welcome to Hive! Do you need help? close. Select a game you need...
Read more >Support Hive Select Assembled - Dadant
Support hives are needed in every out yard you have. Two 4-frame hives make up the support colonies. Great for boosting a weak...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The patch was accepted for Hive 2.2.0 😊
@syvineckruyk The issue reported here was fixed in Hive ≥2.2.0 and I assumed that there were users who are using Migrations with Hive. If you use Hive ≥2.2.0 and have some problem, please create a new issue with the details.