phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Szita (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-3464) Pig doesn't handle hbase://query/ properly
Date Tue, 08 Nov 2016 08:45:58 GMT

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

Adam Szita commented on PHOENIX-3464:
-------------------------------------

This will be handled in Pig by creating a marker interface for such non-filesystem based LoadFunc
implementations. On Phoenix end we will have to wait until a new release comes out from Pig
containing this feature (0.17.0) and update Pig version dependency as well.

> Pig doesn't handle hbase://query/ properly
> ------------------------------------------
>
>                 Key: PHOENIX-3464
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3464
>             Project: Phoenix
>          Issue Type: Bug
>         Environment: Pig
>            Reporter: Adam Szita
>              Labels: Pig
>         Attachments: PHOENIX-3464.patch
>
>
> {code}
> A = load 'hbase://query/SELECT ID,NAME,DATE FROM HIRES WHERE DATE > TO_DATE('1990-12-21
05:55:00.000');
> STORE A into 'output';
> {code}
> This will throw an exception in pig:
> Caused by: Failed to parse: Pig script failed to parse: 
> <line 1, column 23> pig script failed to validate: 
> java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative 
> path in absolute URI...
> Reason is that setHdfsServers method is called in pig, see PIG-4939



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

Mime
View raw message