You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ning Zhang (JIRA)" <ji...@apache.org> on 2011/06/03 19:40:52 UTC
[jira] [Created] (HIVE-2192) Stats table schema incompatible after
HIVE-2185
Stats table schema incompatible after HIVE-2185
-----------------------------------------------
Key: HIVE-2192
URL: https://issues.apache.org/jira/browse/HIVE-2192
Project: Hive
Issue Type: Bug
Reporter: Ning Zhang
Assignee: Tomasz Nykiel
HIVE-2185 introduced a new column in the intermediate stats table. This introduces incompatibility between old and new branches (multiple branches could be deployed in production): the old branch will not work with the new schema, and the new branch will not work with the old schema. A solution would be to rename the stats table name (requires code change) or use a different database name (requires hive-default.xml conf change).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HIVE-2192) Stats table schema incompatible after
HIVE-2185
Posted by "Tomasz Nykiel (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomasz Nykiel updated HIVE-2192:
--------------------------------
Attachment: HIVE-2192.patch
-Changes the table name used for collecting intermediate statistics by JDBCStatsPublisher
-removes an empty TestStatsPublisher.java
> Stats table schema incompatible after HIVE-2185
> -----------------------------------------------
>
> Key: HIVE-2192
> URL: https://issues.apache.org/jira/browse/HIVE-2192
> Project: Hive
> Issue Type: Bug
> Reporter: Ning Zhang
> Assignee: Tomasz Nykiel
> Attachments: HIVE-2192.patch
>
>
> HIVE-2185 introduced a new column in the intermediate stats table. This introduces incompatibility between old and new branches (multiple branches could be deployed in production): the old branch will not work with the new schema, and the new branch will not work with the old schema. A solution would be to rename the stats table name (requires code change) or use a different database name (requires hive-default.xml conf change).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-2192) Stats table schema incompatible
after HIVE-2185
Posted by "Ning Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13043966#comment-13043966 ]
Ning Zhang commented on HIVE-2192:
----------------------------------
+1
> Stats table schema incompatible after HIVE-2185
> -----------------------------------------------
>
> Key: HIVE-2192
> URL: https://issues.apache.org/jira/browse/HIVE-2192
> Project: Hive
> Issue Type: Bug
> Reporter: Ning Zhang
> Assignee: Tomasz Nykiel
> Attachments: HIVE-2192.patch
>
>
> HIVE-2185 introduced a new column in the intermediate stats table. This introduces incompatibility between old and new branches (multiple branches could be deployed in production): the old branch will not work with the new schema, and the new branch will not work with the old schema. A solution would be to rename the stats table name (requires code change) or use a different database name (requires hive-default.xml conf change).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-2192) Stats table schema incompatible
after HIVE-2185
Posted by "jiraposter@reviews.apache.org (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13043940#comment-13043940 ]
jiraposter@reviews.apache.org commented on HIVE-2192:
-----------------------------------------------------
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/851/
-----------------------------------------------------------
Review request for hive, Hairong Kuang and Ning Zhang.
Summary
-------
HIVE-2185 introduces new statistics collected by StatsPublisher, which causes a change in the schema of the table used for collecting intermediate statistics by JDBCStatsPublisher.
This patch changes the table name, to avoid conflicts with the previous version.
Also this patch removes an empty JUnit java file.
This addresses bug HIVE-2192.
https://issues.apache.org/jira/browse/HIVE-2192
Diffs
-----
trunk/ql/src/java/org/apache/hadoop/hive/ql/stats/jdbc/JDBCStatsSetupConstants.java 1131108
Diff: https://reviews.apache.org/r/851/diff
Testing
-------
JDBCStatsPublisherEnhanced JUnit test.
Thanks,
Tomasz
> Stats table schema incompatible after HIVE-2185
> -----------------------------------------------
>
> Key: HIVE-2192
> URL: https://issues.apache.org/jira/browse/HIVE-2192
> Project: Hive
> Issue Type: Bug
> Reporter: Ning Zhang
> Assignee: Tomasz Nykiel
> Attachments: HIVE-2192.patch
>
>
> HIVE-2185 introduced a new column in the intermediate stats table. This introduces incompatibility between old and new branches (multiple branches could be deployed in production): the old branch will not work with the new schema, and the new branch will not work with the old schema. A solution would be to rename the stats table name (requires code change) or use a different database name (requires hive-default.xml conf change).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HIVE-2192) Stats table schema incompatible
after HIVE-2185
Posted by "Tomasz Nykiel (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13044709#comment-13044709 ]
Tomasz Nykiel commented on HIVE-2192:
-------------------------------------
Thanks.
> Stats table schema incompatible after HIVE-2185
> -----------------------------------------------
>
> Key: HIVE-2192
> URL: https://issues.apache.org/jira/browse/HIVE-2192
> Project: Hive
> Issue Type: Bug
> Reporter: Ning Zhang
> Assignee: Tomasz Nykiel
> Fix For: 0.8.0
>
> Attachments: HIVE-2192.patch
>
>
> HIVE-2185 introduced a new column in the intermediate stats table. This introduces incompatibility between old and new branches (multiple branches could be deployed in production): the old branch will not work with the new schema, and the new branch will not work with the old schema. A solution would be to rename the stats table name (requires code change) or use a different database name (requires hive-default.xml conf change).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (HIVE-2192) Stats table schema incompatible after
HIVE-2185
Posted by "Ning Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ning Zhang resolved HIVE-2192.
------------------------------
Resolution: Fixed
Fix Version/s: 0.8.0
Hadoop Flags: [Reviewed]
Committed. Thanks Tom!
> Stats table schema incompatible after HIVE-2185
> -----------------------------------------------
>
> Key: HIVE-2192
> URL: https://issues.apache.org/jira/browse/HIVE-2192
> Project: Hive
> Issue Type: Bug
> Reporter: Ning Zhang
> Assignee: Tomasz Nykiel
> Fix For: 0.8.0
>
> Attachments: HIVE-2192.patch
>
>
> HIVE-2185 introduced a new column in the intermediate stats table. This introduces incompatibility between old and new branches (multiple branches could be deployed in production): the old branch will not work with the new schema, and the new branch will not work with the old schema. A solution would be to rename the stats table name (requires code change) or use a different database name (requires hive-default.xml conf change).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira