Member since
05-08-2017
11
Posts
1
Kudos Received
0
Solutions
07-02-2017
11:54 PM
1 Kudo
Hello, If the Hue Kerberos Ticket Renewer does not start, check your KDC configuration and the ticket renewal property, maxrenewlife, for the hue/<hostname> and krbtgt principals to ensure they are renewable. If not, running the following commands on the KDC will enable renewable tickets for these principals: kadmin.local: modprinc -maxrenewlife 90day krbtgt/MY.REALM
kadmin.local: modprinc -maxrenewlife 90day +allow_renewable hue/my-hostname@MY.REALM Thanks! Laith
... View more
05-09-2017
01:10 PM
@code0404 See how i'm doing this, but i collect the aggregate metrics per pool, you can just use by the application name or the user. STARTDATE=`date -d " -1 day " +%s%N | cut -b1-13` ENDDATE=`date +%s%N | cut -b1-13` result=`curl -s http://your-yarn-history-server:8088/ws/v1/cluster/apps?finishedTimeBegin=$STARTDATE&finishedTimeEnd=$ENDDATE` echo $result | python -m json.tool | sed 's/["|,]//g' | grep -E "queue|coreSeconds" | awk -v DC="$DC" ' /queue/ { queue = $2 } /vcoreSeconds/ { arr[queue]+=$2 ; } END { for (x in arr) {print DC ".yarn." x ".cpums="arr[x]} } ' echo $result | python -m json.tool | sed 's/["|,]//g' | grep -E "queue|memorySeconds" | awk -v DC="$DC" ' /queue/ { queue = $2 } /memorySeconds/ { arr1[queue]+=$2 ; } END { for (y in arr1) {print DC ".yarn." y ".memorySeconds="arr1[y]} } '
... View more