You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Namit Jain (JIRA)" <ji...@apache.org> on 2010/12/16 07:39:01 UTC

[jira] Created: (HIVE-1853) downgrade JDO version

downgrade JDO version
---------------------

                 Key: HIVE-1853
                 URL: https://issues.apache.org/jira/browse/HIVE-1853
             Project: Hive
          Issue Type: Bug
            Reporter: Namit Jain
            Assignee: Paul Yang


After HIVE-1609, we are seeing some table not found errors intermittently.
We have a test case where 5 processes are concurrently issueing the same query - 
explain extended insert .. select from <T>

and once in a while, we get a error <T> not found - 
When we revert back the JDO version, the error is gone.

We can investigate later to find the JDO bug, but for now this is a show-stopper for facebook, and needs
to be reverted back immediately.

This also means, that the filters will not be pushed to mysql.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-1853) downgrade JDO version

Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972276#action_12972276 ] 

Namit Jain commented on HIVE-1853:
----------------------------------

Also, is there some other more stable version of JDO which does not have this problem ?

> downgrade JDO version
> ---------------------
>
>                 Key: HIVE-1853
>                 URL: https://issues.apache.org/jira/browse/HIVE-1853
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Namit Jain
>            Assignee: Paul Yang
>             Fix For: 0.7.0
>
>         Attachments: HIVE-1853.1.patch, HIVE-1853.2.patch
>
>
> After HIVE-1609, we are seeing some table not found errors intermittently.
> We have a test case where 5 processes are concurrently issueing the same query - 
> explain extended insert .. select from <T>
> and once in a while, we get a error <T> not found - 
> When we revert back the JDO version, the error is gone.
> We can investigate later to find the JDO bug, but for now this is a show-stopper for facebook, and needs
> to be reverted back immediately.
> This also means, that the filters will not be pushed to mysql.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-1853) downgrade JDO version

Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972198#action_12972198 ] 

Namit Jain commented on HIVE-1853:
----------------------------------

+1


Running tests

> downgrade JDO version
> ---------------------
>
>                 Key: HIVE-1853
>                 URL: https://issues.apache.org/jira/browse/HIVE-1853
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Namit Jain
>            Assignee: Paul Yang
>         Attachments: HIVE-1853.1.patch, HIVE-1853.2.patch
>
>
> After HIVE-1609, we are seeing some table not found errors intermittently.
> We have a test case where 5 processes are concurrently issueing the same query - 
> explain extended insert .. select from <T>
> and once in a while, we get a error <T> not found - 
> When we revert back the JDO version, the error is gone.
> We can investigate later to find the JDO bug, but for now this is a show-stopper for facebook, and needs
> to be reverted back immediately.
> This also means, that the filters will not be pushed to mysql.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-1853) downgrade JDO version

Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Namit Jain updated HIVE-1853:
-----------------------------

       Resolution: Fixed
    Fix Version/s: 0.7.0
     Hadoop Flags: [Reviewed]
           Status: Resolved  (was: Patch Available)

Committed. Thanks Paul

> downgrade JDO version
> ---------------------
>
>                 Key: HIVE-1853
>                 URL: https://issues.apache.org/jira/browse/HIVE-1853
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Namit Jain
>            Assignee: Paul Yang
>             Fix For: 0.7.0
>
>         Attachments: HIVE-1853.1.patch, HIVE-1853.2.patch
>
>
> After HIVE-1609, we are seeing some table not found errors intermittently.
> We have a test case where 5 processes are concurrently issueing the same query - 
> explain extended insert .. select from <T>
> and once in a while, we get a error <T> not found - 
> When we revert back the JDO version, the error is gone.
> We can investigate later to find the JDO bug, but for now this is a show-stopper for facebook, and needs
> to be reverted back immediately.
> This also means, that the filters will not be pushed to mysql.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-1853) downgrade JDO version

Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972192#action_12972192 ] 

Namit Jain commented on HIVE-1853:
----------------------------------

Can you regenerate the patch ?
It is not applying cleanly.

