问题
I'm trying to connect with hive via jdbc but it gives me the following exception
java.sql.SQLException: org.apache.thrift.transport.TTransportException
I already have running hadoop and derby. By the console of hive (in linux) I can work but once I try it for the project in java it does not work
Class.forName("org.apache.hadoop.hive.jdbc.HiveDriver");
Connection co = DriverManager.getConnection("jdbc:hive://localhost:9000/almacendb", "","");
来源:https://stackoverflow.com/questions/50688347/hive-javajdbc-connection-problems