Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Services are not coming up

Highlighted

Re: Services are not coming up

Super Mentor

@Saurabh

As you mentioned that service startup is taking a very long time.

Many times we see that ambari takes a very long time to start services in AD environment. Because it tries to connect to AD for every service user and validating causing high usage. In such cases we can try setting the "ignore_groupusers_create" to "true"

/var/lib/ambari-server/resources/scripts/configs.sh -u admin -p admin set <AMBARI_FQDN> <CLUSTER_NAME> cluster-env ignore_groupusers_create "true" 

.

You can also get the cluste-env details as following:

<a href="http://<AMBARI_HOST">http://:8080/api/v1/clusters//configurations?type=cluster-env&tag=</a>>:8080/api/v1/clusters/<CLUSTER_NAME>/configurations?type=cluster-env&tag=<LATEST_VERSION>

Example: Get the latest version tag from : http://kjss1:8080/api/v1/clusters/JoyCluster/configurations?type=cluster-env

Then open that version tag: http://kjss1:8080/api/v1/clusters/JoyCluster/configurations?type=cluster-env&tag=version148819084789...

.Search for "ignore_groupusers_create" ti verify if it is set to "true"?

Re: Services are not coming up

Guru

@Jay SenSharma: I can see following values. So do you suggest me to change ignore_groupusers_create to true and again disable "Manage Kerberos client krb5.conf" and try ?

http://m1.hdp22:8080/api/v1/clusters/hdp22/configurations?type=cluster-env

{
  "href" : "http://m1.hdp22:8080/api/v1/clusters/hdp22/configurations?type=cluster-env",
  "items" : [
    {
      "href" : "http://m1.hdp22:8080/api/v1/clusters/hdp22/configurations?type=cluster-env&tag=version1",
      "tag" : "version1",
      "type" : "cluster-env",
      "version" : 1,
      "Config" : {
        "cluster_name" : "hdp22",
        "stack_id" : "HDP-2.2"
      }
    },
    {
      "href" : "http://m1.hdp22:8080/api/v1/clusters/hdp22/configurations?type=cluster-env&tag=version1489041629699",
      "tag" : "version1489041629699",
      "type" : "cluster-env",
      "version" : 2,
      "Config" : {
        "cluster_name" : "hdp22",
        "stack_id" : "HDP-2.2"
      }
    },
    {
      "href" : "http://m1.hdp22:8080/api/v1/clusters/hdp22/configurations?type=cluster-env&tag=version1489041632732",
      "tag" : "version1489041632732",
      "type" : "cluster-env",
      "version" : 3,
      "Config" : {
        "cluster_name" : "hdp22",
        "stack_id" : "HDP-2.2"
      }
    },
    {
      "href" : "http://m1.hdp22:8080/api/v1/clusters/hdp22/configurations?type=cluster-env&tag=version1489068743367",
      "tag" : "version1489068743367",
      "type" : "cluster-env",
      "version" : 4,
      "Config" : {
        "cluster_name" : "hdp22",
        "stack_id" : "HDP-2.2"
      }
    },
    {
      "href" : "http://m1.hdp22:8080/api/v1/clusters/hdp22/configurations?type=cluster-env&tag=version1489070163391",
      "tag" : "version1489070163391",
      "type" : "cluster-env",
      "version" : 5,
      "Config" : {
        "cluster_name" : "hdp22",
        "stack_id" : "HDP-2.3"
      }
    },
    {
      "href" : "http://m1.hdp22:8080/api/v1/clusters/hdp22/configurations?type=cluster-env&tag=version1489140281369",
      "tag" : "version1489140281369",
      "type" : "cluster-env",
      "version" : 6,
      "Config" : {
        "cluster_name" : "hdp22",
        "stack_id" : "HDP-2.3"
      }
    }
  ]
}
{
  "href" : "http://m1.hdp22:8080/api/v1/clusters/hdp22/configurations?type=cluster-env&tag=version1489140281369",
  "items" : [
    {
      "href" : "http://m1.hdp22:8080/api/v1/clusters/hdp22/configurations?type=cluster-env&tag=version1489140281369",
      "tag" : "version1489140281369",
      "type" : "cluster-env",
      "version" : 6,
      "Config" : {
        "cluster_name" : "hdp22",
        "stack_id" : "HDP-2.3"
      },
      "properties" : {
        "fetch_nonlocal_groups" : "true",
        "hadoop-streaming_tar_destination_folder" : "hdfs:///hdp/apps/{{ hdp_stack_version }}/mapreduce/",
        "hadoop-streaming_tar_source" : "/usr/hdp/current/hadoop-mapreduce-client/hadoop-streaming.jar",
        "hive_tar_destination_folder" : "hdfs:///hdp/apps/{{ hdp_stack_version }}/hive/",
        "hive_tar_source" : "/usr/hdp/current/hive-client/hive.tar.gz",
        "ignore_groupsusers_create" : "false",
        "kerberos_domain" : "EXAMPLE.COM",
        "managed_hdfs_resource_property_names" : "",
        "mapreduce_tar_destination_folder" : "hdfs:///hdp/apps/{{ hdp_stack_version }}/mapreduce/",
        "mapreduce_tar_source" : "/usr/hdp/current/hadoop-client/mapreduce.tar.gz",
        "override_uid" : "true",
        "pig_tar_destination_folder" : "hdfs:///hdp/apps/{{ hdp_stack_version }}/pig/",
        "pig_tar_source" : "/usr/hdp/current/pig-client/pig.tar.gz",
        "repo_suse_rhel_template" : "[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0",
        "repo_ubuntu_template" : "{{package_type}} {{base_url}} {{components}}",
        "security_enabled" : "true",
        "smokeuser" : "ambari-qa",
        "smokeuser_keytab" : "/etc/security/keytabs/smokeuser.headless.keytab",
        "smokeuser_principal_name" : "ambari-qa-hdp22@HADOOPADMIN.COM",
        "sqoop_tar_destination_folder" : "hdfs:///hdp/apps/{{ hdp_stack_version }}/sqoop/",
        "sqoop_tar_source" : "/usr/hdp/current/sqoop-client/sqoop.tar.gz",
        "tez_tar_destination_folder" : "hdfs:///hdp/apps/{{ hdp_stack_version }}/tez/",
        "tez_tar_source" : "/usr/hdp/current/tez-client/lib/tez.tar.gz",
        "user_group" : "hadoop"
      }
    }
  ]
}
Highlighted

Re: Services are not coming up

New Contributor

@Saurabh seems like a DNS/Curl/general connectivity problem to me. (The error you posted above).

Have you already tried this:

https://community.hortonworks.com/questions/33672/webhdfs-only-reachable-from-local-server.html

Regards

Don't have an account?
Coming from Hortonworks? Activate your account here