[jira] [Updated] (IMPALA-8236) Adding new TUnit values to runtime profile is broken

2019-02-20 Thread Tim Armstrong (JIRA)


 [ 
https://issues.apache.org/jira/browse/IMPALA-8236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tim Armstrong updated IMPALA-8236:
--
Affects Version/s: Impala 2.12.0
   Impala 3.1.0

> Adding new TUnit values to runtime profile is broken
> 
>
> Key: IMPALA-8236
> URL: https://issues.apache.org/jira/browse/IMPALA-8236
> Project: IMPALA
>  Issue Type: Bug
>  Components: Backend
>Affects Versions: Impala 2.12.0, Impala 3.1.0
>Reporter: Tim Armstrong
>Priority: Major
>  Labels: observability
>
> See IMPALA-8235 for context.
> The problem this tracks is that there's no way to add a new value to the 
> TUnit enum, which is required in TCounter, without breaking existing readers 
> (at least Java readers), which will fail to decode TCounter values with an 
> enum value they don't recognise.
> The workaround is to only use  the following units in anything that is 
> serialised into a TCounter:
> {noformat}
>   UNIT,
>   UNIT_PER_SECOND,
>   CPU_TICKS,
>   BYTES
>   BYTES_PER_SECOND,
>   TIME_NS,
>   DOUBLE_VALUE
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org



[jira] [Updated] (IMPALA-8236) Adding new TUnit values to runtime profile is broken

2019-02-20 Thread Tim Armstrong (JIRA)


 [ 
https://issues.apache.org/jira/browse/IMPALA-8236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tim Armstrong updated IMPALA-8236:
--
Labels: observability  (was: )

> Adding new TUnit values to runtime profile is broken
> 
>
> Key: IMPALA-8236
> URL: https://issues.apache.org/jira/browse/IMPALA-8236
> Project: IMPALA
>  Issue Type: Bug
>  Components: Backend
>Reporter: Tim Armstrong
>Priority: Major
>  Labels: observability
>
> See IMPALA-8235 for context.
> The problem this tracks is that there's no way to add a new value to the 
> TUnit enum, which is required in TCounter, without breaking existing readers 
> (at least Java readers), which will fail to decode TCounter values with an 
> enum value they don't recognise.
> The workaround is to only use  the following units in anything that is 
> serialised into a TCounter:
> {noformat}
>   UNIT,
>   UNIT_PER_SECOND,
>   CPU_TICKS,
>   BYTES
>   BYTES_PER_SECOND,
>   TIME_NS,
>   DOUBLE_VALUE
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org