Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
0.11.1
-
None
-
Ubuntu 12.04.2, Java(TM) SE Runtime Environment (build 1.6.0_43-b01), PIG 0.11.1, cassandra 1.2.6 +
CASSANDRA-5234patch for CQL3, Hadoop 1.1.2, Eclipse Indigo
Description
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.