> downgrade JDO version
> ---------------------
>
>                 Key: HIVE-1853
>                 URL: https://issues.apache.org/jira/browse/HIVE-1853
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Namit Jain
>            Assignee: Paul Yang
>         Attachments: HIVE-1853.1.patch
>
>
> After HIVE-1609, we are seeing some table not found errors intermittently.
> We have a test case where 5 processes are concurrently issueing the same query - 
> explain extended insert .. select from <T>
> and once in a while, we get a error <T> not found - 
> When we revert back the JDO version, the error is gone.
> We can investigate later to find the JDO bug, but for now this is a show-stopper for facebook, and needs
> to be reverted back immediately.
> This also means, that the filters will not be pushed to mysql.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-1853) downgrade JDO version

Posted by "Paul Yang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972273#action_12972273 ] 

Paul Yang commented on HIVE-1853:
---------------------------------

This bug should affect you guys as well - you haven't been seeing occasionally missing tables when you issue metastore queries?

> downgrade JDO version
> ---------------------
>
>                 Key: HIVE-1853
>                 URL: https://issues.apache.org/jira/browse/HIVE-1853
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Namit Jain
>            Assignee: Paul Yang
>             Fix For: 0.7.0
>
>         Attachments: HIVE-1853.1.patch, HIVE-1853.2.patch
>
>
> After HIVE-1609, we are seeing some table not found errors intermittently.
> We have a test case where 5 processes are concurrently issueing the same query - 
> explain extended insert .. select from <T>
> and once in a while, we get a error <T> not found - 
> When we revert back the JDO version, the error is gone.
> We can investigate later to find the JDO bug, but for now this is a show-stopper for facebook, and needs
> to be reverted back immediately.
> This also means, that the filters will not be pushed to mysql.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-1853) downgrade JDO version

Posted by "Ashutosh Chauhan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972305#action_12972305 ] 

Ashutosh Chauhan commented on HIVE-1853:
----------------------------------------

We are still evaluating its impact on us and looking if there is any straight fwd fix which exists for us. I will have more details later.

> downgrade JDO version
> ---------------------
>
>                 Key: HIVE-1853
>                 URL: https://issues.apache.org/jira/browse/HIVE-1853
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Namit Jain
>            Assignee: Paul Yang
>             Fix For: 0.7.0
>
>         Attachments: HIVE-1853.1.patch, HIVE-1853.2.patch
>
>
> After HIVE-1609, we are seeing some table not found errors intermittently.
> We have a test case where 5 processes are concurrently issueing the same query - 
> explain extended insert .. select from <T>
> and once in a while, we get a error <T> not found - 
> When we revert back the JDO version, the error is gone.
> We can investigate later to find the JDO bug, but for now this is a show-stopper for facebook, and needs
> to be reverted back immediately.
> This also means, that the filters will not be pushed to mysql.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-1853) downgrade JDO version

Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12973847#action_12973847 ] 

Namit Jain commented on HIVE-1853:
----------------------------------

Unfortunately, the query that I was running used some production tables.
I will try to reproduce the query with some non-production tables.

> downgrade JDO version
> ---------------------
>
>                 Key: HIVE-1853
>                 URL: https://issues.apache.org/jira/browse/HIVE-1853
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Namit Jain
>            Assignee: Paul Yang
>             Fix For: 0.7.0
>
>         Attachments: HIVE-1853.1.patch, HIVE-1853.2.patch
>
>
> After HIVE-1609, we are seeing some table not found errors intermittently.
> We have a test case where 5 processes are concurrently issueing the same query - 
> explain extended insert .. select from <T>
> and once in a while, we get a error <T> not found - 
> When we revert back the JDO version, the error is gone.
> We can investigate later to find the JDO bug, but for now this is a show-stopper for facebook, and needs
> to be reverted back immediately.
> This also means, that the filters will not be pushed to mysql.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] [Commented] (HIVE-1853) downgrade JDO version

Posted by "Andy Jefferson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13236476#comment-13236476 ] 

Andy Jefferson commented on HIVE-1853:
--------------------------------------

> Since the bug is within the newer version JDO/datanucleus

Why not reference what this bug was in DataNucleus JIRA ? that way someone at that side can understand what this refers to. Or maybe it was never reported to DataNucleus?
                
