You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Szabolcs Vasas (JIRA)" <ji...@apache.org> on 2016/08/17 14:23:20 UTC

[jira] [Updated] (SQOOP-2999) Sqoop ClassNotFoundException (org.apache.commons.lang3.StringUtils) is thrown when executing Oracle direct import map task

     [ https://issues.apache.org/jira/browse/SQOOP-2999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Szabolcs Vasas updated SQOOP-2999:
----------------------------------
    Description:     (was: SQOOP-2333 adds support for custom options for User Defined Plugins using property customtool.options.jsonmap

When this is used in combination with sqoop metastore we get backward incompatible behavior:
* if a job is created in a previous sqoop version not containing SQOOP-2333, the job definition won't contain customtool.options.jsonmap
* since SQOOP-2333 introduced this is a mandatory property and we get an exception if customtool.options.jsonmap is not present
* therefore 'job -show' or 'job -exec' will fail for any jobs created in previous versions not containing SQOOP-2333

Sqoop should initialize its internal map object (which is restored from the 'customtool.options.jsonmap' metastore property) to an empty map instead of null even if the 'customtool.options.jsonmap' property is not present in the metastore database.)

> Sqoop ClassNotFoundException (org.apache.commons.lang3.StringUtils) is thrown when executing Oracle direct import map task
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SQOOP-2999
>                 URL: https://issues.apache.org/jira/browse/SQOOP-2999
>             Project: Sqoop
>          Issue Type: Bug
>    Affects Versions: 1.4.7
>            Reporter: Szabolcs Vasas
>            Assignee: Szabolcs Vasas
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)