{"action":"created","issue":{"url":"https://api.github.com/repos/mybatis/migrations/issues/25","labels_url":"https://api.github.com/repos/mybatis/migrations/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/mybatis/migrations/issues/25/comments","events_url":"https://api.github.com/repos/mybatis/migrations/issues/25/events","html_url":"https://github.com/mybatis/migrations/issues/25","id":98827864,"number":25,"title":"Hive Support","user":{"login":"sengelbert","id":1014895,"avatar_url":"https://avatars.githubusercontent.com/u/1014895?v=3","gravatar_id":"","url":"https://api.github.com/users/sengelbert","html_url":"https://github.com/sengelbert","followers_url":"https://api.github.com/users/sengelbert/followers","following_url":"https://api.github.com/users/sengelbert/following{/other_user}","gists_url":"https://api.github.com/users/sengelbert/gists{/gist_id}","starred_url":"https://api.github.com/users/sengelbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sengelbert/subscriptions","organizations_url":"https://api.github.com/users/sengelbert/orgs","repos_url":"https://api.github.com/users/sengelbert/repos","events_url":"https://api.github.com/users/sengelbert/events{/privacy}","received_events_url":"https://api.github.com/users/sengelbert/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-03T20:01:54Z","updated_at":"2015-11-27T10:45:03Z","closed_at":null,"body":"Is Hive supported?\r\n\r\nI 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.\r\n\r\n## List of hive jar driver files:\r\ncommons-codec-1.5.jar\r\ncommons-logging-1.1.1.jar\r\nhadoop-common-2.6.0.jar\r\nhive-common-0.13.0.jar\r\nhive-jdbc-0.13.0.jar\r\nhive-service-0.13.0.jar\r\nhttpclient-4.2.5.jar\r\nhttpcore-4.2.5.jar\r\nlibthrift-0.9.1.jar\r\nlog4j-1.2.17.jar\r\nslf4j-api-1.7.5.jar\r\nslf4j-log4j12-1.7.5.jar\r\n\r\n## Sample migrate commands:\r\n```\r\n[dev@sandbox hive]$ migrate status\r\n------------------------------------------------------------------------\r\n-- MyBatis Migrations - status\r\n------------------------------------------------------------------------\r\nID             Applied At          Description\r\n================================================================================\r\nlog4j:WARN No appenders could be found for logger (org.apache.thrift.transport.TSaslTransport).\r\nlog4j:WARN Please initialize the log4j system properly.\r\nlog4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.\r\n20141202195919    ...pending...    test\r\n\r\n------------------------------------------------------------------------\r\n-- MyBatis Migrations SUCCESS\r\n-- Total time: 0s\r\n-- Finished at: Mon Aug 03 19:52:32 UTC 2015\r\n-- Final Memory: 22M/480M\r\n------------------------------------------------------------------------\r\n[dev@sandbox hive]$ migrate up\r\n------------------------------------------------------------------------\r\n-- MyBatis Migrations - up\r\n------------------------------------------------------------------------\r\nlog4j:WARN No appenders could be found for logger (org.apache.thrift.transport.TSaslTransport).\r\nlog4j:WARN Please initialize the log4j system properly.\r\nlog4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.\r\n========== Applying: 20141202195919_test.sql ===================================\r\n--  Create Changelog\r\nCREATE TABLE dev.mybatis_test(\r\n  source string, \r\n  siteid string)\r\n\r\nError executing: CREATE TABLE dev.mybatis_test(\r\n  source string, \r\n  siteid string)\r\n.  Cause: java.sql.SQLException: Method not supported\r\n------------------------------------------------------------------------\r\n-- MyBatis Migrations FAILURE\r\n-- Total time: 1s\r\n-- Finished at: Mon Aug 03 19:52:36 UTC 2015\r\n-- Final Memory: 20M/480M\r\n------------------------------------------------------------------------\r\n\r\nERROR: Error executing command.  Cause: org.apache.ibatis.jdbc.RuntimeSqlException: Error executing: CREATE TABLE dev.mybatis_test(\r\n  source string, \r\n  siteid string)\r\n.  Cause: java.sql.SQLException: Method not supported\r\n```"},"comment":{"url":"https://api.github.com/repos/mybatis/migrations/issues/comments/160110962","html_url":"https://github.com/mybatis/migrations/issues/25#issuecomment-160110962","issue_url":"https://api.github.com/repos/mybatis/migrations/issues/25","id":160110962,"user":{"login":"sheikamp","id":5477665,"avatar_url":"https://avatars.githubusercontent.com/u/5477665?v=3","gravatar_id":"","url":"https://api.github.com/users/sheikamp","html_url":"https://github.com/sheikamp","followers_url":"https://api.github.com/users/sheikamp/followers","following_url":"https://api.github.com/users/sheikamp/following{/other_user}","gists_url":"https://api.github.com/users/sheikamp/gists{/gist_id}","starred_url":"https://api.github.com/users/sheikamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sheikamp/subscriptions","organizations_url":"https://api.github.com/users/sheikamp/orgs","repos_url":"https://api.github.com/users/sheikamp/repos","events_url":"https://api.github.com/users/sheikamp/events{/privacy}","received_events_url":"https://api.github.com/users/sheikamp/received_events","type":"User","site_admin":false},"created_at":"2015-11-27T10:45:02Z","updated_at":"2015-11-27T10:45:02Z","body":"Not sure if you still need this, but I've just created a pull request (https://github.com/mybatis/migrations/pull/34) to add Hive compatibility to the Migrations framework."}}