Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

ambari cluster + API with request_status fail

avatar

after we installed the Ambari cluster and blueprint ( hadoop version 2.6 ) ,

I run the following API in order to see if blueprint complete successfully the installation

 curl -s --user  "admin"":""admin" -H "X-Requested-By: ambari"  -X GET http://master02.sys6363.com:8080/api/v1/clusters/hdp/requests/1 

and it is very strange because when I access the ambari GUI , I see all services are up include the compliments , and all host are up also as master01 , master02 , master03 , kafka , worker01-03

but from the API we get failed on request_status

"request_status" : "FAILED",

please advice how to know exactly why requisite status is fail ? , what was wrong or how to know fail content ?

partital of the output from the API

curl -s --user  "admin"":""admin" -H "X-Requested-By: ambari"  -X GET http://master02.sys6363.com:8080/api/v1/clusters/hdp/requests/1 | more
{
  "href" : "http://master02.sys6363.com:8080/api/v1/clusters/hdp/requests/1",
  "Requests" : {
    "aborted_task_count" : 1,
    "cluster_name" : "hdp",
    "completed_task_count" : 122,
    "create_time" : 1513540772178,
    "end_time" : -1,
    "exclusive" : false,
    "failed_task_count" : 1,
    "id" : 1,
    "inputs" : null,
    "operation_level" : null,
    "progress_percent" : 100.0,
    "queued_task_count" : 0,
    "request_context" : "Logical Request: Provision Cluster 'hdp'",
    "request_schedule" : null,
    "request_status" : "FAILED",
    "resource_filters" : null,
    "start_time" : -1,
    "task_count" : 122,
    "timed_out_task_count" : 0,
    "type" : null
  },
  "stages" : [
    {
      "href" : "http://master02.sys6363.com:8080/api/v1/clusters/hdp/requests/1/stages/1",
      "Stage" : {
        "cluster_name" : "hdp",
        "request_id" : 1,
        "stage_id" : 1
      }
    },
    {
      "href" : "http://master02.sys6363.com:8080/api/v1/clusters/hdp/requests/1/stages/2",
      "Stage" : {
        "cluster_name" : "hdp",
        "request_id" : 1,
        "stage_id" : 2
      }
    },
    {
      "href" : "http://master02.sys6363.com:8080/api/v1/clusters/hdp/requests/1/stages/3",
      "Stage" : {
        "cluster_name" : "hdp",
        "request_id" : 1,
        "stage_id" : 3
      }
    },
    {
      "href" : "http://master02.sys6363.com:8080/api/v1/clusters/hdp/requests/1/stages/4",
      "Stage" : {
        "cluster_name" : "hdp",
        "request_id" : 1,
        "stage_id" : 4
      }
    },
    {
      "href" : "http://master02.sys6363.com:8080/api/v1/clusters/hdp/requests/1/stages/5",
      "Stage" : {
        "cluster_name" : "hdp",
        "request_id" : 1,
        "stage_id" : 5
      }
    }
  ],
  "tasks" : [
    {
      "href" : "http://master02.sys6363.com:8080/api/v1/clusters/hdp/requests/1/tasks/10000",
      "Tasks" : {
        "cluster_name" : "hdp",
        "id" : 10000,
        "request_id" : 1,
        "stage_id" : 1
      }
    },
    {
      "href" : "http://master02.sys6363.com:8080/api/v1/clusters/hdp/requests/1/tasks/10001",
      "Tasks" : {
        "cluster_name" : "hdp",
        "id" : 10001,
        "request_id" : 1,
        "stage_id" : 1
      }
    },
    {
      "href" : "http://master02.sys6363.com:8080/api/v1/clusters/hdp/requests/1/tasks/10002",
      "Tasks" : {
        "cluster_name" : "hdp",
        "id" : 10002,
        "request_id" : 1,
        "stage_id" : 1
      }
    },
    {
      "href" : "http://master02.sys6363.com:8080/api/v1/clusters/hdp/requests/1/tasks/10003",
      "Tasks" : {
        "cluster_name" : "hdp",
        "id" : 10003,
        "request_id" : 1,
        "stage_id" : 1
      }
    },
    {
      "href" : "http://master02.sys6363.com:8080/api/v1/clusters/hdp/requests/1/tasks/10004",
      "Tasks" : {
        "cluster_name" : "hdp",
        "id" : 10004,
        "request_id" : 1,
        "stage_id" : 1
      }
    },
    {
Michael-Bronson
11 REPLIES 11

avatar
New Contributor

Sure, here's the full blueprint : cluster-blueprint.txt

I successfully deployed this blueprint after removing the HIVE_SERVER_INTERACTIVE in section cluster-env / properties / stack_packages (line 549)

avatar
New Contributor

I am having the same problem even after removing the HIVE_SERVER_INTERACTIVE entry in the blueprint . any other suggestions ?