Member since
08-08-2017
1652
Posts
30
Kudos Received
11
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2093 | 06-15-2020 05:23 AM | |
| 17434 | 01-30-2020 08:04 PM | |
| 2254 | 07-07-2019 09:06 PM | |
| 8716 | 01-27-2018 10:17 PM | |
| 4913 | 12-31-2017 10:12 PM |
04-02-2018
10:06 PM
@Geoffrey Shelton Okot , first thank you , you said that you prefer to do ambari-server stop instead stooping the components on the worker machine , but stooping all cluster by ambari-server stop will cause downtime on this cluster !!!, so I not feel good with this action , so stop the component only on the worker machine is less dramatic then stooping all cluster on production second , regarding to your step 3 , as I said datanode directory is configured ok , no need to change anything regarding to your step 4 , why I need to access each datanode while the problem is only on one datanode ( worker75 ) ? as you know we have 165 workers machines but only worker75 have the problem so all datanode are ok , the only problem is with one worker machine , as I mentioned sdd not created under /grid instead of that sdd created under slash , so this is the reason that we want to copy the content under /sdd to /grid/sdd
... View more
04-02-2018
02:58 PM
my scenario is little different , we not need to change ambari configuration since /grid/sdd already configured under HDFS --> config in ( DataNode directories ) second , by cp -rp I am actually copy the folders permissions as is so can you approve my steps 1-4 ?
... View more
04-02-2018
02:40 PM
hi all we have ambari cluster with 165 workers machines each worker have 4 disks ( /grid/sda /gird/sdb /grid/sdc /grid/sdd ) on of the workers have only 3 disks insted 4 disks so after blueprint installation , on that worker sdd created under "/" and not under /grid this cause / partition to became nearly 100% so we want to create new disk on this worker as /grid/sdd and copy the content under /sdd to /grid/sdd so the procedure should be like this 1. create new disk - /grid/sdd and update /etc/fstab and mount /grid/sdd
2. stop all workers components
3. cp -rp /sdd/* /grid/sdd
4. start all workers components please advice if all steps 1-4 are the right steps regarding my problem workers components
... View more
Labels:
03-28-2018
07:13 PM
what is the API to stop the Metrics Collector ? I ask this API because the API that should to the ambari metrics some times missed to stop the Metrics Collector
... View more
Labels:
03-27-2018
04:19 PM
@Aditya what is the syntax for ambari metrics start ?
... View more
03-27-2018
04:17 PM
now we have the output , its ok HTTP/1.1 202 Accepted
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Cache-Control: no-store
Pragma: no-cache
Set-Cookie: AMBARISESSIONID=1sn5tlp90xkn81kp3n34hterju;Path=/;HttpOnly
Expires: Thu, 01 Jan 1970 00:00:00 GMT
User: admin
Content-Type: text/plain
Vary: Accept-Encoding, User-Agent
Content-Length: 135
Server: Jetty(8.1.19.v20160209)
{
"href" : "http://localhost:8080/api/v1/clusters/hdp/requests/64",
"Requests" : {
"id" : 64,
"status" : "Accepted"
}
... View more
03-27-2018
04:02 PM
I tried your syntax but we get: curl: (6) Could not resolve host: PUT; Unknown error
HTTP/1.1 400 Bad Request
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Cache-Control: no-store
Pragma: no-cache
Set-Cookie: AMBARISESSIONID=5u0mvfkjcd6v1pa1v5apjaymk;Path=/;HttpOnly
Expires: Thu, 01 Jan 1970 00:00:00 GMT
User: admin
Content-Type: text/plain
Content-Length: 131
Server: Jetty(8.1.19.v20160209)
{
"status" : 400,
"message" : "Invalid desired state only INIT state allowed during creation, providedDesiredState=INSTALLED"
... View more
03-27-2018
03:29 PM
I am using in my bash script the following API in order to stop the ambari METRICS curl -u $USER:$PASSWD -i -H 'X-Requested-By: ambari' -X PUT -d '{"RequestInfo": {"context" :"$METRICS_SERVICE_ACTION AMBARI_METRICS via REST"}, "Body": {"ServiceInfo": {"state": "INSTALLED"}}}' http://localhost:8080/api/v1/clusters/hdp/services/AMBARI_METRICS
the problem is that Metrics Collector not stopped and also Metrics Monitor on one of the workers machine so actually ambari METRICS was stop partially
my question is
dose my syntax to stop the ambari metrics is the right syntax? second
can we force the Metrics Monitor to stop ?
... View more
Labels:
03-27-2018
01:26 PM
just to explain my case , when we run the script more then 100 times then 100 json file created , so we want to avoid the files creation because we run the script under /.../.../sbin folder
... View more
03-27-2018
01:25 PM
if we cant block the file creation then is it possible to write this file on other folder as /var/tmp insted my curent folder ?
... View more