phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dumindu Buddhika (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-2348) The value of DEFAULT_SPOOL_DIRECTORY is invalid on Windows
Date Tue, 26 Jan 2016 02:17:39 GMT

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

Dumindu Buddhika commented on PHOENIX-2348:
-------------------------------------------

conn.unwrap(PhoenixConnection.class).getQueryServices() do not have a "getReadOnlyProps()".
it only has a "getProps()"

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

Mime
View raw message