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 -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org