You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Deepak Rosario Pancras (JIRA)" <ji...@apache.org> on 2013/07/03 01:16:19 UTC
[jira] [Updated] (PIG-3371) Cannot instantiate PigStorage in
eclipse
[ https://issues.apache.org/jira/browse/PIG-3371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Deepak Rosario Pancras updated PIG-3371:
----------------------------------------
Priority: Minor (was: Major)
> 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
> Priority: Minor
> Labels: newbie
>
> 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