> downgrade JDO version
> ---------------------
>
>                 Key: HIVE-1853
>                 URL: https://issues.apache.org/jira/browse/HIVE-1853
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Namit Jain
>            Assignee: Paul Yang
>             Fix For: 0.7.0
>
>         Attachments: HIVE-1853.1.patch, HIVE-1853.2.patch
>
>
> After HIVE-1609, we are seeing some table not found errors intermittently.
> We have a test case where 5 processes are concurrently issueing the same query - 
> explain extended insert .. select from <T>
> and once in a while, we get a error <T> not found - 
> When we revert back the JDO version, the error is gone.
> We can investigate later to find the JDO bug, but for now this is a show-stopper for facebook, and needs
> to be reverted back immediately.
> This also means, that the filters will not be pushed to mysql.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HIVE-1853) downgrade JDO version

Posted by "John Sichi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972669#action_12972669 ] 

John Sichi commented on HIVE-1853:
----------------------------------

Yeah, Hudson agrees with Ashutosh:

https://hudson.apache.org/hudson/job/Hive-trunk-h0.20/445/testReport/junit/org.apache.hadoop.hive.metastore/TestEmbeddedHiveMetaStore/testPartitionFilter/


> downgrade JDO version
> ---------------------
>
>                 Key: HIVE-1853
>                 URL: https://issues.apache.org/jira/browse/HIVE-1853
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Namit Jain
>            Assignee: Paul Yang
>             Fix For: 0.7.0
>
>         Attachments: HIVE-1853.1.patch, HIVE-1853.2.patch
>
>
> After HIVE-1609, we are seeing some table not found errors intermittently.
> We have a test case where 5 processes are concurrently issueing the same query - 
> explain extended insert .. select from <T>
> and once in a while, we get a error <T> not found - 
> When we revert back the JDO version, the error is gone.
> We can investigate later to find the JDO bug, but for now this is a show-stopper for facebook, and needs
> to be reverted back immediately.
> This also means, that the filters will not be pushed to mysql.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-1853) downgrade JDO version

Posted by "Paul Yang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972262#action_12972262 ] 

Paul Yang commented on HIVE-1853:
---------------------------------

The bug is that get_table (and likely get_partition) returns null even though the object clearly exists. This is without any pruning or filtering.

Since the bug is within the newer version JDO/datanucleus, and HIVE-1609 (listPartitionsByFilter) depends on the newer version, it wouldn't have worked with the JDO downgrade.

This patch undoes HIVE-1660, reverts JDO back to the older version, and disables listPartitionsByFilter().

> downgrade JDO version
> ---------------------
>
>                 Key: HIVE-1853
>                 URL: https://issues.apache.org/jira/browse/HIVE-1853
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Namit Jain
>            Assignee: Paul Yang
>             Fix For: 0.7.0
>
>         Attachments: HIVE-1853.1.patch, HIVE-1853.2.patch
>
>
> After HIVE-1609, we are seeing some table not found errors intermittently.
> We have a test case where 5 processes are concurrently issueing the same query - 
> explain extended insert .. select from <T>
> and once in a while, we get a error <T> not found - 
> When we revert back the JDO version, the error is gone.
> We can investigate later to find the JDO bug, but for now this is a show-stopper for facebook, and needs
> to be reverted back immediately.
> This also means, that the filters will not be pushed to mysql.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-1853) downgrade JDO version

Posted by "Paul Yang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972230#action_12972230 ] 

Paul Yang commented on HIVE-1853:
---------------------------------

Actually, I made the listPartitionsByFilter() throw a runtime exception until this issue is resolved because the feature is supposed to require a newer version of JDOQL to function properly, as stated in HIVE-1609. I'll confirm this again with Ajay.

> downgrade JDO version
> ---------------------
>
>                 Key: HIVE-1853
>                 URL: https://issues.apache.org/jira/browse/HIVE-1853
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Namit Jain
>            Assignee: Paul Yang
>             Fix For: 0.7.0
>
>         Attachments: HIVE-1853.1.patch, HIVE-1853.2.patch
>
>
> After HIVE-1609, we are seeing some table not found errors intermittently.
> We have a test case where 5 processes are concurrently issueing the same query - 
> explain extended insert .. select from <T>
> and once in a while, we get a error <T> not found - 
> When we revert back the JDO version, the error is gone.
> We can investigate later to find the JDO bug, but for now this is a show-stopper for facebook, and needs
> to be reverted back immediately.
> This also means, that the filters will not be pushed to mysql.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-1853) downgrade JDO version

Posted by "Paul Yang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Yang updated HIVE-1853:
----------------------------

    Affects Version/s: 0.7.0
               Status: Patch Available  (was: Open)

