You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/03/29 10:11:00 UTC
[jira] [Work logged] (HIVE-27189) Remove duplicate info log in Hive.isSubDIr
[ https://issues.apache.org/jira/browse/HIVE-27189?focusedWorklogId=853644&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-853644 ]
ASF GitHub Bot logged work on HIVE-27189:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 29/Mar/23 10:10
Start Date: 29/Mar/23 10:10
Worklog Time Spent: 10m
Work Description: shuyouZZ opened a new pull request, #4167:
URL: https://github.com/apache/hive/pull/4167
### What changes were proposed in this pull request?
Remove duplicate info log in Hive.isSubDIr
### Why are the changes needed?
In class org.apache.hadoop.hive.ql.metadata.HIve, invoke method isSubDir will print twice
`LOG.debug("The source path is " + fullF1 + " and the destination path is " + fullF2);`
we should remove the duplicate info log.
Below is a example in log file,
`23/03/27 05:11:08 INFO Hive: New loading path = hdfs://R2/projects/sellerdata_ods/hive/sellerdata_ods/ods_shopee_order_detail_v8_di_ab_test/.hive-staging_hive_2023-03-27_05-09-17_848_8941157515106120269-1/-ext-10000/dt=20230327/country=VN with partSpec {dt=20230327, country=VN}
23/03/27 05:11:08 DEBUG Hive: The source path is /projects/sellerdata_ods/hive/sellerdata_ods/ods_shopee_order_detail_v8_di_ab_test/.hive-staging_hive_2023-03-27_05-09-17_848_8941157515106120269-1/-ext-10000/dt=20230327/country=SG/part-00179-51723c84-5be6-428e-862e-c4716e9536cc.c000/ and the destination path is /projects/sellerdata_ods/hive/sellerdata_ods/ods_shopee_order_detail_v8_di_ab_test/dt=20230327/country=SG/part-00179-51723c84-5be6-428e-862e-c4716e9536cc.c000/
23/03/27 05:11:08 DEBUG Hive: The source path is /projects/sellerdata_ods/hive/sellerdata_ods/ods_shopee_order_detail_v8_di_ab_test/.hive-staging_hive_2023-03-27_05-09-17_848_8941157515106120269-1/-ext-10000/dt=20230327/country=SG/part-00179-51723c84-5be6-428e-862e-c4716e9536cc.c000/ and the destination path is /projects/sellerdata_ods/hive/sellerdata_ods/ods_shopee_order_detail_v8_di_ab_test/dt=20230327/country=SG/part-00179-51723c84-5be6-428e-862e-c4716e9536cc.c000/
23/03/27 05:11:08 INFO Hive: Renaming src: hdfs://R2/projects/sellerdata_ods/hive/sellerdata_ods/ods_shopee_order_detail_v8_di_ab_test/.hive-staging_hive_2023-03-27_05-09-17_848_8941157515106120269-1/-ext-10000/dt=20230327/country=SG/part-00179-51723c84-5be6-428e-862e-c4716e9536cc.c000, dest: hdfs://R2/projects/sellerdata_ods/hive/sellerdata_ods/ods_shopee_order_detail_v8_di_ab_test/dt=20230327/country=SG/part-00179-51723c84-5be6-428e-862e-c4716e9536cc.c000, Status:true
23/03/27 05:11:09 DEBUG Hive: altering partition for table ods_shopee_order_detail_v8_di_ab_test with partition spec : {dt=20230327, country=SG}
`
### Does this PR introduce _any_ user-facing change?
NO
### How was this patch tested?
No need
Issue Time Tracking
-------------------
Worklog Id: (was: 853644)
Remaining Estimate: 0h
Time Spent: 10m
> Remove duplicate info log in Hive.isSubDIr
> ------------------------------------------
>
> Key: HIVE-27189
> URL: https://issues.apache.org/jira/browse/HIVE-27189
> Project: Hive
> Issue Type: Improvement
> Reporter: shuyouZZ
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> In class {{{}org.apache.hadoop.hive.ql.metadata.HIve{}}}, invoke method {{isSubDir}} will print twice
> {code:java}
> LOG.debug("The source path is " + fullF1 + " and the destination path is " + fullF2);{code}
> we should remove the duplicate info log.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)