You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Johan Oskarsson (JIRA)" <ji...@apache.org> on 2009/01/23 18:19:59 UTC
[jira] Created: (HIVE-246) Msck incorrectly finds tables not in ms
Msck incorrectly finds tables not in ms
---------------------------------------
Key: HIVE-246
URL: https://issues.apache.org/jira/browse/HIVE-246
Project: Hadoop Hive
Issue Type: Bug
Components: Metastore
Affects Versions: 0.2.0
Reporter: Johan Oskarsson
Fix For: 0.2.0
Attachments: HIVE-246.patch
The msck command looks for tables on HDFS that are missing in the Metastore. It tries to find these tables in the same dir as already existing tables. Due to a bug it also does this for external tables, causing it to find unwanted results.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HIVE-246) Msck incorrectly finds tables not in ms
Posted by "Johan Oskarsson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Johan Oskarsson updated HIVE-246:
---------------------------------
Status: Patch Available (was: Open)
> Msck incorrectly finds tables not in ms
> ---------------------------------------
>
> Key: HIVE-246
> URL: https://issues.apache.org/jira/browse/HIVE-246
> Project: Hadoop Hive
> Issue Type: Bug
> Components: Metastore
> Affects Versions: 0.2.0
> Reporter: Johan Oskarsson
> Assignee: Johan Oskarsson
> Fix For: 0.2.0
>
> Attachments: HIVE-246.patch
>
>
> The msck command looks for tables on HDFS that are missing in the Metastore. It tries to find these tables in the same dir as already existing tables. Due to a bug it also does this for external tables, causing it to find unwanted results.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HIVE-246) Msck incorrectly finds tables not in ms
Posted by "Johan Oskarsson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Johan Oskarsson updated HIVE-246:
---------------------------------
Attachment: HIVE-246.patch
This patch adds a unit test exposing the problem and fixes the issue.
There's also room for further improvement if there was an easy way to get the path of a database.
> Msck incorrectly finds tables not in ms
> ---------------------------------------
>
> Key: HIVE-246
> URL: https://issues.apache.org/jira/browse/HIVE-246
> Project: Hadoop Hive
> Issue Type: Bug
> Components: Metastore
> Affects Versions: 0.2.0
> Reporter: Johan Oskarsson
> Fix For: 0.2.0
>
> Attachments: HIVE-246.patch
>
>
> The msck command looks for tables on HDFS that are missing in the Metastore. It tries to find these tables in the same dir as already existing tables. Due to a bug it also does this for external tables, causing it to find unwanted results.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HIVE-246) Msck incorrectly finds tables not in ms
Posted by "Ashish Thusoo (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashish Thusoo updated HIVE-246:
-------------------------------
Resolution: Fixed
Hadoop Flags: [Reviewed]
Status: Resolved (was: Patch Available)
committed. Thanks Johan!!
> Msck incorrectly finds tables not in ms
> ---------------------------------------
>
> Key: HIVE-246
> URL: https://issues.apache.org/jira/browse/HIVE-246
> Project: Hadoop Hive
> Issue Type: Bug
> Components: Metastore
> Affects Versions: 0.2.0
> Reporter: Johan Oskarsson
> Assignee: Johan Oskarsson
> Fix For: 0.2.0
>
> Attachments: HIVE-246.patch
>
>
> The msck command looks for tables on HDFS that are missing in the Metastore. It tries to find these tables in the same dir as already existing tables. Due to a bug it also does this for external tables, causing it to find unwanted results.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HIVE-246) Msck incorrectly finds tables not in
ms
Posted by "Prasad Chakka (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12666613#action_12666613 ]
Prasad Chakka commented on HIVE-246:
------------------------------------
looks good. +1
> Msck incorrectly finds tables not in ms
> ---------------------------------------
>
> Key: HIVE-246
> URL: https://issues.apache.org/jira/browse/HIVE-246
> Project: Hadoop Hive
> Issue Type: Bug
> Components: Metastore
> Affects Versions: 0.2.0
> Reporter: Johan Oskarsson
> Assignee: Johan Oskarsson
> Fix For: 0.2.0
>
> Attachments: HIVE-246.patch
>
>
> The msck command looks for tables on HDFS that are missing in the Metastore. It tries to find these tables in the same dir as already existing tables. Due to a bug it also does this for external tables, causing it to find unwanted results.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HIVE-246) Msck incorrectly finds tables not in ms
Posted by "Johan Oskarsson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Johan Oskarsson reassigned HIVE-246:
------------------------------------
Assignee: Johan Oskarsson
> Msck incorrectly finds tables not in ms
> ---------------------------------------
>
> Key: HIVE-246
> URL: https://issues.apache.org/jira/browse/HIVE-246
> Project: Hadoop Hive
> Issue Type: Bug
> Components: Metastore
> Affects Versions: 0.2.0
> Reporter: Johan Oskarsson
> Assignee: Johan Oskarsson
> Fix For: 0.2.0
>
> Attachments: HIVE-246.patch
>
>
> The msck command looks for tables on HDFS that are missing in the Metastore. It tries to find these tables in the same dir as already existing tables. Due to a bug it also does this for external tables, causing it to find unwanted results.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HIVE-246) Msck incorrectly finds tables not in ms
Posted by "Carl Steinbach (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carl Steinbach updated HIVE-246:
--------------------------------
Fix Version/s: 0.3.0
(was: 0.6.0)
Affects Version/s: (was: 0.6.0)
> Msck incorrectly finds tables not in ms
> ---------------------------------------
>
> Key: HIVE-246
> URL: https://issues.apache.org/jira/browse/HIVE-246
> Project: Hadoop Hive
> Issue Type: Bug
> Components: Metastore
> Reporter: Johan Oskarsson
> Assignee: Johan Oskarsson
> Fix For: 0.3.0
>
> Attachments: HIVE-246.patch
>
>
> The msck command looks for tables on HDFS that are missing in the Metastore. It tries to find these tables in the same dir as already existing tables. Due to a bug it also does this for external tables, causing it to find unwanted results.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.