> downgrade JDO version
> ---------------------
>
>                 Key: HIVE-1853
>                 URL: https://issues.apache.org/jira/browse/HIVE-1853
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Namit Jain
>            Assignee: Paul Yang
>         Attachments: HIVE-1853.1.patch
>
>
> After HIVE-1609, we are seeing some table not found errors intermittently.
> We have a test case where 5 processes are concurrently issueing the same query - 
> explain extended insert .. select from <T>
> and once in a while, we get a error <T> not found - 
> When we revert back the JDO version, the error is gone.
> We can investigate later to find the JDO bug, but for now this is a show-stopper for facebook, and needs
> to be reverted back immediately.
> This also means, that the filters will not be pushed to mysql.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-1853) downgrade JDO version

Posted by "Ashutosh Chauhan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972217#action_12972217 ] 

Ashutosh Chauhan commented on HIVE-1853:
----------------------------------------

Paul,

Skimmed though the patch. It undo the changes you introduced in get_partition_ps() in HIVE-1660 but most of HIVE-1609 still lives on ? Is that correct? I think that will work fine as then Hive will not be pushing partition pruning to metastore and will avoid the problems as currently being experienced, but api will be there in metastore for others who want to play with it.  

> downgrade JDO version
> ---------------------
>
>                 Key: HIVE-1853
>                 URL: https://issues.apache.org/jira/browse/HIVE-1853
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Namit Jain
>            Assignee: Paul Yang
>         Attachments: HIVE-1853.1.patch, HIVE-1853.2.patch
>
>
> After HIVE-1609, we are seeing some table not found errors intermittently.
> We have a test case where 5 processes are concurrently issueing the same query - 
> explain extended insert .. select from <T>
> and once in a while, we get a error <T> not found - 
> When we revert back the JDO version, the error is gone.
> We can investigate later to find the JDO bug, but for now this is a show-stopper for facebook, and needs
> to be reverted back immediately.
> This also means, that the filters will not be pushed to mysql.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-1853) downgrade JDO version

Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972280#action_12972280 ] 

Namit Jain commented on HIVE-1853:
----------------------------------

Ashutosh, what is your timeline ?

Right now, we dont have the infra-structure in place to pick some patches and ignore others.
We pick all the patches from the open source to our internal tree.

For the time it will take us to develop this, can you live with the current trunk 
(lower JDO) ?

> downgrade JDO version
> ---------------------
>
>                 Key: HIVE-1853
>                 URL: https://issues.apache.org/jira/browse/HIVE-1853
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Namit Jain
>            Assignee: Paul Yang
>             Fix For: 0.7.0
>
>         Attachments: HIVE-1853.1.patch, HIVE-1853.2.patch
>
>
> After HIVE-1609, we are seeing some table not found errors intermittently.
> We have a test case where 5 processes are concurrently issueing the same query - 
> explain extended insert .. select from <T>
> and once in a while, we get a error <T> not found - 
> When we revert back the JDO version, the error is gone.
> We can investigate later to find the JDO bug, but for now this is a show-stopper for facebook, and needs
> to be reverted back immediately.
> This also means, that the filters will not be pushed to mysql.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-1853) downgrade JDO version

Posted by "John Sichi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972191#action_12972191 ] 

John Sichi commented on HIVE-1853:
----------------------------------

This user report has similar symptoms:

http://mail-archives.apache.org/mod_mbox/hive-user/201011.mbox/%3CAANLkTik6M1juxvx0Lerre-cNN5QnFwi6_4AY0pQ6zB42@mail.gmail.com%3E


> downgrade JDO version
> ---------------------
>
>                 Key: HIVE-1853
>                 URL: https://issues.apache.org/jira/browse/HIVE-1853
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Namit Jain
>            Assignee: Paul Yang
>         Attachments: HIVE-1853.1.patch
>
>
> After HIVE-1609, we are seeing some table not found errors intermittently.
> We have a test case where 5 processes are concurrently issueing the same query - 
> explain extended insert .. select from <T>
> and once in a while, we get a error <T> not found - 
> When we revert back the JDO version, the error is gone.
> We can investigate later to find the JDO bug, but for now this is a show-stopper for facebook, and needs
> to be reverted back immediately.
> This also means, that the filters will not be pushed to mysql.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-1853) downgrade JDO version

