[
https://issues.apache.org/jira/browse/IMPALA-8277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16793873#comment-16793873
]
ASF subversion and git services commented on IMPALA-8277:
---------------------------------------------------------
Commit b79a03bf408e32d0a29ead33c788b84e7bf1d439 in impala's branch
refs/heads/master from Tim Armstrong
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=b79a03b ]
IMPALA-8277: support ranges in CPU lists
Generalise the logic to handle comma-separated ranges.
Testing:
Added unit test for parsing logic to test the various possible
permutations of CPU ranges.
Porting notes:
This is a port of KUDU-2721. There were some minor conflicts
around include ordering in sysinfo.cc that I resolved by
switching more of includes to match Kudu's version. I also
made sure to make sysinfo-test runnable without modifications
to the source file, which is possible with the new unified
backend test infrastructure.
Change-Id: I97311bfbcf70bea069e941b6e7f4f015fb781b3f
Reviewed-on: http://gerrit.cloudera.org:8080/12657
Reviewed-by: Adar Dembo <[email protected]>
Tested-by: Kudu Jenkins
Reviewed-on: http://gerrit.cloudera.org:8080/12755
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> CHECK can be hit when there are gaps in present CPU numbers (KUDU-2721)
> -----------------------------------------------------------------------
>
> Key: IMPALA-8277
> URL: https://issues.apache.org/jira/browse/IMPALA-8277
> Project: IMPALA
> Issue Type: Bug
> Components: Backend
> Affects Versions: Impala 3.1.0, Impala 3.2.0
> Reporter: Tim Armstrong
> Assignee: Tim Armstrong
> Priority: Critical
> Labels: crash
>
> This is a placeholder to port KUDU-2721 to our gutil once it's fixed.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]