Member since
08-08-2017
1652
Posts
30
Kudos Received
11
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 1970 | 06-15-2020 05:23 AM | |
| 16073 | 01-30-2020 08:04 PM | |
| 2108 | 07-07-2019 09:06 PM | |
| 8250 | 01-27-2018 10:17 PM | |
| 4676 | 12-31-2017 10:12 PM |
09-15-2017
01:08 PM
just to remined I need to change this value on worker machine
... View more
09-15-2017
01:07 PM
is it possible to change it from CLI or API
... View more
09-15-2017
01:00 PM
I have access to ambari GUI as admin admin
... View more
09-15-2017
12:39 PM
how to change the NodeManager Java heap size value , this value cant change from the ambari GUI ( value is static ), how to enable in order to change it I need to change this parameter according to the solution - https://community.hortonworks.com/content/supportkb/49606/gc-overhead-limit-exceeded.html we have a problem to start the nodemanager on the worker machine example from the log on worker machine: FATAL nodemanager.NodeManager (NodeManager.java:initAndStartNodeManager(549)) - Error starting NodeManager
java.lang.OutOfMemoryError: GC overhead limit exceeded
at org.fusesource.leveldbjni.internal.NativeIterator.key(NativeIterator.java:171)
at org.fusesource.leveldbjni.internal.JniDBIterator.peekNext(JniDBIterator.java:87)
at org.apache.hadoop.yarn.server.utils.LeveldbIterator.peekNext(LeveldbIterator.java:137)
at org.apache.hadoop.yarn.server.nodemanager.recovery.NMLeveldbStateStoreService.loadContainersState(NMLeveldbStateStoreService.java:169)
at org.apache.hadoop.yarn.server.nodemanager.containermanager.ContainerManagerImpl.recover(ContainerManagerImpl.java:262)
at org.apache.hadoop.yarn.server.nodemanager.containermanager.ContainerManagerImpl.serviceInit(ContainerManagerImpl.java:246)
at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:107)
at org.apache.hadoop.yarn.server.nodemanager.NodeManager.serviceInit(NodeManager.java:291)
at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
at org.apache.hadoop.yarn.server.nodemanager.NodeManager.initAndStartNodeManager(NodeManager.java:546)
at org.apache.hadoop.yarn.server.nodemanager.NodeManager.main(NodeManager.java:594)
2017-09-15 11:19:27,456 INFO util.ExitUtil (ExitUtil.java:halt(147)) - Halt with status -1 Message: HaltException
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Hadoop
09-11-2017
06:47 PM
when I run the first syntax ( step 1 ) I get - USERID=admin
PASSWORD=admin
PORT=:8080
[ERROR] "/tmp/cluster-env.txt" not found in server response.
[ERROR] Output of `curl -k -s -u admin:admin "http://master.uns.com:8080/api/v1/clusters/cluster-env?fields=Clusters/desired_configs"` is:
[ERROR] { "status" : 404, "message" : "The requested resource doesn't exist: Cluster not found, clusterName=cluster-env" }
... View more
09-11-2017
02:19 PM
is it possible by API to check that button change from disable to enable ?
... View more
09-11-2017
12:42 PM
I want to enable the button - Auto-Start Services from disable to enable by API as described in picture2 (capture2), the default status is as described in picture1 * need to set the button to enable - in order to configure all the components as auto start
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Hadoop
09-06-2017
02:48 PM
I do the following API in order to enable all services in ambari cluster to start automatically on system first I collect all components: list_of_all_components=` curl -H "X-Requested-By: ambari" -u admin:admin -X GET "http://localhost:8080/api/v1/clusters/HDP01/components?fields=ServiceComponentInf/component_name,ServiceComponentInfo/service_name,ServiceComponentInfo/categoy,ServiceComponentInfo/recovery_enabled,ServiceComponentInfo/total_count&minimal_response=true" | grep component_name | sed s'/"//g' | sed s'/,//g' | awk '{print $NF}' ` then I add the field separator "," LIST=` echo $list_of_all_components | sed s'/ /,/g' ` and I defined the variable - $LIST inside the following API curl -H "X-Requested-By: ambari" -u admin:admin -X PUT -d '{"RequestInfo":{"query":"ServiceComponentInfo/component_name.in($LIST)"},"ServiceComponentInfo":{"recovery_enabled":"true"}}' http://localhost:8080/api/v1/clusters/HDP01/components? what is wrong with this , why API not accepted the variable - $LIST
{
"status" : 500,
"message" : "org.apache.ambari.server.controller.spi.SystemException: An internal system exception occurred: Could not find service for component, componentName=$LIST, clusterName=HDP01, stackInfo=HDP-2.6" remark - the answer - https://community.hortonworks.com/questions/135367/service-auto-start-configuration-by-api.html , is the same solution but have the real names components , what we want is to add the variable $LIST insted the real componets name
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Hadoop
09-04-2017
04:48 PM
another note the components - JournalNode,ZKFailoverController are still disable
... View more
09-04-2017
04:22 PM
capture.png see the PIC above , why after API the Auto-Start Services still disable from the GUI ?
... View more