Posted by "Paul Yang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Yang updated HIVE-1853:
----------------------------

    Attachment: HIVE-1853.1.patch

> downgrade JDO version
> ---------------------
>
>                 Key: HIVE-1853
>                 URL: https://issues.apache.org/jira/browse/HIVE-1853
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Namit Jain
>            Assignee: Paul Yang
>         Attachments: HIVE-1853.1.patch
>
>
> After HIVE-1609, we are seeing some table not found errors intermittently.
> We have a test case where 5 processes are concurrently issueing the same query - 
> explain extended insert .. select from <T>
> and once in a while, we get a error <T> not found - 
> When we revert back the JDO version, the error is gone.
> We can investigate later to find the JDO bug, but for now this is a show-stopper for facebook, and needs
> to be reverted back immediately.
> This also means, that the filters will not be pushed to mysql.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-1853) downgrade JDO version

Posted by "Ashutosh Chauhan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972265#action_12972265 ] 

Ashutosh Chauhan commented on HIVE-1853:
----------------------------------------

bq. This was creating a big problem for us - so, we needed to fix it asap. 

Unfortunately, this will cause a big problem for us  : ( We were pushing filters from Pig to Metastore (in Howl) all those pig scripts will now break.

> downgrade JDO version
> ---------------------
>
>                 Key: HIVE-1853
>                 URL: https://issues.apache.org/jira/browse/HIVE-1853
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Namit Jain
>            Assignee: Paul Yang
>             Fix For: 0.7.0
>
>         Attachments: HIVE-1853.1.patch, HIVE-1853.2.patch
>
>
> After HIVE-1609, we are seeing some table not found errors intermittently.
> We have a test case where 5 processes are concurrently issueing the same query - 
> explain extended insert .. select from <T>
> and once in a while, we get a error <T> not found - 
> When we revert back the JDO version, the error is gone.
> We can investigate later to find the JDO bug, but for now this is a show-stopper for facebook, and needs
> to be reverted back immediately.
> This also means, that the filters will not be pushed to mysql.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-1853) downgrade JDO version

Posted by "Paul Yang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Yang updated HIVE-1853:
----------------------------

    Attachment: HIVE-1853.2.patch

Regenerated

> downgrade JDO version
> ---------------------
>
>                 Key: HIVE-1853
>                 URL: https://issues.apache.org/jira/browse/HIVE-1853
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Namit Jain
>            Assignee: Paul Yang
>         Attachments: HIVE-1853.1.patch, HIVE-1853.2.patch
>
>
> After HIVE-1609, we are seeing some table not found errors intermittently.
> We have a test case where 5 processes are concurrently issueing the same query - 
> explain extended insert .. select from <T>
> and once in a while, we get a error <T> not found - 
> When we revert back the JDO version, the error is gone.
> We can investigate later to find the JDO bug, but for now this is a show-stopper for facebook, and needs
> to be reverted back immediately.
> This also means, that the filters will not be pushed to mysql.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-1853) downgrade JDO version

Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972252#action_12972252 ] 

Namit Jain commented on HIVE-1853:
----------------------------------

This was creating a big problem for us - so, we needed to fix it asap.

Now, we can think of more options.

> downgrade JDO version
> ---------------------
>
>                 Key: HIVE-1853
>                 URL: https://issues.apache.org/jira/browse/HIVE-1853
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Namit Jain
>            Assignee: Paul Yang
>             Fix For: 0.7.0
>
>         Attachments: HIVE-1853.1.patch, HIVE-1853.2.patch
>
>
> After HIVE-1609, we are seeing some table not found errors intermittently.
> We have a test case where 5 processes are concurrently issueing the same query - 
> explain extended insert .. select from <T>
> and once in a while, we get a error <T> not found - 
> When we revert back the JDO version, the error is gone.
> We can investigate later to find the JDO bug, but for now this is a show-stopper for facebook, and needs
> to be reverted back immediately.
> This also means, that the filters will not be pushed to mysql.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-1853) downgrade JDO version

Posted by "Ashutosh Chauhan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12973122#action_12973122 ] 

Ashutosh Chauhan commented on HIVE-1853:
----------------------------------------

bq. We have a test case where 5 processes are concurrently issueing the same query -  explain extended insert .. select from <T>and once in a while, we get a error <T> not found - When we revert back the JDO version, the error is gone.

Namit,

