sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Veena Basavaraj (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-1623) Sqoop2: Derive the correct Client version for sqoop
Date Sat, 25 Oct 2014 15:11:33 GMT

    [ https://issues.apache.org/jira/browse/SQOOP-1623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14184122#comment-14184122
] 

Veena Basavaraj commented on SQOOP-1623:
----------------------------------------

See the RB I posted, I am not sure how this can be client version. Is there some magic?

It still calls the same method getServerVersion.  I have not tried to run the client from
different build yt to double confirm this

{code}
  if (client) {
      printlnResource(Constants.RES_SHOW_PROMPT_VERSION_CLIENT_SERVER,
        Constants.OPT_CLIENT,
        VersionInfo.getVersion(),
        VersionInfo.getRevision(),
        VersionInfo.getUser(),
        VersionInfo.getDate()
      );
    }
{code}

> Sqoop2: Derive the correct Client version for sqoop
> ---------------------------------------------------
>
>                 Key: SQOOP-1623
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1623
>             Project: Sqoop
>          Issue Type: Bug
>            Reporter: Veena Basavaraj
>            Assignee: Veena Basavaraj
>             Fix For: 1.99.4
>
>
> Currently the sqoop client version is the same as the server version and it is not correct.
> The client and server can be release independently and hence they can be different.
> saveVersion.sh equivalent is required for the sqoop client as well
> Before
> {code}
> {
> revision: "52d5446af0cb63b739c9773efe1d2534ebe20100",
> protocols: [
> "1"
> ],
> date: "Fri Oct 24 08:09:24 PDT 2014",
> user: "vbasavaraj",
> url: "git://vbasavaraj.local/Users/vbasavaraj/Projects/sqoop2/common",
> version: "2.0.0-SNAPSHOT"
> }
> {code}
> FROM shell
> {code}
> sqoop:000> show version -all 
> client version:
>   Sqoop 2.0.0-SNAPSHOT revision 52d5446af0cb63b739c9773efe1d2534ebe20100 
>   Compiled by vbasavaraj on Fri Oct 24 08:09:24 PDT 2014
> server version:
>   Sqoop 2.0.0-SNAPSHOT revision 52d5446af0cb63b739c9773efe1d2534ebe20100 
>   Compiled by vbasavaraj on Fri Oct 24 08:09:24 PDT 2014
> Protocol version:
>   [1]
> sqoop:000> 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message