[
https://issues.apache.org/jira/browse/SQOOP-1515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14185595#comment-14185595
]
Hudson commented on SQOOP-1515:
-------------------------------
FAILURE: Integrated in Sqoop2-hadoop200 #561 (See
[https://builds.apache.org/job/Sqoop2-hadoop200/561/])
SQOOP-1515: VersionRequestHandler - fixes (jarcec:
https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=fde0eb177d73c5bd6902f601048854dfd8c630df)
* common/src/main/java/org/apache/sqoop/common/VersionAnnotation.java
* shell/src/main/java/org/apache/sqoop/shell/core/Constants.java
* tools/src/main/java/org/apache/sqoop/tools/tool/RepositoryLoadTool.java
* common/src/test/java/org/apache/sqoop/common/TestVersionInfo.java
* common/src/main/java/org/apache/sqoop/common/VersionInfo.java
* shell/src/main/java/org/apache/sqoop/shell/ShowVersionFunction.java
* shell/src/main/resources/shell-resource.properties
* test/src/test/java/org/apache/sqoop/integration/server/VersionTest.java
*
connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcConnector.java
* tools/src/main/java/org/apache/sqoop/tools/tool/RepositoryDumpTool.java
* server/src/main/java/org/apache/sqoop/handler/VersionRequestHandler.java
* tools/src/main/java/org/apache/sqoop/tools/ToolRunner.java
* common/src/main/java/org/apache/sqoop/json/VersionBean.java
*
connector/connector-hdfs/src/main/java/org/apache/sqoop/connector/hdfs/HdfsConnector.java
> VersionRequestHandler - fixes
> -----------------------------
>
> Key: SQOOP-1515
> URL: https://issues.apache.org/jira/browse/SQOOP-1515
> Project: Sqoop
> Issue Type: Sub-task
> Reporter: Veena Basavaraj
> Assignee: Veena Basavaraj
> Fix For: 1.99.4
>
> Attachments: SQOOP-1515.patch
>
>
> We have different kinds of versions in the Sqoop system. here is a list of
> them
> 1. Every configurable has a version that it maintains ( driver has its own
> version, connectors have their own version, these are persisted in the
> Repository in the SQ_CONFIGURABLE and is exposed in the respective connector
> and driver apis
> 2. We store all the SQOOP entities in the repository which we today support
> it using the bare bones Derby schema. This version is also maintained in the
> SQ_SYSTEM table and it tells the current schema version we are now in ( the
> current schema version is controlled by the SQOOP code)
> 3. Next we have the actual server version - which is the release version of
> the SQOOP such as 1.99.3 or 1.99.4
> 4. REST API protocol_version - which is v1 today , will be v2 if we
> significantly change the apis in next version that are not backwards
> compatible
> 5. SHELL /CLIENT version ( not applicable to the clients making web
> requests, we should be sending client version only when this request is from
> CLI possibly)
> Before
> FROM REST API
> {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}
> The new JSON has the following things
> {code}
> //todo
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)