[
https://issues.apache.org/jira/browse/SQOOP-2640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14977989#comment-14977989
]
Adam Konarski commented on SQOOP-2640:
--------------------------------------
Thank you for fixing this issue. I am trying to check it, so I have
successfully built this sources:
https://git-wip-us.apache.org/repos/asf?p=sqoop.git;a=snapshot;h=c54f92854746cb16995d11b3dcf9c395839af358;sf=tgz
However, I am not able to run server from this version which I assume is
located here: dist/target/sqoop-2.0.0-SNAPSHOT-bin-hadoop200 and new
sqoop2-shell does not work with my previous server version (1.99.6) and,
because I see this:
Exception has occurred during processing command
Exception: java.lang.ClassCastException Message: org.json.simple.JSONArray
cannot be cast to org.json.simple.JSONObject
after any command in shell.
Do you know when there will be a bin package available with this fix?
> Not possible to enter "last value" when creating incremental job
> ----------------------------------------------------------------
>
> Key: SQOOP-2640
> URL: https://issues.apache.org/jira/browse/SQOOP-2640
> Project: Sqoop
> Issue Type: Bug
> Components: sqoop2-shell
> Affects Versions: 1.99.6
> Reporter: Adam Konarski
> Assignee: Abraham Fine
> Fix For: 1.99.7
>
> Attachments: SQOOP-2640.patch
>
>
> There is an error message when I enter anything as "last value" in
> sqoop-shell during creation or update of a job:
> "Size of input exceeds allowance for this input field. Maximal allowed size
> is -1"?
> Here is an example to reproduce:
> sqoop:000> update job -j=5
> Updating job with id 5
> Please update job:
> Name: dziala
> From database configuration
> Schema name: telcoData
> Table name: SecureUser
> Table SQL statement:
> Table column names:
> Partition column name:
> Null value allowed for the partition column:
> Boundary query:
> Incremental read
> Check column: event_timestamp
> Last value: 0
> Error message: Size of input exceeds allowance for this input field. Maximal
> allowed size is -1
> Last value: 0
> Error message: Size of input exceeds allowance for this input field. Maximal
> allowed size is -1
> Last value: 0
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)