Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-13436

Kerberos Wizard: null in request logs

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.1.2
    • 2.2.0
    • ambari-server
    • None

    Description

      In Enable Kerberos Wizard, after request to Kerberize cluster, when trying to get logs server returns:

      {
      href: "http://c6401.ambari.apache.org:8080/api/v1/clusters/c/requests/9",
      Requests: {
      aborted_task_count: 0,
      cluster_name: "c",
      completed_task_count: 8,
      create_time: 1443112783418,
      end_time: 1443112805735,
      exclusive: false,
      failed_task_count: 0,
      id: 9,
      inputs: null,
      operation_level: null,
      progress_percent: 100,
      queued_task_count: 0,
      request_context: "Preparing Operations",
      request_schedule: null,
      request_status: "COMPLETED",
      resource_filters: [ ],
      start_time: 1443112783459,
      task_count: 8,
      timed_out_task_count: 0,
      type: "INTERNAL_REQUEST"
      },
      tasks: [
      {
      href: "http://c6401.ambari.apache.org:8080/api/v1/clusters/c/requests/9/tasks/77",
      Tasks: {
      cluster_name: "c",
      command: "EXECUTE",
      command_detail: "Preparing Operations",
      end_time: 1443112783549,
      exit_code: 0,
      host_name: null,
      id: 77,
      request_id: 9,
      role: "AMBARI_SERVER_ACTION",
      stage_id: 0,
      start_time: 1443112783463,
      status: "COMPLETED",
      structured_out: { }
      }
      }
      ]
      }
      

      So inputs, operation_level, request_schedule, host_name have value null. UI cannot parse properly these logs and user is unable to see logs.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            rlevas Robert Levas
            rlevas Robert Levas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment