sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Veena Basavaraj (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SQOOP-1638) Notification on Submission.
Date Wed, 29 Oct 2014 13:51:35 GMT
Veena Basavaraj created SQOOP-1638:

             Summary: Notification on Submission.
                 Key: SQOOP-1638
                 URL: https://issues.apache.org/jira/browse/SQOOP-1638
             Project: Sqoop
          Issue Type: Sub-task
            Reporter: Veena Basavaraj
            Assignee: Veena Basavaraj

What is this really supposed to do?

There was some hacky code to set this URL

// TODO: This should be outsourced somewhere more suitable than here
        if(JobManager.getInstance().getNotificationBaseUrl() == null) {
          String url = ctx.getRequest().getRequestURL().toString();
            url.split("v1")[0] + "/v1/submission/notification/");


But all it did was return status


  private JsonBean handleNotification(RequestContext ctx, String sjid) {
    LOG.debug("Received notification request for job " + sjid);
    return JsonBean.EMPTY_BEAN;


This message was sent by Atlassian JIRA

View raw message