Member since
02-08-2016
793
Posts
669
Kudos Received
85
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
3064 | 06-30-2017 05:30 PM | |
3980 | 06-30-2017 02:57 PM | |
3302 | 05-30-2017 07:00 AM | |
3878 | 01-20-2017 10:18 AM | |
8396 | 01-11-2017 02:11 PM |
05-17-2016
12:21 PM
@sarfarazkhan pathan As per the screenshot user will not cause any problem while installation. Still if you wish to remove can you run the host cleanup script. The script is located on the top of the dailog box where you are able to see the user error as per screenshot you attached. # python /usr/lib/python2.6/site-packages/ambari_agent/HostCleanup.py
... View more
05-16-2016
06:33 PM
7 Kudos
1.Login to Ambari UI using admin credentials [admin/admin] 2.Check the alert definition using below command
http://<ambari_fqdn>:8080/api/v1/clusters/<cluster-name>/alert_definitions/ 3.Get the respective alert definition you wan to modify from the above output. Here for example lets say we will modify "Hive Metastore". Here we will change 'check.command.timeout' value from default 60 to 120
4.Copy the output of point2 to a file say "test.json" 5.First - Modify the test.json and remove the 2nd line of the file which starts with "href" eg. is below - "href" : "http://<ambari-fqdn>:8080/api/v1/clusters/sandbox/alert_definitions/51", 6.Second - edit the value of 'check.command.timeout' in test.json from 60.0 to 120.0 {
"name" : "check.command.timeout",
"display_name" : "Check command timeout",
"units" : "seconds",
"value" : 120.0,
"description" : "The maximum time before check command will be killed by timeout",
"type" : "NUMERIC"
},
7.Save the test.json. 8.Now POST the JSON back to reflect new updated value using below command - curl -H 'X-Requested-By:ambari' -u $ambari_username:$ambari_password -X PUT --data @test.json http://<ambari_fqdn>:8080/api/v1/clusters/<cluster-name>/alert_definitions/<alert_no>;
Ex. curl -H 'X-Requested-By:ambari' -u $ambari_username:$ambari_password -X PUT --data @test.json http://<ambari-fqdn>:8080/api/v1/clusters/sandbox/alert_definitions/51 9. Above command will display no output. 10.Check from the line below if the value are successfully modified - http://<ambari_fqdn>:8080/api/v1/clusters/<cluster-name>/alert_definitions/<alert_no>;
Eg. http://<ambari-fqdn>:8080/api/v1/clusters/sandbox/alert_definitions/51
... View more
Labels:
05-16-2016
02:03 PM
@ripunjay godhani Can you make sure your machines have access to repository to download packages. Make sure iptables and selinux are disabled on the machine.
... View more
05-16-2016
12:30 PM
@mike harding You can try 2 options - You can also try modifying the "Check Interval" for this service by logging to - Ambari UI->Alerts-"App Timeline Web UI"->Edit -> modify "Check Interval" to higher value. 2.You can try modifying "connection_timeout" value for the timeline webui. Please follow steps below a.Check alert defination using
below command - http://<ambari_fqdn>:8080/api/v1/clusters/<cluster-name>/alert_definitions/ b.Get the respective alert definition you want to modify from
above command- here for example we will modify "App Timeline webui" alert value for "connection_timeout" changing
value from 5.0 to 50.0 c. Copy the json into file name test.json d. Modify the json value for "connection_timeout" : 5.0" to "connection_timeout" : 50.0" and save the file. e. PUT it using below command - curl
-H 'X-Requested-By:ambari' -u $ambari_username:$ambari_password -X PUT --data
@test.json http://<ambari_fqdn>:8080/api/v1/clusters/<cluster-name>/alert_definitions/<alert_no>/
... View more
05-16-2016
10:32 AM
@Thomas Larsson If the Namenode is not able to get a heartbeat from datanode if datanode is not able to send block report to namenode in specified time [here - the data node might node able to send block report due to bad disk] Then datanode seems to be down/not responsive in such cases.
... View more
05-16-2016
06:10 AM
Meanwhile can you check if you are able to get JMX value of the alert. Also try to get the alert defination using api - Make a GET request to get the alert definition for the alert you want to change
GET api/v1/clusters/<cluster>/alert_definitions GET api/v1/clusters/<cluster>/alert_definitions/<id> from above call
... View more
05-16-2016
06:07 AM
Hi @mike harding This seems to be known behaviour in Ambari 2.2.1.0. There is also internal bug raised in hortonworks jira for the same - BUG-47724. This jira is resolved and the resolution seems to be fixed in Ambari 2.2.2.0
... View more
05-12-2016
05:43 AM
Hi Anat Tokman Can you let me know the version of AMbari and HDP you are using ?
... View more
05-11-2016
01:16 PM
@Kalman Jantner Can you try $yum clean all and retry. Check if helps.
... View more
05-11-2016
12:19 PM
@AT ranger policies always takes precedence and then HDFS permissions. You can disable fallback method. pls check this - http://hortonworks.com/blog/best-practices-in-hdfs-authorization-with-apache-ranger/
... View more