Ayush Saxena created HIVE-29104:
-----------------------------------

             Summary: hive --version should have remote git path
                 Key: HIVE-29104
                 URL: https://issues.apache.org/jira/browse/HIVE-29104
             Project: Hive
          Issue Type: Improvement
            Reporter: Ayush Saxena


Currently the hive version prints the local repo path of the user who built it, 
it can't be accessed by anyone, better to have remote repo path here
{noformat}
ayushsaxena@ayushsaxena apache-hive-4.1.0-bin % bin/hive --version
Hive 4.1.0
Git git://zbt/data/codesrc/hiverelease/hive -r 
75e40b7537c91a70ccaa31c397d21823c7528eeb
Compiled by zbt on Sat Jul 19 15:35:44 CST 2025
>From source with checksum 753cd8f49f8d5858461b40c35e1a9303{noformat}
{{git://zbt/data/codesrc/hiverelease/hive}} this seems to be a local repo path.

Tried with hadoop & there it is remote path only

{noformat}
ayushsaxena@ayushsaxena hadoop-3.4.1 % bin/hadoop version
Hadoop 3.4.1
Source code repository https://github.com/apache/hadoop.git -r 
4d7825309348956336b8f06a08322b78422849b1
Compiled by mthakur on 2024-10-09T14:57Z
Compiled on platform linux-x86_64
Compiled with protoc 3.23.4
>From source with checksum 7292fe9dba5e2e44e3a9f763fce3e680
This command was run using 
/Users/ayushsaxena/code/incubator/hadoop-3.4.1/hadoop-3.4.1-RC3/hadoop-3.4.1/share/hadoop/common/hadoop-common-3.4.1.jar
ayushsaxena@ayushsaxena hadoop-3.4.1 % 
{noformat}

We should do something similar



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

Reply via email to