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

Dmitriy V. Ryaboy commented on PIG-2120:
----------------------------------------

I'd have to shell out or something for that test -- the change is in 
Main.java...

Which probably points out yet another bug. Is it just me or do we need to set 
UDFContext clientSystemProps in PigServer? Something like 

{code}

Index: src/org/apache/pig/PigServer.java
===================================================================
--- src/org/apache/pig/PigServer.java   (revision 1135694)
+++ src/org/apache/pig/PigServer.java   (working copy)
@@ -1632,6 +1632,8 @@
          */
         private void parseQuery() throws FrontendException {
             UDFContext.getUDFContext().reset();
+            
UDFContext.getUDFContext().setClientSystemProps(pigContext.getProperties());
+
             String query = buildQuery();
 
             if( query.isEmpty() ) {
{code}

> HBase storage does not respect pig.hbase.caster property
> --------------------------------------------------------
>
>                 Key: PIG-2120
>                 URL: https://issues.apache.org/jira/browse/PIG-2120
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.8.0, 0.8.1, 0.9.0, 0.10
>            Reporter: Dmitriy V. Ryaboy
>            Assignee: Dmitriy V. Ryaboy
>         Attachments: PIG-2120.patch
>
>
> HBaseStorage is supposed to allow changing the default Caster via the 
> pig.hbase.caster property. This does not work.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to