You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Veena Basavaraj (JIRA)" <ji...@apache.org> on 2014/11/06 17:47:33 UTC

[jira] [Created] (SQOOP-1688) Fix the Validation Response JSON for configs

Veena Basavaraj created SQOOP-1688:
--------------------------------------

             Summary: 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


Why ROOT?

why is linkConfig an array?


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)