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

Hyunsik Choi updated TAJO-737:
------------------------------

    Attachment: TAJO-737.patch

StringUtils internally uses VersionInfo which will print the property entries 
included in {{hadoop-version-info.properties}}. I borrow hadoop-maven-plugin 
which automatically generates main/resource/hadoop-version-info.properties 
file. Then, I changed it for Tajo. You will see the following startup message:

{noformat}
STARTUP_MSG: Starting TajoMaster
STARTUP_MSG:   host = xxx.yyy.com/192.168.0.205
STARTUP_MSG:   args = []
STARTUP_MSG:   version = 0.8.0-SNAPSHOT
STARTUP_MSG:   classpath = ....
STARTUP_MSG:   build = [email protected]:apache/tajo.git -r 
f1f36ec5f5ef78168dfe024c07c1ba122f2d78c6; compiled by 'hyunsik' on 
2014-04-21T05:24Z
STARTUP_MSG:   java = 1.7.0_51
{noformat}

> Change version message when daemon starts up.
> ---------------------------------------------
>
>                 Key: TAJO-737
>                 URL: https://issues.apache.org/jira/browse/TAJO-737
>             Project: Tajo
>          Issue Type: Improvement
>    Affects Versions: 0.8
>            Reporter: Hyoungjun Kim
>            Assignee: Hyunsik Choi
>            Priority: Trivial
>             Fix For: 0.8, 0.9
>
>         Attachments: TAJO-737.patch
>
>
> Currently when daemon starts up, the bellow message prints out.
> This version is not tajo version but hadoop version.
> {noformat}
> STARTUP_MSG:   build = https://svn.apache.org/repos/asf/hadoop/common -r 
> 1529768; compiled by 'hortonmu' on 2013-10-07T06:28Z
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to