@Raj ji
In ambari UI just search for "hive_log_maxbackupindex" and "hive2_log_maxbackupindex" and then change it to 10 ( emans the hive logs should not exceed more than 10 back indexes)
Ambari UI --> Hive --> Configs --> Advanced --> (In the "Properties Filter" just below the "Service Action" Button) type "maxbackupindex" then you will find the two text fields with default value as (30) means by default 30 days log copies are saved. Change the value to 10
Then restart all required services.
.