I think HBaseStorage does not work in this version of pig. There were few JIRAs, I cannot recollect numbers.
On 8/25/12, Dan Therrien <[email protected]> wrote: > I'm getting an error instantiating HBaseStorage ONLY when run on a cluster. > Running in local mode with -x local does not produce the error and my pig > script runs successfully and the data is properly written to HBase. The > error I'm getting is below. > > java.lang.RuntimeException: could not instantiate > 'org.apache.pig.backend.hadoop.hbase.HBaseStorage' with arguments > '[attrs:values attrs:description attrs:tracksentId]' > at > org.apache.pig.impl.PigContext.instantiateFuncFromSpec(PigContext.java:502) > at > org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POStore.getStoreFunc(POStore.java:218) > at > org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigOutputCommitter.getCommitters(PigOutputCommitter.java:85) > at > org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigOutputCommitter.<init>(PigOutputCommitter.java:68) > at > org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigOutputFormat.getOutputCommitter(PigOutputFormat.java:278) > at org.apache.hadoop.mapred.Task.initialize(Task.java:511) > at org.apache.hadoop.mapred.MapTask.run(MapTask.java:306) > at org.apache.hadoop.mapred.Child$4.run(Child.java:270) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subje > > > Any insight would be a great help! > > -Dan > > > -- > Dan Therrien > [email protected] >
