[jira] [Updated] (HIVE-27386) Avoid duplicate audit log in cleanupHandlerContext

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


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

ASF GitHub Bot updated HIVE-27386:
--
Labels: pull-request-available  (was: )

> Avoid duplicate audit log in cleanupHandlerContext
> --
>
> Key: HIVE-27386
> URL: https://issues.apache.org/jira/browse/HIVE-27386
> Project: Hive
>  Issue Type: Improvement
>  Components: Hive
>Reporter: Wechar
>Assignee: Wechar
>Priority: Major
>  Labels: pull-request-available
> Attachments: screenshot-1.png
>
>
> {{HMSHandler#cleanupHandlerContext}} will be called twice if 
> {{IMetaStoreClient#close}} was called. In this case, where will create two 
> same audit log: Done cleaning up thread local RawStore.



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


[jira] [Updated] (HIVE-27386) Avoid duplicate audit log in cleanupHandlerContext

2023-05-29 Thread Wechar (Jira)


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

Wechar updated HIVE-27386:
--
Summary: Avoid duplicate audit log in cleanupHandlerContext  (was: Remove 
duplicate audit log in cleanupHandlerContext)

> Avoid duplicate audit log in cleanupHandlerContext
> --
>
> Key: HIVE-27386
> URL: https://issues.apache.org/jira/browse/HIVE-27386
> Project: Hive
>  Issue Type: Improvement
>  Components: Hive
>Reporter: Wechar
>Assignee: Wechar
>Priority: Major
> Attachments: screenshot-1.png
>
>
> {{HMSHandler#cleanupHandlerContext}} will be called twice if 
> {{IMetaStoreClient#close}} was called. In this case, where will create two 
> same audit log: Done cleaning up thread local RawStore.



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


[jira] [Updated] (HIVE-27386) Remove duplicate audit log in cleanupHandlerContext

2023-05-29 Thread Wechar (Jira)


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

Wechar updated HIVE-27386:
--
Attachment: screenshot-1.png

> Remove duplicate audit log in cleanupHandlerContext
> ---
>
> Key: HIVE-27386
> URL: https://issues.apache.org/jira/browse/HIVE-27386
> Project: Hive
>  Issue Type: Improvement
>  Components: Hive
>Reporter: Wechar
>Assignee: Wechar
>Priority: Major
> Attachments: screenshot-1.png
>
>
> {{HMSHandler#cleanupHandlerContext}} will be called twice if 
> {{IMetaStoreClient#close}} was called. In this case, where will create two 
> same audit log: Done cleaning up thread local RawStore.



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


[jira] [Created] (HIVE-27386) Remove duplicate audit log in cleanupHandlerContext

2023-05-29 Thread Wechar (Jira)
Wechar created HIVE-27386:
-

 Summary: Remove duplicate audit log in cleanupHandlerContext
 Key: HIVE-27386
 URL: https://issues.apache.org/jira/browse/HIVE-27386
 Project: Hive
  Issue Type: Improvement
  Components: Hive
Reporter: Wechar
Assignee: Wechar


{{HMSHandler#cleanupHandlerContext}} will be called twice if 
{{IMetaStoreClient#close}} was called. In this case, where will create two same 
audit log: Done cleaning up thread local RawStore.



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


[jira] [Updated] (HIVE-27385) Backport of HIVE-22099: Several date related UDFs can't handle Julian dates properly since HIVE-20007

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


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

ASF GitHub Bot updated HIVE-27385:
--
Labels: pull-request-available  (was: )

> Backport of HIVE-22099: Several date related UDFs can't handle Julian dates 
> properly since HIVE-20007
> -
>
> Key: HIVE-27385
> URL: https://issues.apache.org/jira/browse/HIVE-27385
> Project: Hive
>  Issue Type: Sub-task
>Reporter: Diksha
>Assignee: Diksha
>Priority: Major
>  Labels: pull-request-available
>
> Backport of HIVE-22099: Several date related UDFs can't handle Julian dates 
> properly since HIVE-20007



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


[jira] [Created] (HIVE-27385) Backport of HIVE-22099: Several date related UDFs can't handle Julian dates properly since HIVE-20007

2023-05-29 Thread Diksha (Jira)
Diksha created HIVE-27385:
-

 Summary: Backport of HIVE-22099: Several date related UDFs can't 
handle Julian dates properly since HIVE-20007
 Key: HIVE-27385
 URL: https://issues.apache.org/jira/browse/HIVE-27385
 Project: Hive
  Issue Type: Sub-task
Reporter: Diksha
Assignee: Diksha


Backport of HIVE-22099: Several date related UDFs can't handle Julian dates 
properly since HIVE-20007



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


[jira] [Commented] (HIVE-27384) Fix avro_decimal_native.q test

2023-05-29 Thread Aman Raj (Jira)


[ 
https://issues.apache.org/jira/browse/HIVE-27384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17727058#comment-17727058
 ] 

Aman Raj commented on HIVE-27384:
-

The error in the test is as follows :


h4. Error
Client execution failed with error code = 3 running "
INSERT OVERWRITE TABLE avro_dec SELECT name, value FROM `dec`" 
fname=avro_decimal_native.q 
See ./ql/target/tmp/log/hive.log or ./itests/qtest/target/tmp/log/hive.log, or 
check ./ql/target/surefire-reports or ./itests/qtest/target/surefire-reports/ 
for specific test cases logs.
h4. Stacktrace
java.lang.AssertionError: 
Client execution failed with error code = 3 running "
INSERT OVERWRITE TABLE avro_dec SELECT name, value FROM `dec`" 
fname=avro_decimal_native.q 
See ./ql/target/tmp/log/hive.log or ./itests/qtest/target/tmp/log/hive.log, or 
check ./ql/target/surefire-reports or ./itests/qtest/target/surefire-reports/ 
for specific test cases logs.
 at org.junit.Assert.fail(Assert.java:88)
 at org.apache.hadoop.hive.ql.QTestUtil.failed(QTestUtil.java:2232)
 at 
org.apache.hadoop.hive.cli.control.CoreCliDriver.runTest(CoreCliDriver.java:180)
 at org.apache.hadoop.hive.cli.control.CliAdapter.runTest(CliAdapter.java:104)
 at 
org.apache.hadoop.hive.cli.split1.TestSparkCliDriver.testCliDriver(TestSparkCliDriver.java:63)
 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.apache.hadoop.hive.cli.control.CliAdapter$2$1.evaluate(CliAdapter.java:92)
 at org.junit.rules.RunRules.evaluate(RunRules.java:20)

> Fix avro_decimal_native.q test
> --
>
> Key: HIVE-27384
> URL: https://issues.apache.org/jira/browse/HIVE-27384
> Project: Hive
>  Issue Type: Sub-task
>Reporter: Aman Raj
>Assignee: Diksha
>Priority: Major
>  Labels: pull-request-available
>
> Backport of HIVE-24324: Remove deprecated API usage from Avro



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


[jira] [Created] (HIVE-27384) Fix avro_decimal_native.q test

2023-05-29 Thread Aman Raj (Jira)
Aman Raj created HIVE-27384:
---

 Summary: Fix avro_decimal_native.q test
 Key: HIVE-27384
 URL: https://issues.apache.org/jira/browse/HIVE-27384
 Project: Hive
  Issue Type: Sub-task
Reporter: Aman Raj
Assignee: Diksha


Backport of HIVE-24324: Remove deprecated API usage from Avro



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