hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcelo Vanzin (JIRA)" <>
Subject [jira] [Commented] (HIVE-8574) Enhance metrics gathering in Spark Client [Spark Branch]
Date Wed, 26 Nov 2014 17:45:12 GMT


Marcelo Vanzin commented on HIVE-8574:

Actually, after a quick look at the code again, this might not be a problem. Metrics are kept
per-job handle. Job handles are managed by the code submitting jobs - leave them for garbage
collection and metrics go away.

So unless we're worried about a single job creating so many tasks that it will run the driver
out of memory with all the metrics data, this shouldn't really be an issue.

> Enhance metrics gathering in Spark Client [Spark Branch]
> --------------------------------------------------------
>                 Key: HIVE-8574
>                 URL:
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Spark
>            Reporter: Marcelo Vanzin
>            Assignee: Marcelo Vanzin
> The current implementation of metrics gathering in the Spark client is a little hacky.
First, it's awkward to use (and the implementation is also pretty ugly). Second, it will just
collect metrics indefinitely, so in the long term it turns into a huge memory leak.
> We need a simplified interface and some mechanism for disposing of old metrics.

This message was sent by Atlassian JIRA

View raw message