[jira] [Work logged] (HIVE-26065) incorrect metric for active calls —— alter_partitions and alter_partition

2023-01-06 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-26065?focusedWorklogId=837650=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-837650
 ]

ASF GitHub Bot logged work on HIVE-26065:
-

Author: ASF GitHub Bot
Created on: 07/Jan/23 00:39
Start Date: 07/Jan/23 00:39
Worklog Time Spent: 10m 
  Work Description: ayushtkn merged PR #3919:
URL: https://github.com/apache/hive/pull/3919




Issue Time Tracking
---

Worklog Id: (was: 837650)
Time Spent: 2h 40m  (was: 2.5h)

> incorrect metric for active calls ——  alter_partitions and  alter_partition
> ---
>
> Key: HIVE-26065
> URL: https://issues.apache.org/jira/browse/HIVE-26065
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Reporter: DongWei
>Assignee: DongWei
>Priority: Major
>  Labels: pull-request-available
> Attachments: HIVE-26065.1.patch
>
>  Time Spent: 2h 40m
>  Remaining Estimate: 0h
>
> In our production environment, we found that the value of the metric 
> "active_calls_alter_partition" was negative. This is very confusing.
> After checking the HMSHandler.class, we found that the method 
> alter_partitions_with_environment_context called()
> *startTableFunction("alter_partitions", catName, db_name, tbl_name);* 
> *...* 
> *endFunction("alter_partition", oldParts != null, ex, tbl_name);*
> So the metric "active_calls_alter_partition" will be decremented by one after 
> the "alter_partitions" function execution ends, causing the value become a 
> negative number



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Work logged] (HIVE-26065) incorrect metric for active calls —— alter_partitions and alter_partition

2023-01-06 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-26065?focusedWorklogId=837448=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-837448
 ]

ASF GitHub Bot logged work on HIVE-26065:
-

Author: ASF GitHub Bot
Created on: 06/Jan/23 10:19
Start Date: 06/Jan/23 10:19
Worklog Time Spent: 10m 
  Work Description: ayushtkn commented on PR #3919:
URL: https://github.com/apache/hive/pull/3919#issuecomment-1373437839

   @Tuan I will merge it by EOD, if nobody else has objections, need to 
give time to folks in other time zones to have a look as well, if they are 
interested.




Issue Time Tracking
---

Worklog Id: (was: 837448)
Time Spent: 2.5h  (was: 2h 20m)

> incorrect metric for active calls ——  alter_partitions and  alter_partition
> ---
>
> Key: HIVE-26065
> URL: https://issues.apache.org/jira/browse/HIVE-26065
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Reporter: DongWei
>Assignee: DongWei
>Priority: Major
>  Labels: pull-request-available
> Attachments: HIVE-26065.1.patch
>
>  Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> In our production environment, we found that the value of the metric 
> "active_calls_alter_partition" was negative. This is very confusing.
> After checking the HMSHandler.class, we found that the method 
> alter_partitions_with_environment_context called()
> *startTableFunction("alter_partitions", catName, db_name, tbl_name);* 
> *...* 
> *endFunction("alter_partition", oldParts != null, ex, tbl_name);*
> So the metric "active_calls_alter_partition" will be decremented by one after 
> the "alter_partitions" function execution ends, causing the value become a 
> negative number



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Work logged] (HIVE-26065) incorrect metric for active calls —— alter_partitions and alter_partition

2023-01-06 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-26065?focusedWorklogId=837425=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-837425
 ]

ASF GitHub Bot logged work on HIVE-26065:
-

Author: ASF GitHub Bot
Created on: 06/Jan/23 08:11
Start Date: 06/Jan/23 08:11
Worklog Time Spent: 10m 
  Work Description: Tuan commented on PR #3919:
URL: https://github.com/apache/hive/pull/3919#issuecomment-1373329063

   @ayushtkn  Can we please merge this. Thanks




Issue Time Tracking
---

Worklog Id: (was: 837425)
Time Spent: 2h 20m  (was: 2h 10m)

> incorrect metric for active calls ——  alter_partitions and  alter_partition
> ---
>
> Key: HIVE-26065
> URL: https://issues.apache.org/jira/browse/HIVE-26065
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Reporter: DongWei
>Assignee: DongWei
>Priority: Major
>  Labels: pull-request-available
> Attachments: HIVE-26065.1.patch
>
>  Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> In our production environment, we found that the value of the metric 
> "active_calls_alter_partition" was negative. This is very confusing.
> After checking the HMSHandler.class, we found that the method 
> alter_partitions_with_environment_context called()
> *startTableFunction("alter_partitions", catName, db_name, tbl_name);* 
> *...* 
> *endFunction("alter_partition", oldParts != null, ex, tbl_name);*
> So the metric "active_calls_alter_partition" will be decremented by one after 
> the "alter_partitions" function execution ends, causing the value become a 
> negative number



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Work logged] (HIVE-26065) incorrect metric for active calls —— alter_partitions and alter_partition

2023-01-05 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-26065?focusedWorklogId=837385=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-837385
 ]

ASF GitHub Bot logged work on HIVE-26065:
-

Author: ASF GitHub Bot
Created on: 06/Jan/23 02:14
Start Date: 06/Jan/23 02:14
Worklog Time Spent: 10m 
  Work Description: sonarcloud[bot] commented on PR #3919:
