You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Veena Basavaraj (JIRA)" <ji...@apache.org> on 2014/10/25 17:12:33 UTC

[jira] [Comment Edited] (SQOOP-1623) Sqoop2: Derive the correct Client version for sqoop

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

Veena Basavaraj edited comment on SQOOP-1623 at 10/25/14 3:11 PM:
------------------------------------------------------------------

See the RB I posted, for 1515 where i have a TODO
https://reviews.apache.org/r/27196/

 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}


was (Author: vybs):
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)