sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-1688) Sqoop2: Fix the Validation Response JSON for configs
Date Thu, 06 Nov 2014 19:48:34 GMT

    [ https://issues.apache.org/jira/browse/SQOOP-1688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14200772#comment-14200772
] 

Hudson commented on SQOOP-1688:
-------------------------------

FAILURE: Integrated in Sqoop2-hadoop200 #590 (See [https://builds.apache.org/job/Sqoop2-hadoop200/590/])
SQOOP-1688: Sqoop2: Fix the Validation Response JSON for configs (abraham: https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=a4ade07f8b19ca56fa09bc86f7e6915557931d89)
* common/src/main/java/org/apache/sqoop/json/ValidationResultBean.java


> Sqoop2: Fix the Validation Response JSON for configs
> ----------------------------------------------------
>
>                 Key: SQOOP-1688
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1688
>             Project: Sqoop
>          Issue Type: Sub-task
>            Reporter: Veena Basavaraj
>            Assignee: Veena Basavaraj
>             Fix For: 1.99.4
>
>         Attachments: SQOOP-1688.patch, SQOOP-1688.patch, SQOOP-1688.patch
>
>
> Why ROOT? can we call this validation result?
> and remove the caps? and call the text as message
> Today, the results of creating a LINK/ JOB via a rest apis looks like this
> A good one looks like this
> {code}
>  {
>     "ID": 3,
>     "ROOT": [
>         {}
>     ]
>  }
> {code}
> A BAD response might look like:
> ::
> {code}
>    {
>      "ROOT": [
>        {
>         "linkConfig": [
>           {
>             "TEXT": "Invalid URI. URI must either be null or a valid URI. Here are a
few valid example URIs: hdfs://example.com:8020/, hdfs://example.com/, file:///, file:///tmp,
file://localhost/tmp",
>             "STATUS": "ERROR"
>           }
>         ]
>       }
>      ]
>    }
> {code}



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

Mime
View raw message