Uploaded image for project: 'Griffin'
  1. Griffin
  2. GRIFFIN-290

Fix bug for submitting job to livy

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.6.0
    • None
    • None

    Description

      When griffin submit multiple DQ jobs to livy, the http parameter `name` is always griffin.
      So livy will reject them.

      job request :

       

      [owner: null, request: [proxyUser: None, file: hdfs://nameservice-standby/user/kun.wan/measure-0.6.0-SNAPSHOT.jar,
      args:

      Unknown macro: { "spark" }

      ,
      "sinks" : [
      Unknown macro: { .... }
      ],
      "griffin.checkpoint" : [ ]
      },

      Unknown macro: { "measure.type" }

      ],
      "evaluate.rule" :

      ,
      "measure.type" : "griffin"
      },raw,raw, driverMemory: 1g, executorMemory: 6g, executorCores: 2, numExecutors: 6, queue: root.users.kun_dot_wan, name: griffin]]

       

      livy Response : 

      400 Bad Request
      [Date:"Thu, 12 Sep 2019 10:00:00 GMT", Content-Type:"application/json;charset=utf-8", Content-Length:"47", Server:"Jetty(9.3.24.v20180605)"]

      Unknown macro: {"msg"}

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wankunde wan kun
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m