Member since
04-03-2019
962
Posts
1743
Kudos Received
146
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
11047 | 03-08-2019 06:33 PM | |
4777 | 02-15-2019 08:47 PM | |
4092 | 09-26-2018 06:02 PM | |
10409 | 09-07-2018 10:33 PM | |
5494 | 04-25-2018 01:55 AM |
04-21-2017
01:20 AM
Hi, How to find the guest ip of the system?
... View more
11-11-2016
09:02 AM
Is possible to follow above approach in Kerberos environment? I tried above step to run job as proxy user but it failed. Got GSS initialization exception. Any pointers?
... View more
02-03-2016
04:42 AM
4 Kudos
Thank you so much @vsharma here is the test results Smoke
test [root@sandbox ~]# curl -u admin:admin -i -H 'X-Requested-By: ambari' -X POST -d '{"RequestInfo": {"context" :"YARN Service Check","command":"YARN_SERVICE_CHECK"},"Requests/resource_filters":[{"service_name":"YARN"}]}' http://127.0.0.1:8080/api/v1/clusters/Sandbox/requestsHTTP/1.1 202
AcceptedUser: adminSet-Cookie:
AMBARISESSIONID=1vg24zix87lkmi53hpjl4krvk;Path=/;HttpOnlyExpires: Thu, 01 Jan
1970 00:00:00 GMTContent-Type:
text/plainVary:
Accept-Encoding, User-AgentContent-Length: 137Server:
Jetty(8.1.17.v20150415){ "href" : "http://127.0.0.1:8080/api/v1/clusters/Sandbox/requests/87", "Requests" : { "id" : 87, "status" : "Accepted" }}[root@sandbox ~]#
Track
status of above smoke test curl -u admin:admin -i -H 'X-Requested-By: ambari' -X GET http://127.0.0.1:8080/api/v1/clusters/Sandbox/requests/87 Note - request number can be found from http://127.0.0.1:8080/api/v1/clusters/Sandbox/requests url, we should pickup the last request id to check the status.
... View more
02-11-2016
01:58 AM
1 Kudo
Thank you @Neeraj Sabharwal
... View more
09-05-2017
07:27 PM
We use HDFS on Isilon OneFS and the upgrade would normally get stuck on upgrade check on the Isilon node. In order to allow the upgrade to proceed, we have to disable the preUpgradeCheck. Hoping Ambari will eventually have a better documented upgrade guide for those who use Isilon HDFS.
... View more
08-26-2016
07:18 PM
I've seen it recommended to change the first line to: if [ "$SERVICE" = "cli" ] && [ "$USER" != "ambari-qa" ]; then
Without this, Ambari won't be able to check Hive metastore state and will throw an alert (at least in HDP 2.4).
... View more
04-04-2016
07:50 PM
Hello I'm having the same problem. After changing ranger admin password in ranger & in ambari (under ambari ranger config) hive server won't start. I get No json object could be decoded. Only if I disable ranger from hive authorization it starts. Hdp 2.3.2 Ambari 2.1.2.1 Any help would appreciated. Adi
... View more
06-10-2016
12:35 PM
If you want to use a standard tool rather than managing the API/HTTP calls via scripts, you can use Ansible. We've enabled such a feature on the Rackspace deployment playbooks: https://github.com/rackerlabs/ansible-hadoop/blob/master/playbooks/roles/ambari-server/tasks/main.yml#L127 I've create a gist only for that function: https://gist.github.com/alexandruanghel/68a16994028563be12cee4e3b93f7e89 if you want to use it straight away. So once you download the statuscheck.yml just set the variables and run it: AMBARI_HOST=127.0.0.1
AMBARI_PASSWORD=admin
CLUSTER_NAME=hadoop-poc
ansible-playbook -e "ansible_nodename=$AMBARI_HOST cluster_name=$CLUSTER_NAME ambari_password=$AMBARI_PASSWORD wait_timeout=1800" statuscheck.yml
... View more
01-11-2016
06:01 PM
1 Kudo
@Kuldeep Kulkarni
create cluster command is asynchronous, what specifically will you gain from having a timeout? You may need to file an enhancement jira with Ambari project. Step 5: Create Cluster POST /api/v1/clusters/:clusterName Request body includes blueprint name, host mappings and configurations from Step 3. Request is asynchronous and returns a /requests URL which can be used to monitor progress.
... View more