XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.99.4
    • None
    • None

    Description

      ( obsolete the apache confluence wiki if any!)

      http://sqoop.apache.org/docs/1.99.3/RESTAPI.html

      examples of the JSON.

      CONNECTOR:
      GET
      http://10.20.194.157:12000/sqoop/v1/connectors
      http://10.20.194.157:12000/sqoop/v1/connector/1
      http://10.20.194.157:12000/sqoop/v1/connector/generic-jdbc-connector

      DRIVER:
      GET
      http://10.20.194.157:12000/sqoop/v1/driver

      UBER CONFIGURABLE:
      GET
      http://10.20.194.157:12000/sqoop/v1/configurable/driver
      http://10.20.194.157:12000/sqoop/v1/configurable/connector/1

      LINK:
      GET
      http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/links
      http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/links?cname=hdfs-connector
      http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/link/

      {lId}

      http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/link/

      {lname}

      POST ( create link)

      http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/link ( with postData for the link details and link config map )

      PUT/DELETE ( update/ delete link)
      http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/link/{lname}

      JOB

      GET
      http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/jobs
      http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/jobs?cname=hdfs-connector
      http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/job/

      {jid}

      http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/job/

      {jname}

      disable http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/job/{jname}

      /status

      POST ( create link)

      http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/job ( with postData for the job details and the from/to and driver config )

      PUT/DELETE ( update/ delete job)
      http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/job/

      {jname}

      PUT but with ACTIONS
      start http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/job/start and the jobId in post Data
      stop http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/job/stop and the jobId in post Data
      enable http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/enable and the jobId in post Data
      disable http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/job/disable and the jobId in post Data

      SUBMISSIONs

      http://vbsqoop-1.ent.cloudera.com:12000/sqoop/v1/submissions

      Attachments

        1. SQOOP-1518-f82.patch
          103 kB
          Veena Basavaraj
        2. SQOOP-1518-f8.patch
          103 kB
          Veena Basavaraj
        3. SQOOP-1518.patch
          86 kB
          Veena Basavaraj

        Issue Links

          Activity

            People

              vybs Veena Basavaraj
              vybs Veena Basavaraj
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: