[jira] [Work logged] (HIVE-26869) Backport of HIVE-19104: When test MetaStore is started with retry the instances should be independent

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


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

ASF GitHub Bot logged work on HIVE-26869:
-

Author: ASF GitHub Bot
Created on: 08/Jan/23 15:21
Start Date: 08/Jan/23 15:21
Worklog Time Spent: 10m 
  Work Description: abstractdog merged PR #3873:
URL: https://github.com/apache/hive/pull/3873




Issue Time Tracking
---

Worklog Id: (was: 837742)
Time Spent: 4h 20m  (was: 4h 10m)

> Backport of HIVE-19104: When test MetaStore is started with retry the 
> instances should be independent
> -
>
> Key: HIVE-26869
> URL: https://issues.apache.org/jira/browse/HIVE-26869
> Project: Hive
>  Issue Type: Sub-task
>Reporter: Aman Raj
>Assignee: Aman Raj
>Priority: Critical
>  Labels: pull-request-available
>  Time Spent: 4h 20m
>  Remaining Estimate: 0h
>
> This fixes TestHS2ImpersonationWithRemoteMS which was failing with the 
> following error :
> {code:java}
> [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 
> 703.357 s <<< FAILURE! - in 
> org.apache.hive.service.TestHS2ImpersonationWithRemoteMS
> [ERROR] 
> testImpersonation(org.apache.hive.service.TestHS2ImpersonationWithRemoteMS)  
> Time elapsed: 668.923 s  <<< FAILURE!
> java.lang.AssertionError: Unexpected table directory '34015' in warehouse
> at org.junit.Assert.fail(Assert.java:88)
> at 
> org.apache.hive.service.TestHS2ImpersonationWithRemoteMS.testImpersonation(TestHS2ImpersonationWithRemoteMS.java:115)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43){code}



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


[jira] [Work logged] (HIVE-26869) Backport of HIVE-19104: When test MetaStore is started with retry the instances should be independent

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


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

ASF GitHub Bot logged work on HIVE-26869:
-

Author: ASF GitHub Bot
Created on: 06/Jan/23 09:32
Start Date: 06/Jan/23 09:32
Worklog Time Spent: 10m 
  Work Description: amanraj2520 commented on PR #3873:
URL: https://github.com/apache/hive/pull/3873#issuecomment-1373396085

   @abstractdog @zabetak A gentle reminder. Can you please approve and merge 
this.




Issue Time Tracking
---

Worklog Id: (was: 837443)
Time Spent: 4h 10m  (was: 4h)

> Backport of HIVE-19104: When test MetaStore is started with retry the 
> instances should be independent
> -
>
> Key: HIVE-26869
> URL: https://issues.apache.org/jira/browse/HIVE-26869
> Project: Hive
>  Issue Type: Sub-task
>Reporter: Aman Raj
>Assignee: Aman Raj
>Priority: Critical
>  Labels: pull-request-available
>  Time Spent: 4h 10m
>  Remaining Estimate: 0h
>
> This fixes TestHS2ImpersonationWithRemoteMS which was failing with the 
> following error :
> {code:java}
> [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 
> 703.357 s <<< FAILURE! - in 
> org.apache.hive.service.TestHS2ImpersonationWithRemoteMS
> [ERROR] 
> testImpersonation(org.apache.hive.service.TestHS2ImpersonationWithRemoteMS)  
> Time elapsed: 668.923 s  <<< FAILURE!
> java.lang.AssertionError: Unexpected table directory '34015' in warehouse
> at org.junit.Assert.fail(Assert.java:88)
> at 
> org.apache.hive.service.TestHS2ImpersonationWithRemoteMS.testImpersonation(TestHS2ImpersonationWithRemoteMS.java:115)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43){code}



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


[jira] [Work logged] (HIVE-26869) Backport of HIVE-19104: When test MetaStore is started with retry the instances should be independent

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


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

ASF GitHub Bot logged work on HIVE-26869:
-

Author: ASF GitHub Bot
Created on: 05/Jan/23 21:47
Start Date: 05/Jan/23 21:47
Worklog Time Spent: 10m 
  Work Description: cnauroth commented on PR #3873:
URL: https://github.com/apache/hive/pull/3873#issuecomment-1372818327

   > I created [HIVE-26910](https://issues.apache.org/jira/browse/HIVE-26910) / 
#3918 for separate tracking of the warehouse directory configuration fix.
   
   Oops, sorry! I misunderstood. I see now that the changes are still included 
in this PR. I'll abandon my PR if this one gets committed.




Issue Time Tracking
---

Worklog Id: (was: 837337)
Time Spent: 4h  (was: 3h 50m)

> Backport of HIVE-19104: When test MetaStore is started with retry the 
> instances should be independent
> -
>
> Key: HIVE-26869
> URL: https://issues.apache.org/jira/browse/HIVE-26869
> Project: Hive
>  Issue Type: Sub-task
>Reporter: Aman Raj
>Assignee: Aman Raj
>Priority: Critical
>  Labels: pull-request-available
>  Time Spent: 4h
>  Remaining Estimate: 0h
>
> This fixes TestHS2ImpersonationWithRemoteMS which was failing with the 
> following error :
> {code:java}
> [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 
> 703.357 s <<< FAILURE! - in 
> org.apache.hive.service.TestHS2ImpersonationWithRemoteMS
> [ERROR] 
> testImpersonation(org.apache.hive.service.TestHS2ImpersonationWithRemoteMS)  
> Time elapsed: 668.923 s  <<< FAILURE!
> java.lang.AssertionError: Unexpected table directory '34015' in warehouse
> at org.junit.Assert.fail(Assert.java:88)
> at 
> org.apache.hive.service.TestHS2ImpersonationWithRemoteMS.testImpersonation(TestHS2ImpersonationWithRemoteMS.java:115)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43){code}



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


[jira] [Work logged] (HIVE-26869) Backport of HIVE-19104: When test MetaStore is started with retry the instances should be independent

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


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

ASF GitHub Bot logged work on HIVE-26869:
-

Author: ASF GitHub Bot
Created on: 05/Jan/23 21:44
Start Date: 05/Jan/23 21:44
Worklog Time Spent: 10m 
  Work Description: cnauroth commented on PR #3873:
URL: https://github.com/apache/hive/pull/3873#issuecomment-1372815646

   I created [HIVE-26910](https://issues.apache.org/jira/browse/HIVE-26910) / 
#3918 for separate tracking of the warehouse directory configuration fix.




Issue Time Tracking
---

Worklog Id: (was: 837336)
Time Spent: 3h 50m  (was: 3h 40m)

> Backport of HIVE-19104: When test MetaStore is started with retry the 
> instances should be independent
> -
>
> Key: HIVE-26869
> URL: https://issues.apache.org/jira/browse/HIVE-26869
> Project: Hive
>  Issue Type: Sub-task
>Reporter: Aman Raj
>Assignee: Aman Raj
>Priority: Critical
>  Labels: pull-request-available
>  Time Spent: 3h 50m
>  Remaining Estimate: 0h
>
> This fixes TestHS2ImpersonationWithRemoteMS which was failing with the 
> following error :
> {code:java}
> [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 
> 703.357 s <<< FAILURE! - in 
> org.apache.hive.service.TestHS2ImpersonationWithRemoteMS
> [ERROR] 
> testImpersonation(org.apache.hive.service.TestHS2ImpersonationWithRemoteMS)  
> Time elapsed: 668.923 s  <<< FAILURE!
> java.lang.AssertionError: Unexpected table directory '34015' in warehouse
> at org.junit.Assert.fail(Assert.java:88)
> at 
> org.apache.hive.service.TestHS2ImpersonationWithRemoteMS.testImpersonation(TestHS2ImpersonationWithRemoteMS.java:115)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43){code}



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


[jira] [Work logged] (HIVE-26869) Backport of HIVE-19104: When test MetaStore is started with retry the instances should be independent

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


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

ASF GitHub Bot logged work on HIVE-26869:
-

Author: ASF GitHub Bot
Created on: 05/Jan/23 15:51
Start Date: 05/Jan/23 15:51
Worklog Time Spent: 10m 
  Work Description: amanraj2520 commented on PR #3873:
URL: https://github.com/apache/hive/pull/3873#issuecomment-1372395269

   @abstractdog Can you please review this PR and merge. We have tested it 
locally as well as on the pipelines




Issue Time Tracking
---

Worklog Id: (was: 837272)
Time Spent: 3h 40m  (was: 3.5h)

> Backport of HIVE-19104: When test MetaStore is started with retry the 
> instances should be independent
> -
>
> Key: HIVE-26869
> URL: https://issues.apache.org/jira/browse/HIVE-26869
> Project: Hive
>  Issue Type: Sub-task
>Reporter: Aman Raj
>Assignee: Aman Raj
>Priority: Critical
>  Labels: pull-request-available
>  Time Spent: 3h 40m
>  Remaining Estimate: 0h
>
> This fixes TestHS2ImpersonationWithRemoteMS which was failing with the 
> following error :
> {code:java}
> [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 
> 703.357 s <<< FAILURE! - in 
> org.apache.hive.service.TestHS2ImpersonationWithRemoteMS
> [ERROR] 
> testImpersonation(org.apache.hive.service.TestHS2ImpersonationWithRemoteMS)  
> Time elapsed: 668.923 s  <<< FAILURE!
> java.lang.AssertionError: Unexpected table directory '34015' in warehouse
> at org.junit.Assert.fail(Assert.java:88)
> at 
> org.apache.hive.service.TestHS2ImpersonationWithRemoteMS.testImpersonation(TestHS2ImpersonationWithRemoteMS.java:115)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43){code}



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


[jira] [Work logged] (HIVE-26869) Backport of HIVE-19104: When test MetaStore is started with retry the instances should be independent

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


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

ASF GitHub Bot logged work on HIVE-26869:
-

Author: ASF GitHub Bot
Created on: 05/Jan/23 06:33
Start Date: 05/Jan/23 06:33
Worklog Time Spent: 10m 
  Work Description: amanraj2520 commented on PR #3873:
URL: https://github.com/apache/hive/pull/3873#issuecomment-1371835089

   @cnauroth @zabetak @abstractdog I have done the changes from my side and 
tested it in my local as well. Can you please approve and merge this PR.




Issue Time Tracking
---

Worklog Id: (was: 837143)
Time Spent: 3.5h  (was: 3h 20m)

> Backport of HIVE-19104: When test MetaStore is started with retry the 
> instances should be independent
> -
>
> Key: HIVE-26869
> URL: https://issues.apache.org/jira/browse/HIVE-26869
> Project: Hive
>  Issue Type: Sub-task
>Reporter: Aman Raj
>Assignee: Aman Raj
>Priority: Critical
>  Labels: pull-request-available
>  Time Spent: 3.5h
>  Remaining Estimate: 0h
>
> This fixes TestHS2ImpersonationWithRemoteMS which was failing with the 
> following error :
> {code:java}
> [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 
> 703.357 s <<< FAILURE! - in 
> org.apache.hive.service.TestHS2ImpersonationWithRemoteMS
> [ERROR] 
> testImpersonation(org.apache.hive.service.TestHS2ImpersonationWithRemoteMS)  
> Time elapsed: 668.923 s  <<< FAILURE!
> java.lang.AssertionError: Unexpected table directory '34015' in warehouse
> at org.junit.Assert.fail(Assert.java:88)
> at 
> org.apache.hive.service.TestHS2ImpersonationWithRemoteMS.testImpersonation(TestHS2ImpersonationWithRemoteMS.java:115)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43){code}



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


[jira] [Work logged] (HIVE-26869) Backport of HIVE-19104: When test MetaStore is started with retry the instances should be independent

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


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

ASF GitHub Bot logged work on HIVE-26869:
-

Author: ASF GitHub Bot
Created on: 05/Jan/23 06:30
Start Date: 05/Jan/23 06:30
Worklog Time Spent: 10m 
  Work Description: amanraj2520 commented on PR #3873:
URL: https://github.com/apache/hive/pull/3873#issuecomment-1371833492

   @cnauroth I agree with you. I was going to revert the additional commits 
just was making sure that these test work fine when combined together. This PR 
tests that. This PR will now going to be for HIVE-19104. Will raise new tickets.




Issue Time Tracking
---

Worklog Id: (was: 837142)
Time Spent: 3h 20m  (was: 3h 10m)

> Backport of HIVE-19104: When test MetaStore is started with retry the 
> instances should be independent
> -
>
> Key: HIVE-26869
> URL: https://issues.apache.org/jira/browse/HIVE-26869
> Project: Hive
>  Issue Type: Sub-task
>Reporter: Aman Raj
>Assignee: Aman Raj
>Priority: Critical
>  Labels: pull-request-available
>  Time Spent: 3h 20m
>  Remaining Estimate: 0h
>
> This fixes TestHS2ImpersonationWithRemoteMS which was failing with the 
> following error :
> {code:java}
> [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 
> 703.357 s <<< FAILURE! - in 
> org.apache.hive.service.TestHS2ImpersonationWithRemoteMS
> [ERROR] 
> testImpersonation(org.apache.hive.service.TestHS2ImpersonationWithRemoteMS)  
> Time elapsed: 668.923 s  <<< FAILURE!
> java.lang.AssertionError: Unexpected table directory '34015' in warehouse
> at org.junit.Assert.fail(Assert.java:88)
> at 
> org.apache.hive.service.TestHS2ImpersonationWithRemoteMS.testImpersonation(TestHS2ImpersonationWithRemoteMS.java:115)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43){code}



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


[jira] [Work logged] (HIVE-26869) Backport of HIVE-19104: When test MetaStore is started with retry the instances should be independent

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


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

ASF GitHub Bot logged work on HIVE-26869:
-

Author: ASF GitHub Bot
Created on: 04/Jan/23 22:18
Start Date: 04/Jan/23 22:18
Worklog Time Spent: 10m 
  Work Description: cnauroth commented on PR #3873:
URL: https://github.com/apache/hive/pull/3873#issuecomment-1371495446

   Thanks, @amanraj2520 . It looks like you've picked up the cherry-pick I had 
in mind as well as a few others. I don't know if committers would prefer to see 
them split out individually for cleaner revision history. If so, I'll post my 
PR for just the [HIVE-19104](https://issues.apache.org/jira/browse/HIVE-19104) 
backport.




Issue Time Tracking
---

Worklog Id: (was: 837063)
Time Spent: 3h 10m  (was: 3h)

> Backport of HIVE-19104: When test MetaStore is started with retry the 
> instances should be independent
> -
>
> Key: HIVE-26869
> URL: https://issues.apache.org/jira/browse/HIVE-26869
> Project: Hive
>  Issue Type: Sub-task
>Reporter: Aman Raj
>Assignee: Aman Raj
>Priority: Critical
>  Labels: pull-request-available
>  Time Spent: 3h 10m
>  Remaining Estimate: 0h
>
> This fixes TestHS2ImpersonationWithRemoteMS which was failing with the 
> following error :
> {code:java}
> [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 
> 703.357 s <<< FAILURE! - in 
> org.apache.hive.service.TestHS2ImpersonationWithRemoteMS
> [ERROR] 
> testImpersonation(org.apache.hive.service.TestHS2ImpersonationWithRemoteMS)  
> Time elapsed: 668.923 s  <<< FAILURE!
> java.lang.AssertionError: Unexpected table directory '34015' in warehouse
> at org.junit.Assert.fail(Assert.java:88)
> at 
> org.apache.hive.service.TestHS2ImpersonationWithRemoteMS.testImpersonation(TestHS2ImpersonationWithRemoteMS.java:115)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43){code}



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


[jira] [Work logged] (HIVE-26869) Backport of HIVE-19104: When test MetaStore is started with retry the instances should be independent

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


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

ASF GitHub Bot logged work on HIVE-26869:
-

Author: ASF GitHub Bot
Created on: 04/Jan/23 21:00
Start Date: 04/Jan/23 21:00
Worklog Time Spent: 10m 
  Work Description: amanraj2520 commented on PR #3873:
URL: https://github.com/apache/hive/pull/3873#issuecomment-1371412554

   Remaining tests which failed were disabled in 
https://issues.apache.org/jira/browse/HIVE-20715 and 
https://issues.apache.org/jira/browse/HIVE-20741 so cherry picked the same




Issue Time Tracking
---

Worklog Id: (was: 837035)
Time Spent: 3h  (was: 2h 50m)

> Backport of HIVE-19104: When test MetaStore is started with retry the 
> instances should be independent
> -
>
> Key: HIVE-26869
> URL: https://issues.apache.org/jira/browse/HIVE-26869
> Project: Hive
>  Issue Type: Sub-task
>Reporter: Aman Raj
>Assignee: Aman Raj
>Priority: Critical
>  Labels: pull-request-available
>  Time Spent: 3h
>  Remaining Estimate: 0h
>
> This fixes TestHS2ImpersonationWithRemoteMS which was failing with the 
> following error :
> {code:java}
> [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 
> 703.357 s <<< FAILURE! - in 
> org.apache.hive.service.TestHS2ImpersonationWithRemoteMS
> [ERROR] 
> testImpersonation(org.apache.hive.service.TestHS2ImpersonationWithRemoteMS)  
> Time elapsed: 668.923 s  <<< FAILURE!
> java.lang.AssertionError: Unexpected table directory '34015' in warehouse
> at org.junit.Assert.fail(Assert.java:88)
> at 
> org.apache.hive.service.TestHS2ImpersonationWithRemoteMS.testImpersonation(TestHS2ImpersonationWithRemoteMS.java:115)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43){code}



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


[jira] [Work logged] (HIVE-26869) Backport of HIVE-19104: When test MetaStore is started with retry the instances should be independent

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


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

ASF GitHub Bot logged work on HIVE-26869:
-

Author: ASF GitHub Bot
Created on: 04/Jan/23 20:52
Start Date: 04/Jan/23 20:52
Worklog Time Spent: 10m 
  Work Description: amanraj2520 commented on PR #3873:
URL: https://github.com/apache/hive/pull/3873#issuecomment-1371405635

   I found a fix for the first test in HIVE-19313 
(https://issues.apache.org/jira/browse/HIVE-19313). Will cherry pick the same




Issue Time Tracking
---

Worklog Id: (was: 837034)
Time Spent: 2h 50m  (was: 2h 40m)

> Backport of HIVE-19104: When test MetaStore is started with retry the 
> instances should be independent
> -
>
> Key: HIVE-26869
> URL: https://issues.apache.org/jira/browse/HIVE-26869
> Project: Hive
>  Issue Type: Sub-task
>Reporter: Aman Raj
>Assignee: Aman Raj
>Priority: Critical
>  Labels: pull-request-available
>  Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> This fixes TestHS2ImpersonationWithRemoteMS which was failing with the 
> following error :
> {code:java}
> [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 
> 703.357 s <<< FAILURE! - in 
> org.apache.hive.service.TestHS2ImpersonationWithRemoteMS
> [ERROR] 
> testImpersonation(org.apache.hive.service.TestHS2ImpersonationWithRemoteMS)  
> Time elapsed: 668.923 s  <<< FAILURE!
> java.lang.AssertionError: Unexpected table directory '34015' in warehouse
> at org.junit.Assert.fail(Assert.java:88)
> at 
> org.apache.hive.service.TestHS2ImpersonationWithRemoteMS.testImpersonation(TestHS2ImpersonationWithRemoteMS.java:115)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43){code}



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


[jira] [Work logged] (HIVE-26869) Backport of HIVE-19104: When test MetaStore is started with retry the instances should be independent

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


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

ASF GitHub Bot logged work on HIVE-26869:
-

Author: ASF GitHub Bot
Created on: 04/Jan/23 20:50
Start Date: 04/Jan/23 20:50
Worklog Time Spent: 10m 
  Work Description: amanraj2520 commented on PR #3873:
URL: https://github.com/apache/hive/pull/3873#issuecomment-1371404437

   @cnauroth You suggestion worked. The concerned tests have passed
   
   But now new tests are failing :
   1. org.apache.hive.minikdc.TestJdbcWithDBTokenStoreNoDoAs
   ERROR :
   `
   Error
   Could not open client transport with JDBC Uri: 
jdbc:hive2://localhost:42959/default;auth=delegationToken: Peer indicated 
failure: DIGEST-MD5: IO error acquiring password
   Stacktrace
   java.sql.SQLException: Could not open client transport with JDBC Uri: 
jdbc:hive2://localhost:42959/default;auth=delegationToken: Peer indicated 
failure: DIGEST-MD5: IO error acquiring password
at org.apache.hive.jdbc.HiveConnection.(HiveConnection.java:269)
at org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:107)
at java.sql.DriverManager.getConnection(DriverManager.java:664)
at java.sql.DriverManager.getConnection(DriverManager.java:270)
at 
org.apache.hive.minikdc.TestJdbcWithMiniKdc.testTokenAuth(TestJdbcWithMiniKdc.java:172)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
   `
   3. udaf_context_ngrams.q (org.apache.hadoop.hive.cli.TestCliDriver)
   ERROR :
   `
   Client Execution succeeded but contained differences (error code = 1) after 
executing udaf_context_ngrams.q 
   25c25
   < 
[9.0,8.0,7.0,6.0,5.0,5.0,4.0,4.0,4.0,4.0,4.0,3.0,3.0,3.0,3.0,2.0,2.0,2.0,2.0,2.0,2.0,2.0,2.0,2.0,2.0,2.0,2.0,2.0,2.0,2.0,2.0,2.0,2.0,2.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0]
   ---
   > 
[267.0,171.0,164.0,119.0,108.0,106.0,106.0,82.0,79.0,67.0,67.0,46.0,45.0,42.0,42.0,40.0,39.0,37.0,37.0,36.0,34.0,32.0,32.0,30.0,30.0,29.0,28.0,28.0,28.0,28.0,26.0,25.0,24.0,23.0,23.0,22.0,22.0,21.0,20.0,19.0,18.0,18.0,18.0,17.0,17.0,17.0,16.0,16.0,16.0,16.0,15.0,15.0,14.0,14.0,14.0,13.0,13.0,13.0,13.0,13.0,13.0,13.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,11.0,11.0,11.0,11.0,11.0,11.0,11.0,10.0,10.0,10.0,10.0,10.0,10.0,10.0,10.0,10.0,10.0,10.0,9.0,9.0,9.0,9.0,9.0,9.0,9.0,9.0,9.0,9.0,9.0,9.0,8.0]
   52c52
   `




Issue Time Tracking
---

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

> Backport of HIVE-19104: When test MetaStore is started with retry the 
> instances should be independent
> -
>
> Key: HIVE-26869
> URL: https://issues.apache.org/jira/browse/HIVE-26869
> Project: Hive
>  Issue Type: Sub-task
>Reporter: Aman Raj
>Assignee: Aman Raj
>Priority: Critical
>  Labels: pull-request-available
>  Time Spent: 2h 40m
>  Remaining Estimate: 0h
>
> This fixes TestHS2ImpersonationWithRemoteMS which was failing with the 
> following error :
> {code:java}
> [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 
> 703.357 s <<< FAILURE! - in 
> org.apache.hive.service.TestHS2ImpersonationWithRemoteMS
> [ERROR] 
> testImpersonation(org.apache.hive.service.TestHS2ImpersonationWithRemoteMS)  
> Time elapsed: 668.923 s  <<< FAILURE!
> java.lang.AssertionError: Unexpected table