[
https://issues.apache.org/jira/browse/HIVE-2054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13007803#comment-13007803
]
Ning Zhang commented on HIVE-2054:
----------------------------------
I think the problem is that the tmpDir by default is /tmp/<user.name>/,
specified by hive.querylog.location. Bennie, I think if you set
hive.querylog.location to be something like 'c:\' on Windows, it should work.
Can you try that?
The JdbcSessionState was introduced in the very first version of the JDBC
driver (HIVE-48). It is not used but I guess the reason for it to be able to
set session level states for the JDBC connection. I'm OK removing it, but not
sure about others' opinion.
> 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
> Affects Versions: 0.8.0
> Reporter: Bennie Schut
> Assignee: Bennie Schut
> Priority: Minor
> Fix For: 0.8.0
>
> Attachments: HIVE-2054.1.patch.txt
>
>
> 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