Help!Unsupported hive2 protocol(birt+hive2+tomcat) [message #1747228] |
Thu, 10 November 2016 22:55 |
Eclipse User |
|
|
|
Tools:
birt-report-designer-all-in-one-4.6.0-20160607-win32.win32.x86_64
birt-runtime-4.6.0-20160607/birt.war
apache-tomcat-7.0.72
jdbc:hive2://...
Problem:
When I ran a rptdesign on my local eclipse,
"http://127.0.0.1:61180/viewer/frameset?__report=...",
it was ok.
But when I deployed this rptdesign on tomcat,
"http://localhost:8089/birt/frameset?__report=..."
(I have imported all relevant jars, the same as I used on eclipse)
there was an exception:
"org.eclipse.birt.report.engine.api.EngineException: An exception occurred during processing. Please see the following message for details: Cannot open the connection for the driver: org.eclipse.birt.report.data.oda.hive. org.eclipse.birt.report.data.oda.jdbc.JDBCException: There is an error in get connection, Could not establish connection to jdbc:hive2://...: Unsupported Hive2 protocol."
Test:
I designed a new rptdesign linked to mysql,it was ok on both local and tomcat.
Attempts:
1.I used birt-runtime4.2/4.3/4.4/4.5,it failed.
2.I installed myeclipse2016 and birt4.6 plugins,and new a "Report web project"...,it also failed.
3.I replaced birt jars from "eclipse/plugins" to "birt\WEB-INF\lib",it always failed!
Is there anybody can help me!THANKS!
|
|
|
Powered by
FUDForum. Page generated in 0.04418 seconds