Skip to content

Commit

Permalink
(awslabs#7) docs: install jq
Browse files Browse the repository at this point in the history
  • Loading branch information
seunggabi committed Feb 16, 2023
1 parent aac773d commit 3aaa783
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions yarn-log-collector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,20 @@
#### Parameters
- -m: mode [1] HTTPS with Kerberos Case [2] HTTPS Case [3] HTTP Case ex) -m 3
- -u: yarn resource manager url (http or https) ex) https://xx.xx.xx.xx:8090, http://xx..xx.xx:8088
- null: `aws emr list-clusters --active`
- Need to install [`jq`](https://stedolan.github.io/jq/download/)

- Run example
```
sh start-collector.sh -m 3 -u 10.10.160.64
### Start yarn logs collecting from curl.
### HTTP Secure-Mode: 3
### YARN-RM HOST: 10.10.160.64
### Yarn Cluter API target: http://10.10.160.64:8088/ws/v1/cluster/apps
### HTTP Case
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 18.0M 0 18.0M 0 0 22.0M 0 --:--:-- --:--:-- --:--:-- 22.0M
### Yarn Cluter API target: http://10.10.160.64:8088/ws/v1/cluster/apps
### Collecting yarn logs completed.
```
```
Expand All @@ -35,11 +37,11 @@ sh start-collector.sh -m 3
### Start yarn logs collecting from curl.
### HTTP Secure-Mode: 3
### YARN-RM HOST: 10.10.160.64
### Yarn Cluter API target: http://10.10.160.64:8088/ws/v1/cluster/apps
### HTTP Case
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 18.0M 0 18.0M 0 0 22.0M 0 --:--:-- --:--:-- --:--:-- 22.0M
### Yarn Cluter API target: http://10.10.160.64:8088/ws/v1/cluster/apps
### Collecting yarn logs completed.
```
Result file(collected yarn logs) generated in output running directory.
Expand Down

0 comments on commit 3aaa783

Please sign in to comment.