You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by Patrick Toole <pt...@gmail.com> on 2011/10/15 19:41:38 UTC

Available APIs from a Custom Manager

I am seeing the following error while developing a custom MangerFactory and
Manager:
Exception in thread "main" java.lang.NoClassDefFoundError:
com/cloudera/sqoop/manager/InformationSchemaManager

The Factory is successfully instantiated (can be verified via logging), but
creating a new Manager is causing the class not found exception. The Manager
is a subclass of the InformationSchemaManager.

This class appears to be public, so the custom class loader cant see this
class - or am I missing something?

Should custom managers be allowed to subclass InformationSchemaManager?


FYI: I am loading the custom manager's jar file via
managers.d/class=/path/to/jar

Re: Available APIs from a Custom Manager

Posted by Arvind Prabhakar <ar...@apache.org>.
Hi Patrick,

The InformationSchemaManager was introduced recently and it is
possible that the build you are using does not have it. You can do one
of three things - either manually apply the InformationSchemaManager
related patches to your source base, or build the trunk yourself, or
hold on for the next release.

Thanks,
Arvind

On Sat, Oct 15, 2011 at 10:41 AM, Patrick Toole <pt...@gmail.com> wrote:
> I am seeing the following error while developing a custom MangerFactory and
> Manager:
> Exception in thread "main" java.lang.NoClassDefFoundError:
> com/cloudera/sqoop/manager/InformationSchemaManager
>
> The Factory is successfully instantiated (can be verified via logging), but
> creating a new Manager is causing the class not found exception. The Manager
> is a subclass of the InformationSchemaManager.
>
> This class appears to be public, so the custom class loader cant see this
> class - or am I missing something?
>
> Should custom managers be allowed to subclass InformationSchemaManager?
>
>
> FYI: I am loading the custom manager's jar file via
> managers.d/class=/path/to/jar
>