[ https://issues.apache.org/jira/browse/PIG-1769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmitriy V. Ryaboy updated PIG-1769: ----------------------------------- Attachment: PIG_1769.patch The attached patch fixes the issue -- the problem was that we try to set the location of the _logs directory for Stores regardless of whether we are writing into HDFS or not. Instead I check for path starting with hdfs:// or not containing "://" at all, and if it does, set the _logs directory to a temp location. It's a bit hacky... if someone else has a better idea, please jump in. > Consistency for HBaseStorage > ---------------------------- > > Key: PIG-1769 > URL: https://issues.apache.org/jira/browse/PIG-1769 > Project: Pig > Issue Type: Improvement > Affects Versions: 0.8.0 > Reporter: Corbin Hoenes > Assignee: Dmitriy V. Ryaboy > Attachments: PIG_1769.patch > > > In our load statement we are allowed to prefix the table name with "hbase://" > but when we call > store it throws an exception unless we remove hbase:// from the table > name: > this works: > store raw into 'piggytest2' USING > org.apache.pig.backend.hadoop.hbase.HBaseStorage('content2:field1 > anchor2:field1a anchor2:field2a'); > this won't > store raw into 'hbase://piggytest2' > Exception: > Caused by: java.lang.IllegalArgumentException: > java.net.URISyntaxException: Relative path in absolute URI: > hbase://piggytest2_logs > Would be nice to be able to prefix the store with hbase:// so it's consistent > with the load syntax -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.