Will it be possible to post the testcase which shows this problem?

> downgrade JDO version
> ---------------------
>
>                 Key: HIVE-1853
>                 URL: https://issues.apache.org/jira/browse/HIVE-1853
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Namit Jain
>            Assignee: Paul Yang
>             Fix For: 0.7.0
>
>         Attachments: HIVE-1853.1.patch, HIVE-1853.2.patch
>
>
> After HIVE-1609, we are seeing some table not found errors intermittently.
> We have a test case where 5 processes are concurrently issueing the same query - 
> explain extended insert .. select from <T>
> and once in a while, we get a error <T> not found - 
> When we revert back the JDO version, the error is gone.
> We can investigate later to find the JDO bug, but for now this is a show-stopper for facebook, and needs
> to be reverted back immediately.
> This also means, that the filters will not be pushed to mysql.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-1853) downgrade JDO version

Posted by "Ashutosh Chauhan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972238#action_12972238 ] 

Ashutosh Chauhan commented on HIVE-1853:
----------------------------------------

That will disable the feature on metastore itself. I was hoping just undoing the changes of HIVE-1660 will revert back Hive to old behavior where QL was doing the pruning and thus will solve the problem you guys are seeing now. That way we could have left partition pruning in metastore to play with and try to fix the real bug.

> downgrade JDO version
> ---------------------
>
>                 Key: HIVE-1853
>                 URL: https://issues.apache.org/jira/browse/HIVE-1853
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Namit Jain
>            Assignee: Paul Yang
>             Fix For: 0.7.0
>
>         Attachments: HIVE-1853.1.patch, HIVE-1853.2.patch
>
>
> After HIVE-1609, we are seeing some table not found errors intermittently.
> We have a test case where 5 processes are concurrently issueing the same query - 
> explain extended insert .. select from <T>
> and once in a while, we get a error <T> not found - 
> When we revert back the JDO version, the error is gone.
> We can investigate later to find the JDO bug, but for now this is a show-stopper for facebook, and needs
> to be reverted back immediately.
> This also means, that the filters will not be pushed to mysql.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-1853) downgrade JDO version

Posted by "Ashutosh Chauhan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972327#action_12972327 ] 

Ashutosh Chauhan commented on HIVE-1853:
----------------------------------------

Was doing some testing for HIVE-1696 test cases now fail with
{code}
 <error message="listMPartitionsByFilter is not supported due to a JDO library downgrade" type="java.lang.RuntimeException">java.lang.RuntimeException: listMPartitionsByFilter is not supported due to a JDO library downgrade
        at org.apache.hadoop.hive.metastore.ObjectStore.listMPartitionsByFilter(ObjectStore.java:1025)
        at org.apache.hadoop.hive.metastore.ObjectStore.getPartitionsByFilter(ObjectStore.java:972)
        at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler$36.run(HiveMetaStore.java:2126)
        at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler$36.run(HiveMetaStore.java:2123)
        at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.executeWithRetry(HiveMetaStore.java:240)
        at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.get_partitions_by_filter(HiveMetaStore.java:2123)
        at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.listPartitionsByFilter(HiveMetaStoreClient.java:589)
        at org.apache.hadoop.hive.metastore.TestHiveMetaStore.checkFilter(TestHiveMetaStore.java:1147)
        at org.apache.hadoop.hive.metastore.TestHiveMetaStore.testPartitionFilter(TestHiveMetaStore.java:1065)
{code}

May be for time being (until underlying issue is fixed) we shall also disable the failing tests so that trunk is buildable with passing all tests.

> downgrade JDO version
> ---------------------
>
>                 Key: HIVE-1853
>                 URL: https://issues.apache.org/jira/browse/HIVE-1853
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Namit Jain
>            Assignee: Paul Yang
>             Fix For: 0.7.0
>
>         Attachments: HIVE-1853.1.patch, HIVE-1853.2.patch
>
>
> After HIVE-1609, we are seeing some table not found errors intermittently.
> We have a test case where 5 processes are concurrently issueing the same query - 
> explain extended insert .. select from <T>
> and once in a while, we get a error <T> not found - 
> When we revert back the JDO version, the error is gone.
> We can investigate later to find the JDO bug, but for now this is a show-stopper for facebook, and needs
> to be reverted back immediately.
> This also means, that the filters will not be pushed to mysql.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.