Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-743

Add submitSqoop via knox shell api

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.0
    • 0.10.0
    • ClientDSL
    • None

    Description

      Add ability to submitSqoop job via knox since templeton also support this functionality. I have a basic patch that I am trying and will submit it. Would be something like this:

      sqoop_command = "import --connect ..."
      jobId = Job.submitSqoop(session) \
                  .command(sqoop_command) \
                  .statusDir("${jobDir}/output") \
                  .now().jobId
      

      Attachments

        1. KNOX-743.patch
          7 kB
          Pierre Regazzoni
        2. submitSqoop.md
          0.7 kB
          Pierre Regazzoni
        3. KNOX-743.patch.02
          7 kB
          Pierre Regazzoni

        Issue Links

          Activity

            People

              pregazzoni Pierre Regazzoni
              pregazzoni Pierre Regazzoni
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: