[ 
https://issues.apache.org/jira/browse/PHOENIX-2348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15116471#comment-15116471
 ] 

James Taylor commented on PHOENIX-2348:
---------------------------------------

Just write a simple unit test that does a 
conn.unwrap(PhoenixConnection.class).getQueryServices().getReadOnlyProps().getProp(SPOOL_DIRECTORY)
 and confirm it's what it used to be (/tmp I think).

> The value of DEFAULT_SPOOL_DIRECTORY is invalid on Windows
> ----------------------------------------------------------
>
>                 Key: PHOENIX-2348
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2348
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.5.2
>         Environment: windows
>            Reporter: ChiaPing Tsai
>            Priority: Minor
>             Fix For: 4.8.0
>
>         Attachments: PHOENIX-2348.patch
>
>
> The value of DEFAULT_SPOOL_DIRECTORY is the "/tmp", so the IOException will 
> happen if we run the phoenix client on Windows.
> Does we should use the tmp path got from system property. For example:
> DEFAULT_SPOOL_DIRECTORY = System.getProperty("java.io.tmpdir");



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to