[
https://issues.apache.org/jira/browse/SQOOP-1736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Veena Basavaraj updated SQOOP-1736:
-----------------------------------
Attachment: SQOOP-1736-1.99.4-v3.patch
tested with the data set attached. still needs confirmation
[root@vbsqoop-1 bin]# ./sqoop.sh tool upgrade
Sqoop home directory: /root/projects/sqoop/sqoop-1.99.4-bin-hadoop200
Setting SQOOP_HTTP_PORT: 12000
Setting SQOOP_ADMIN_PORT: 12001
Using CATALINA_OPTS:
Adding to CATALINA_OPTS: -Dsqoop.http.port=12000 -Dsqoop.admin.port=12001
Nov 14, 2014 4:45:11 PM org.apache.catalina.startup.ClassLoaderFactory
validateFile
WARNING: Problem with directory
[/root/projects/sqoop/sqoop-1.99.4-bin-hadoop200/lib], exists: [false],
isDirectory: [false], canRead: [false]
Sqoop tool executor:
Version: 1.99.4
Revision: 68d5beeab40b9d9da9f1c00da544185b161fdce6
Compiled on Fri Nov 14 15:46:21 PST 2014 by vbasavaraj
Running tool: class org.apache.sqoop.tools.tool.UpgradeTool
2014-11-14 16:45:12,123 INFO [main] core.PropertiesConfigurationProvider
(PropertiesConfigurationProvider.java:initialize(96)) - Starting config file
poller thread
log4j: Parsing for [root] with value=[WARN, file].
log4j: Level token is [WARN].
log4j: Category root set to WARN
log4j: Parsing appender named "file".
log4j: Parsing layout options for "file".
log4j: Setting property [conversionPattern] to [%d{ISO8601} %-5p %c{2} [%l]
%m%n].
log4j: End of parsing for "file".
log4j: Setting property [file] to [@LOGDIR@/sqoop.log].
log4j: Setting property [maxBackupIndex] to [5].
log4j: Setting property [maxFileSize] to [25MB].
log4j: setFile called: @LOGDIR@/sqoop.log, true
log4j: setFile ended
log4j: Parsed "file" options.
log4j: Parsing for [org.apache.sqoop] with value=[DEBUG].
log4j: Level token is [DEBUG].
log4j: Category org.apache.sqoop set to DEBUG
log4j: Handling log4j.additivity.org.apache.sqoop=[null]
log4j: Parsing for [org.apache.derby] with value=[INFO].
log4j: Level token is [INFO].
log4j: Category org.apache.derby set to INFO
log4j: Handling log4j.additivity.org.apache.derby=[null]
log4j: Finished configuring.
Tool class org.apache.sqoop.tools.tool.UpgradeTool has finished correctly.
> Sqoop2: Driver missing during upgrade
> -------------------------------------
>
> Key: SQOOP-1736
> URL: https://issues.apache.org/jira/browse/SQOOP-1736
> Project: Sqoop
> Issue Type: Bug
> Components: sqoop2-framework
> Affects Versions: 1.99.4
> Reporter: Abraham Elmahrek
> Assignee: Veena Basavaraj
> Fix For: 1.99.4
>
> Attachments: 1993.tar.gz, SQOOP-1736-1.99.4-v2.patch,
> SQOOP-1736-1.99.4-v3.patch, SQOOP-1736-1.99.4.patch
>
>
> There are two issues:
> # The driver doesn't exist for existing jobs and links to reference when
> upgrading. During repository upgrade, a driver should be created (not done).
> # The original framework forms should be transformed to driver configs (done)
> and reference the driver configurable (not done).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)