FW: hive server2 jdbc

2014-11-10 Thread Sathi Chowdhury
Hello hive users , I am trying to use hive2 jdbc connection for the first time . publicclass MyHiveJDBCClient { privatestatic String driverName = "org.apache.hive.jdbc.HiveDriver"; private static final Logger LOG = LoggerFactory.getLogger(MyHiveJDBCClient.class); publicstatic void main(

Re: FW: hive server2 jdbc

2014-11-11 Thread Matouk IFTISSEN
Hello can you try this: String sql = " use prod ; show tables"; If it works use this syntaxe, because I think that hive jdbc (or one of its jar like thrift metastore) point the default schéma !!. Hopes helping you ;) Le 11 nov. 2014 02:09, "Sathi Chowdhury" a écrit : > > > Hello hive users ,