[ https://issues.apache.org/jira/browse/HIVE-2054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13006899#comment-13006899 ]
Bennie Schut commented on HIVE-2054: ------------------------------------ This seems to happen because we use the same SessionState class the cli is using which is now including some temporary output files and history file references. It's rather trivial to remove the SessionState from the jdbc driver to make it work again (just tried this a few minutes ago). We currently have a JdbcSessionState which extends the SessonState but I don't see a need for the JdbcSessionState either. It seems to be there as a placeholder but is not actually used. > Exception on windows when using the jdbc driver. "IOException: The system > cannot find the path specified" > --------------------------------------------------------------------------------------------------------- > > Key: HIVE-2054 > URL: https://issues.apache.org/jira/browse/HIVE-2054 > Project: Hive > Issue Type: Bug > Components: JDBC > Reporter: Bennie Schut > Priority: Minor > > It seems something recently changed on the jdbc driver which causes this > IOException on windows. > java.lang.RuntimeException: java.io.IOException: The system cannot find the > path specified > at > org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:237) > at > org.apache.hadoop.hive.jdbc.HiveConnection.<init>(HiveConnection.java:73) > at org.apache.hadoop.hive.jdbc.HiveDriver.connect(HiveDriver.java:110) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira