Return-Path: Delivered-To: apmail-pig-dev-archive@www.apache.org Received: (qmail 11762 invoked from network); 9 Jan 2011 01:14:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Jan 2011 01:14:09 -0000 Received: (qmail 19271 invoked by uid 500); 9 Jan 2011 01:14:09 -0000 Delivered-To: apmail-pig-dev-archive@pig.apache.org Received: (qmail 19246 invoked by uid 500); 9 Jan 2011 01:14:09 -0000 Mailing-List: contact dev-help@pig.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pig.apache.org Delivered-To: mailing list dev@pig.apache.org Received: (qmail 19238 invoked by uid 500); 9 Jan 2011 01:14:09 -0000 Delivered-To: apmail-hadoop-pig-dev@hadoop.apache.org Received: (qmail 19235 invoked by uid 99); 9 Jan 2011 01:14:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Jan 2011 01:14:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Jan 2011 01:14:07 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p091DjVH011579 for ; Sun, 9 Jan 2011 01:13:45 GMT Message-ID: <27988749.234951294535625537.JavaMail.jira@thor> Date: Sat, 8 Jan 2011 20:13:45 -0500 (EST) From: "Dmitriy V. Ryaboy (JIRA)" To: pig-dev@hadoop.apache.org Subject: [jira] Commented: (PIG-1769) Consistency for HBaseStorage In-Reply-To: <32660833.139111292434681304.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/PIG-1769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12979245#action_12979245 ] Dmitriy V. Ryaboy commented on PIG-1769: ---------------------------------------- Hm. setStoreLocation does the right thing but I probably need to do something in relativeToAbsolutePathForStoreLocation. Complete stack trace: ================================================================================ Pig Stack Trace --------------- ERROR 2017: Internal error creating job configuration. org.apache.pig.impl.logicalLayer.FrontendException: ERROR 1002: Unable to store alias 1 at org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:1569) at org.apache.pig.PigServer.registerQuery(PigServer.java:523) at org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:868) at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:388) at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:165) at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:141) at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:76) at org.apache.pig.Main.run(Main.java:465) at org.apache.pig.Main.main(Main.java:107) Caused by: org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.JobCreationException: ERROR 2017: Internal error creating job configuration. at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.JobControlCompiler.getJob(JobControlCompiler.java:667) at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.JobControlCompiler.compile(JobControlCompiler.java:256) at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher.launchPig(MapReduceLauncher.java:147) at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.execute(HExecutionEngine.java:378) at org.apache.pig.PigServer.executeCompiledLogicalPlan(PigServer.java:1198) at org.apache.pig.PigServer.execute(PigServer.java:1190) at org.apache.pig.PigServer.access$100(PigServer.java:128) at org.apache.pig.PigServer$Graph.execute(PigServer.java:1517) at org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:1564) ... 8 more Caused by: java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: hbase://foo_logs at org.apache.hadoop.fs.Path.initialize(Path.java:140) at org.apache.hadoop.fs.Path.(Path.java:71) at org.apache.hadoop.fs.Path.(Path.java:45) at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.JobControlCompiler.getJob(JobControlCompiler.java:470) ... 16 more Caused by: java.net.URISyntaxException: Relative path in absolute URI: hbase://foo_logs at java.net.URI.checkPath(URI.java:1787) at java.net.URI.(URI.java:735) at org.apache.hadoop.fs.Path.initialize(Path.java:137) ... 19 more > 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 > > 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.