URL: https://github.com/apache/hive/pull/3919#issuecomment-1373051563

   Kudos, SonarCloud Quality Gate passed!  [![Quality Gate 
passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png
 'Quality Gate 
passed')](https://sonarcloud.io/dashboard?id=apache_hive=3919)
   
   
[![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png
 
'Bug')](https://sonarcloud.io/project/issues?id=apache_hive=3919=false=BUG)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_hive=3919=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_hive=3919=false=BUG)
  
   
[![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png
 
'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_hive=3919=false=VULNERABILITY)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_hive=3919=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_hive=3919=false=VULNERABILITY)
  
   [![Security 
Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png
 'Security 
Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_hive=3919=false=SECURITY_HOTSPOT)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/security_hotspots?id=apache_hive=3919=false=SECURITY_HOTSPOT)
 [0 Security 
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_hive=3919=false=SECURITY_HOTSPOT)
  
   [![Code 
Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png
 'Code 
Smell')](https://sonarcloud.io/project/issues?id=apache_hive=3919=false=CODE_SMELL)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_hive=3919=false=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_hive=3919=false=CODE_SMELL)
   
   [![No Coverage 
information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/NoCoverageInfo-16px.png
 'No Coverage 
information')](https://sonarcloud.io/component_measures?id=apache_hive=3919=coverage=list)
 No Coverage information  
   [![No Duplication 
information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/NoDuplicationInfo-16px.png
 'No Duplication 
information')](https://sonarcloud.io/component_measures?id=apache_hive=3919=duplicated_lines_density=list)
 No Duplication information
   
   




Issue Time Tracking
---

Worklog Id: (was: 837385)
Time Spent: 2h 10m  (was: 2h)

> incorrect metric for active calls ——  alter_partitions and  alter_partition
> ---
>
> Key: HIVE-26065
> URL: https://issues.apache.org/jira/browse/HIVE-26065
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Reporter: DongWei
>Assignee: DongWei
>Priority: Major
>  Labels: pull-request-available
> Attachments: HIVE-26065.1.patch
>
>  Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> In our production environment, we found that the value of the metric 
> "active_calls_alter_partition" was negative. This is very confusing.
> After checking the HMSHandler.class, we found that the method 
> alter_partitions_with_environment_context called()
> *startTableFunction("alter_partitions", catName, db_name, tbl_name);* 
> *...* 
> *endFunction("alter_partition", oldParts != null, ex, tbl_name);*
> So the metric "active_calls_alter_partition" will be decremented by one after 
> the "alter_partitions" function execution ends, causing the value become a 
> negative number



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Work logged] (HIVE-26065) incorrect metric for active calls —— alter_partitions and alter_partition

2023-01-05 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-26065?focusedWorklogId=837375=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-837375
 ]

ASF GitHub Bot logged work on HIVE-26065:
-

Author: ASF GitHub Bot
Created on: 06/Jan/23 01:23
Start Date: 06/Jan/23 01:23
Worklog Time Spent: 10m 
  Work Description: Tuan opened a new pull request, #3919:
URL: https://github.com/apache/hive/pull/3919

   In our production environment, we found that the value of the metric 
"active_calls_alter_partition" was negative. This is very confusing.
   After checking the HMSHandler.class, we found that the method 
alter_partitions_with_environment_context called()
   startTableFunction("alter_partitions", catName, db_name, tbl_name);
   ...
   endFunction("alter_partition", oldParts != null, ex, tbl_name);
   So the metric "active_calls_alter_partition" will be decremented by one 
after the "alter_partitions" function execution ends, causing the value become 
a negative number




Issue Time Tracking
---

Worklog Id: (was: 837375)
Time Spent: 2h  (was: 1h 50m)

> incorrect metric for active calls ——  alter_partitions and  alter_partition
> ---
>
> Key: HIVE-26065
> URL: https://issues.apache.org/jira/browse/HIVE-26065
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Reporter: DongWei
>Assignee: DongWei
>Priority: Major
>  Labels: pull-request-available
> Attachments: HIVE-26065.1.patch
>
>  Time Spent: 2h
>  Remaining Estimate: 0h
>
> In our production environment, we found that the value of the metric 
> "active_calls_alter_partition" was negative. This is very confusing.
> After checking the HMSHandler.class, we found that the method 
> alter_partitions_with_environment_context called()
> *startTableFunction("alter_partitions", catName, db_name, tbl_name);* 
> *...* 
> *endFunction("alter_partition", oldParts != null, ex, tbl_name);*
> So the metric "active_calls_alter_partition" will be decremented by one after 
> the "alter_partitions" function execution ends, causing the value become a 
> negative number



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Work logged] (HIVE-26065) incorrect metric for active calls —— alter_partitions and alter_partition

2023-01-05 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-26065?focusedWorklogId=837366=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-837366
 ]

ASF GitHub Bot logged work on HIVE-26065:
-

Author: ASF GitHub Bot
Created on: 06/Jan/23 00:20
Start Date: 06/Jan/23 00:20
Worklog Time Spent: 10m 
  Work Description: github-actions[bot] closed pull request #3133: 
HIVE-26065: fix incorrect metric active_calls_alter_partitions and 
active_calls_alter_partition
URL: https://github.com/apache/hive/pull/3133




Issue Time Tracking
---

Worklog Id: (was: 837366)
Time Spent: 1h 50m  (was: 1h 40m)

> incorrect metric for active calls ——  alter_partitions and  alter_partition
> ---
>
> Key: HIVE-26065
> URL: https://issues.apache.org/jira/browse/HIVE-26065
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Reporter: DongWei
>Assignee: DongWei
>Priority: Major
>  Labels: pull-request-available
> Attachments: HIVE-26065.1.patch
>
>  Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> In our production environment, we found that the value of the metric 
> "active_calls_alter_partition" was negative. This is very confusing.
> After checking the HMSHandler.class, we found that the method 
> alter_partitions_with_environment_context called()
> *startTableFunction("alter_partitions", catName, db_name, tbl_name);* 
> *...* 
> *endFunction("alter_partition", oldParts != null, ex, tbl_name);*
> So the metric "active_calls_alter_partition" will be decremented by one after 
> the "alter_partitions" function execution ends, causing the value become a 
> negative number



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Work logged] (HIVE-26065) incorrect metric for active calls —— alter_partitions and alter_partition

2022-12-29 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-26065?focusedWorklogId=836109=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-836109
 ]

ASF GitHub Bot logged work on HIVE-26065:
-

Author: ASF GitHub Bot
Created on: 29/Dec/22 12:51
Start Date: 29/Dec/22 12:51
Worklog Time Spent: 10m 
  Work Description: sonarcloud[bot] commented on PR #3133:
URL: https://github.com/apache/hive/pull/3133#issuecomment-1367297799

   Kudos, SonarCloud Quality Gate passed!  [![Quality Gate 
passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png
 'Quality Gate 
passed')](https://sonarcloud.io/dashboard?id=apache_hive=3133)
   
   
[![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png
 
'Bug')](https://sonarcloud.io/project/issues?id=apache_hive=3133=false=BUG)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_hive=3133=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_hive=3133=false=BUG)
  
   
[![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png
 
'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_hive=3133=false=VULNERABILITY)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_hive=3133=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_hive=3133=false=VULNERABILITY)
  
   [![Security 
Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png
 'Security 
Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_hive=3133=false=SECURITY_HOTSPOT)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/security_hotspots?id=apache_hive=3133=false=SECURITY_HOTSPOT)
 [0 Security 
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_hive=3133=false=SECURITY_HOTSPOT)
  
   [![Code 
Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png
 'Code 
Smell')](https://sonarcloud.io/project/issues?id=apache_hive=3133=false=CODE_SMELL)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_hive=3133=false=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_hive=3133=false=CODE_SMELL)
   
   [![No Coverage 
information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/NoCoverageInfo-16px.png
 'No Coverage 
information')](https://sonarcloud.io/component_measures?id=apache_hive=3133=coverage=list)
 No Coverage information  
   [![No Duplication 
information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/NoDuplicationInfo-16px.png
 'No Duplication 
information')](https://sonarcloud.io/component_measures?id=apache_hive=3133=duplicated_lines_density=list)
 No Duplication information
   
   




Issue Time Tracking
---

Worklog Id: (was: 836109)
Time Spent: 1h 40m  (was: 1.5h)

> incorrect metric for active calls ——  alter_partitions and  alter_partition
> ---
>
> Key: HIVE-26065
> URL: https://issues.apache.org/jira/browse/HIVE-26065
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Reporter: DongWei
>Assignee: DongWei
>Priority: Major
>  Labels: pull-request-available
> Attachments: HIVE-26065.1.patch
>
>  Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> In our production environment, we found that the value of the metric 
> "active_calls_alter_partition" was negative. This is very confusing.
> After checking the HMSHandler.class, we found that the method 
> alter_partitions_with_environment_context called()
> *startTableFunction("alter_partitions", catName, db_name, tbl_name);* 
> *...* 
> *endFunction("alter_partition", oldParts != null, ex, tbl_name);*
> So the metric "active_calls_alter_partition" will be decremented by one after 
> the "alter_partitions" function execution ends, causing the value become a 
> negative number



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Work logged] (HIVE-26065) incorrect metric for active calls —— alter_partitions and alter_partition

2022-12-28 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-26065?focusedWorklogId=836036=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-836036
 ]

ASF GitHub Bot logged work on HIVE-26065:
-

Author: ASF GitHub Bot
Created on: 29/Dec/22 00:20
Start Date: 29/Dec/22 00:20
Worklog Time Spent: 10m 
  Work Description: github-actions[bot] commented on PR #3133:
URL: https://github.com/apache/hive/pull/3133#issuecomment-1366995076

   This pull request has been automatically marked as stale because it has not 
had recent activity. It will be closed if no further activity occurs.
   Feel free to reach out on the d...@hive.apache.org list if the patch is in 
need of reviews.




Issue Time Tracking
---

Worklog Id: (was: 836036)
Time Spent: 1.5h  (was: 1h 20m)

> incorrect metric for active calls ——  alter_partitions and  alter_partition
> ---
>
> Key: HIVE-26065
> URL: https://issues.apache.org/jira/browse/HIVE-26065
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Reporter: DongWei
>Assignee: DongWei
>Priority: Major
>  Labels: pull-request-available
> Attachments: HIVE-26065.1.patch
>
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> In our production environment, we found that the value of the metric 
> "active_calls_alter_partition" was negative. This is very confusing.
> After checking the HMSHandler.class, we found that the method 
> alter_partitions_with_environment_context called()
> *startTableFunction("alter_partitions", catName, db_name, tbl_name);* 
> *...* 
> *endFunction("alter_partition", oldParts != null, ex, tbl_name);*
> So the metric "active_calls_alter_partition" will be decremented by one after 
> the "alter_partitions" function execution ends, causing the value become a 
> negative number



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Work logged] (HIVE-26065) incorrect metric for active calls —— alter_partitions and alter_partition

2022-10-28 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-26065?focusedWorklogId=821419=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-821419
 ]

ASF GitHub Bot logged work on HIVE-26065:
-

Author: ASF GitHub Bot
Created on: 28/Oct/22 12:41
Start Date: 28/Oct/22 12:41
Worklog Time Spent: 10m 
  Work Description: sonarcloud[bot] commented on PR #3133:
URL: https://github.com/apache/hive/pull/3133#issuecomment-1294952935

   Kudos, SonarCloud Quality Gate passed!  [![Quality Gate 
passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png
 'Quality Gate 
passed')](https://sonarcloud.io/dashboard?id=apache_hive=3133)
   
   
[![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png
 
'Bug')](https://sonarcloud.io/project/issues?id=apache_hive=3133=false=BUG)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_hive=3133=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_hive=3133=false=BUG)
  
   
[![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png
 
'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_hive=3133=false=VULNERABILITY)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_hive=3133=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_hive=3133=false=VULNERABILITY)
  
   [![Security 
Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png
 'Security 
Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_hive=3133=false=SECURITY_HOTSPOT)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/security_hotspots?id=apache_hive=3133=false=SECURITY_HOTSPOT)
 [0 Security 
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_hive=3133=false=SECURITY_HOTSPOT)
  
   [![Code 
Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png
 'Code 
Smell')](https://sonarcloud.io/project/issues?id=apache_hive=3133=false=CODE_SMELL)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_hive=3133=false=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_hive=3133=false=CODE_SMELL)
   
   [![No Coverage 
information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/NoCoverageInfo-16px.png
 'No Coverage 
information')](https://sonarcloud.io/component_measures?id=apache_hive=3133=coverage=list)
 No Coverage information  
   [![No Duplication 
information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/NoDuplicationInfo-16px.png
 'No Duplication 
information')](https://sonarcloud.io/component_measures?id=apache_hive=3133=duplicated_lines_density=list)
 No Duplication information
   
   




Issue Time Tracking
---

Worklog Id: (was: 821419)
Time Spent: 1h 20m  (was: 1h 10m)

> incorrect metric for active calls ——  alter_partitions and  alter_partition
> ---
>
> Key: HIVE-26065
> URL: https://issues.apache.org/jira/browse/HIVE-26065
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Reporter: DongWei
>Assignee: DongWei
>Priority: Major
>  Labels: pull-request-available
> Attachments: HIVE-26065.1.patch
>
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> In our production environment, we found that the value of the metric 
> "active_calls_alter_partition" was negative. This is very confusing.
> After checking the HMSHandler.class, we found that the method 
> alter_partitions_with_environment_context called()
> *startTableFunction("alter_partitions", catName, db_name, tbl_name);* 
> *...* 
> *endFunction("alter_partition", oldParts != null, ex, tbl_name);*
> So the metric "active_calls_alter_partition" will be decremented by one after 
> the "alter_partitions" function execution ends, causing the value become a 
> negative number



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Work logged] (HIVE-26065) incorrect metric for active calls —— alter_partitions and alter_partition

2022-10-28 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-26065?focusedWorklogId=821290=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-821290
 ]

ASF GitHub Bot logged work on HIVE-26065:
-

Author: ASF GitHub Bot
Created on: 28/Oct/22 06:18
Start Date: 28/Oct/22 06:18
Worklog Time Spent: 10m 
  Work Description: Tuan commented on PR #3133:
URL: https://github.com/apache/hive/pull/3133#issuecomment-1294513652

   @maheshk114 thanks. Already Finished




Issue Time Tracking
---

Worklog Id: (was: 821290)
Time Spent: 1h 10m  (was: 1h)

> incorrect metric for active calls ——  alter_partitions and  alter_partition
> ---
>
> Key: HIVE-26065
> URL: https://issues.apache.org/jira/browse/HIVE-26065
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Reporter: DongWei
>Assignee: DongWei
>Priority: Major
>  Labels: pull-request-available
> Attachments: HIVE-26065.1.patch
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> In our production environment, we found that the value of the metric 
> "active_calls_alter_partition" was negative. This is very confusing.
> After checking the HMSHandler.class, we found that the method 
> alter_partitions_with_environment_context called()
> *startTableFunction("alter_partitions", catName, db_name, tbl_name);* 
> *...* 
> *endFunction("alter_partition", oldParts != null, ex, tbl_name);*
> So the metric "active_calls_alter_partition" will be decremented by one after 
> the "alter_partitions" function execution ends, causing the value become a 
> negative number



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Work logged] (HIVE-26065) incorrect metric for active calls —— alter_partitions and alter_partition

2022-10-27 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-26065?focusedWorklogId=821266=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-821266
 ]

ASF GitHub Bot logged work on HIVE-26065:
-

Author: ASF GitHub Bot
Created on: 28/Oct/22 03:36
Start Date: 28/Oct/22 03:36
Worklog Time Spent: 10m 
  Work Description: maheshk114 commented on PR #3133:
URL: https://github.com/apache/hive/pull/3133#issuecomment-1294408475

   @Tuan 
   Can you please rebase the patch.




Issue Time Tracking
---

Worklog Id: (was: 821266)
Time Spent: 1h  (was: 50m)

> incorrect metric for active calls ——  alter_partitions and  alter_partition
> ---
>
> Key: HIVE-26065
> URL: https://issues.apache.org/jira/browse/HIVE-26065
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Reporter: DongWei
>Assignee: DongWei
>Priority: Major
>  Labels: pull-request-available
> Attachments: HIVE-26065.1.patch
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> In our production environment, we found that the value of the metric 
> "active_calls_alter_partition" was negative. This is very confusing.
> After checking the HMSHandler.class, we found that the method 
> alter_partitions_with_environment_context called()
> *startTableFunction("alter_partitions", catName, db_name, tbl_name);* 
> *...* 
> *endFunction("alter_partition", oldParts != null, ex, tbl_name);*
> So the metric "active_calls_alter_partition" will be decremented by one after 
> the "alter_partitions" function execution ends, causing the value become a 
> negative number



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Work logged] (HIVE-26065) incorrect metric for active calls —— alter_partitions and alter_partition

2022-10-17 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-26065?focusedWorklogId=817853=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-817853
 ]

ASF GitHub Bot logged work on HIVE-26065:
-

Author: ASF GitHub Bot
Created on: 18/Oct/22 00:32
Start Date: 18/Oct/22 00:32
Worklog Time Spent: 10m 
  Work Description: github-actions[bot] commented on PR #3133:
URL: https://github.com/apache/hive/pull/3133#issuecomment-1281662501

   This pull request has been automatically marked as stale because it has not 
had recent activity. It will be closed if no further activity occurs.
   Feel free to reach out on the d...@hive.apache.org list if the patch is in 
need of reviews.




Issue Time Tracking
---

Worklog Id: (was: 817853)
Time Spent: 50m  (was: 40m)

> incorrect metric for active calls ——  alter_partitions and  alter_partition
> ---
>
> Key: HIVE-26065
> URL: https://issues.apache.org/jira/browse/HIVE-26065
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Reporter: DongWei
>Assignee: DongWei
>Priority: Major
>  Labels: pull-request-available
> Attachments: HIVE-26065.1.patch
>
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> In our production environment, we found that the value of the metric 
> "active_calls_alter_partition" was negative. This is very confusing.
> After checking the HMSHandler.class, we found that the method 
> alter_partitions_with_environment_context called()
> *startTableFunction("alter_partitions", catName, db_name, tbl_name);* 
> *...* 
> *endFunction("alter_partition", oldParts != null, ex, tbl_name);*
> So the metric "active_calls_alter_partition" will be decremented by one after 
> the "alter_partitions" function execution ends, causing the value become a 
> negative number



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Work logged] (HIVE-26065) incorrect metric for active calls —— alter_partitions and alter_partition

2022-06-27 Thread ASF GitHub Bot (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 ASF GitHub Bot added a worklog on  HIVE-26065  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Tuan commented on PR #3133: URL: https://github.com/apache/hive/pull/3133#issuecomment-1168182543  +1 (unstable tests)   
 

  
 
 
 
 

 
 Worklog entry:  
 10m logged by ASF GitHub Bot  
 
 
Change By: 
 ASF GitHub Bot  
 
 
Time Spent: 
 0.5h 40m  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.20.10#820010-sha1:ace47f9)  
 
 

 
   
 

  
 

  
 

   



[jira] [Work logged] (HIVE-26065) incorrect metric for active calls —— alter_partitions and alter_partition

2022-05-23 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-26065?focusedWorklogId=773837=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-773837
 ]

ASF GitHub Bot logged work on HIVE-26065:
-

Author: ASF GitHub Bot
Created on: 24/May/22 01:24
Start Date: 24/May/22 01:24
Worklog Time Spent: 10m 
  Work Description: Tuan commented on PR #3133:
URL: https://github.com/apache/hive/pull/3133#issuecomment-1135299378

   @maheshk114 Can you please help review this patch? Thanks




Issue Time Tracking
---

Worklog Id: (was: 773837)
Time Spent: 0.5h  (was: 20m)

> incorrect metric for active calls ——  alter_partitions and  alter_partition
> ---
>
> Key: HIVE-26065
> URL: https://issues.apache.org/jira/browse/HIVE-26065
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Reporter: DongWei
>Assignee: DongWei
>Priority: Major
>  Labels: pull-request-available
> Attachments: HIVE-26065.1.patch
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> In our production environment, we found that the value of the metric 
> "active_calls_alter_partition" was negative. This is very confusing.
> After checking the HMSHandler.class, we found that the method 
> alter_partitions_with_environment_context called()
> *startTableFunction("alter_partitions", catName, db_name, tbl_name);* 
> *...* 
> *endFunction("alter_partition", oldParts != null, ex, tbl_name);*
> So the metric "active_calls_alter_partition" will be decremented by one after 
> the "alter_partitions" function execution ends, causing the value become a 
> negative number



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Work logged] (HIVE-26065) incorrect metric for active calls —— alter_partitions and alter_partition

2022-05-23 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-26065?focusedWorklogId=773823=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-773823
 ]

ASF GitHub Bot logged work on HIVE-26065:
-

Author: ASF GitHub Bot
Created on: 24/May/22 00:22
Start Date: 24/May/22 00:22
Worklog Time Spent: 10m 
  Work Description: github-actions[bot] commented on PR #3133:
URL: https://github.com/apache/hive/pull/3133#issuecomment-1135266722

   This pull request has been automatically marked as stale because it has not 
had recent activity. It will be closed if no further activity occurs.
   Feel free to reach out on the d...@hive.apache.org list if the patch is in 
need of reviews.




Issue Time Tracking
---

Worklog Id: (was: 773823)
Time Spent: 20m  (was: 10m)

> incorrect metric for active calls ——  alter_partitions and  alter_partition
> ---
>
> Key: HIVE-26065
> URL: https://issues.apache.org/jira/browse/HIVE-26065
> Project: Hive
>  Issue Type: Bug
>  Components: Hive
>Reporter: DongWei
>Assignee: DongWei
>Priority: Major
>  Labels: pull-request-available
> Attachments: HIVE-26065.1.patch
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> In our production environment, we found that the value of the metric 
> "active_calls_alter_partition" was negative. This is very confusing.
> After checking the HMSHandler.class, we found that the method 
> alter_partitions_with_environment_context called()
> *startTableFunction("alter_partitions", catName, db_name, tbl_name);* 
> *...* 
> *endFunction("alter_partition", oldParts != null, ex, tbl_name);*
> So the metric "active_calls_alter_partition" will be decremented by one after 
> the "alter_partitions" function execution ends, causing the value become a 
> negative number



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Work logged] (HIVE-26065) incorrect metric for active calls —— alter_partitions and alter_partition

2022-03-23 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-26065?focusedWorklogId=746784=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-746784
 ]

ASF GitHub Bot logged work on HIVE-26065:
-

Author: ASF GitHub Bot
Created on: 23/Mar/22 18:19
Start Date: 23/Mar/22 18:19
Worklog Time Spent: 10m 
  Work Description: Tuan opened a new pull request #3133:
URL: https://github.com/apache/hive/pull/3133


   In our production environment, we found that the value of the metric 
"active_calls_alter_partition" was negative. This is very confusing.
   
   After checking the HMSHandler.class, we found that the method 
alter_partitions_with_environment_context called()
   
   **startTableFunction("alter_partitions", catName, db_name, tbl_name);
   ...
   endFunction("alter_partition", oldParts != null, ex, tbl_name);**
   
   So the metric "active_calls_alter_partition" will be decremented by one 
after the "alter_partitions" function execution ends, causing the value become 
a negative number


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 746784)
Remaining Estimate: 0h
Time Spent: 10m

> incorrect metric for active calls ——  alter_partitions and  alter_partition
> ---
>
> Key: HIVE-26065
> URL: https://issues.apache.org/jira/browse/HIVE-26065
> Project: Hive
>  Issue Type: Bug
>  Components: Metastore
>Reporter: DongWei
>Assignee: DongWei
>Priority: Major
> Attachments: HIVE-26065.1.patch
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> In our production environment, we found that the value of the metric 
> "active_calls_alter_partition" was negative. This is very confusing.
> After checking the HMSHandler.class, we found that the method 
> alter_partitions_with_environment_context called()
> *startTableFunction("alter_partitions", catName, db_name, tbl_name);* 
> *...* 
> *endFunction("alter_partition", oldParts != null, ex, tbl_name);*
> So the metric "active_calls_alter_partition" will be decremented by one after 
> the "alter_partitions" function execution ends, causing the value become a 
> negative number



--
This message was sent by Atlassian Jira
(v8.20.1#820001)