Deepak Rosario Pancras created PIG-3371:
-------------------------------------------
Summary: Cannot instantiate PigStorage in eclipse
Key: PIG-3371
URL: https://issues.apache.org/jira/browse/PIG-3371
Project: Pig
Issue Type: Bug
Components: parser
Affects Versions: 0.11.1
Environment: Ubuntu 12.04.2, Java(TM) SE Runtime Environment (build
1.6.0_43-b01), PIG 0.11.1, cassandra 1.2.6 + CASSANDRA-5234 patch for CQL3,
Hadoop 1.1.2, Eclipse Indigo
Reporter: Deepak Rosario Pancras
PigServer.store(String id, String filename) throws Could not resolve PigStorage
exeception. I guess this is because of the the fully qualified class name of
PigStorage i.e org.apache.pig.builtin.PigStorage to the
PigContext.resolveClassName().
The PigContext.resolveClassName() uses this fully qualified class PigStorage
class name and appends with the package names available in the ArrayList
returned by getPackageImportList().
And that is why the resolveClassName() could not resolve PigStorage because it
is actually searching for
org.apache.pig.builtin.org.apache.pig.builtin.PigStorage
I do not know if this is a bug or a requirement.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira