[ 
https://issues.apache.org/jira/browse/PHOENIX-2348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ChiaPing Tsai updated PHOENIX-2348:
-----------------------------------
    Description: 
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");


  was:
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.setProperty("java.io.tmpdir");



> 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
>
> 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