You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Prasad Chakka (JIRA)" <ji...@apache.org> on 2008/09/19 00:24:44 UTC

[jira] Created: (HADOOP-4207) update derby.jar to eliminate the one time wait of 2-3 minutes while running junit tests

update derby.jar to eliminate the one time wait of 2-3 minutes while running junit tests
----------------------------------------------------------------------------------------

                 Key: HADOOP-4207
                 URL: https://issues.apache.org/jira/browse/HADOOP-4207
             Project: Hadoop Core
          Issue Type: Bug
          Components: contrib/hive
    Affects Versions: 0.19.0
            Reporter: Prasad Chakka
            Assignee: Prasad Chakka
            Priority: Minor
             Fix For: 0.19.0
         Attachments: derby.jar

current derby.jar (version 10.4.1) has a bug where getting metadata of tables can hang upto few minutes. Hive metastore validates the existing tables & metadata while connecting and it can encounter this bug sometimes. The new version of derby.jar has a fix for this bug which would eliminate this hang.

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


[jira] Commented: (HADOOP-4207) update derby.jar to eliminate the one time wait of 2-3 minutes while running junit tests

Posted by "Steve Loughran (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12632661#action_12632661 ] 

Steve Loughran commented on HADOOP-4207:
----------------------------------------

why does hive test against derby and not hdfs; that's a lot faster at the expense of some concurrency rules; good for testing though not always what you want in production.

> update derby.jar to eliminate the one time wait of 2-3 minutes while running junit tests
> ----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-4207
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4207
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/hive
>    Affects Versions: 0.19.0
>            Reporter: Prasad Chakka
>            Assignee: Prasad Chakka
>            Priority: Minor
>             Fix For: 0.19.0
>
>         Attachments: derby.jar
>
>
> current derby.jar (version 10.4.1) has a bug where getting metadata of tables can hang upto few minutes. Hive metastore validates the existing tables & metadata while connecting and it can encounter this bug sometimes. The new version of derby.jar has a fix for this bug which would eliminate this hang.

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


[jira] Updated: (HADOOP-4207) update derby.jar to eliminate the one time wait of 2-3 minutes while running junit tests

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

dhruba borthakur updated HADOOP-4207:
-------------------------------------

    Status: Patch Available  (was: Open)

I have been able to run all unit tests using this derby.jar.

> update derby.jar to eliminate the one time wait of 2-3 minutes while running junit tests
> ----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-4207
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4207
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/hive
>    Affects Versions: 0.19.0
>            Reporter: Prasad Chakka
>            Assignee: Prasad Chakka
>            Priority: Minor
>             Fix For: 0.19.0
>
>         Attachments: derby.jar
>
>
> current derby.jar (version 10.4.1) has a bug where getting metadata of tables can hang upto few minutes. Hive metastore validates the existing tables & metadata while connecting and it can encounter this bug sometimes. The new version of derby.jar has a fix for this bug which would eliminate this hang.

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


[jira] Commented: (HADOOP-4207) update derby.jar to eliminate the one time wait of 2-3 minutes while running junit tests

Posted by "dhruba borthakur (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12632473#action_12632473 ] 

dhruba borthakur commented on HADOOP-4207:
------------------------------------------

This is a new version of the Derby release. HadoopQA won't work here because it is not a patch file. I am running tests myself and if all goes well, will check in this patch. This files goes into src/contrib/hive/lib/derby.jar


> update derby.jar to eliminate the one time wait of 2-3 minutes while running junit tests
> ----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-4207
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4207
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/hive
>    Affects Versions: 0.19.0
>            Reporter: Prasad Chakka
>            Assignee: Prasad Chakka
>            Priority: Minor
>             Fix For: 0.19.0
>
>         Attachments: derby.jar
>
>
> current derby.jar (version 10.4.1) has a bug where getting metadata of tables can hang upto few minutes. Hive metastore validates the existing tables & metadata while connecting and it can encounter this bug sometimes. The new version of derby.jar has a fix for this bug which would eliminate this hang.

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


[jira] Commented: (HADOOP-4207) update derby.jar to eliminate the one time wait of 2-3 minutes while running junit tests

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636645#action_12636645 ] 

Hudson commented on HADOOP-4207:
--------------------------------

Integrated in Hadoop-trunk #622 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/622/])
    

> update derby.jar to eliminate the one time wait of 2-3 minutes while running junit tests
> ----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-4207
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4207
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/hive
>    Affects Versions: 0.19.0
>            Reporter: Prasad Chakka
>            Assignee: Prasad Chakka
>            Priority: Minor
>             Fix For: 0.20.0
>
>         Attachments: derby.jar
>
>
> current derby.jar (version 10.4.1) has a bug where getting metadata of tables can hang upto few minutes. Hive metastore validates the existing tables & metadata while connecting and it can encounter this bug sometimes. The new version of derby.jar has a fix for this bug which would eliminate this hang.

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


[jira] Commented: (HADOOP-4207) update derby.jar to eliminate the one time wait of 2-3 minutes while running junit tests

Posted by "dhruba borthakur (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12632665#action_12632665 ] 

dhruba borthakur commented on HADOOP-4207:
------------------------------------------

The hive metastore code talks SQL to store the data in the db. Apache Derby is packaged into the Hadoop distribution to serve as a simple easy-to-use and lightweight SQL store. In production, people might actually use mySQL or something else instead of Derby.

> update derby.jar to eliminate the one time wait of 2-3 minutes while running junit tests
> ----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-4207
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4207
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/hive
>    Affects Versions: 0.19.0
>            Reporter: Prasad Chakka
>            Assignee: Prasad Chakka
>            Priority: Minor
>             Fix For: 0.19.0
>
>         Attachments: derby.jar
>
>
> current derby.jar (version 10.4.1) has a bug where getting metadata of tables can hang upto few minutes. Hive metastore validates the existing tables & metadata while connecting and it can encounter this bug sometimes. The new version of derby.jar has a fix for this bug which would eliminate this hang.

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


[jira] Updated: (HADOOP-4207) update derby.jar to eliminate the one time wait of 2-3 minutes while running junit tests

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

dhruba borthakur updated HADOOP-4207:
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.20.0
           Status: Resolved  (was: Patch Available)

[exec]     +1 @author.  The patch does not contain any @author tags.
[exec]     -1
[exec]     +1 javadoc.  The javadoc tool did not generate any warning messages.
[exec]     +1 javac.  The applied patch does not increase the total number of javac compiler warnings

I just committed this. Thanks Prasad!

> update derby.jar to eliminate the one time wait of 2-3 minutes while running junit tests
> ----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-4207
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4207
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/hive
>    Affects Versions: 0.19.0
>            Reporter: Prasad Chakka
>            Assignee: Prasad Chakka
>            Priority: Minor
>             Fix For: 0.20.0
>
>         Attachments: derby.jar
>
>
> current derby.jar (version 10.4.1) has a bug where getting metadata of tables can hang upto few minutes. Hive metastore validates the existing tables & metadata while connecting and it can encounter this bug sometimes. The new version of derby.jar has a fix for this bug which would eliminate this hang.

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


[jira] Updated: (HADOOP-4207) update derby.jar to eliminate the one time wait of 2-3 minutes while running junit tests

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

Prasad Chakka updated HADOOP-4207:
----------------------------------

    Attachment: derby.jar

> update derby.jar to eliminate the one time wait of 2-3 minutes while running junit tests
> ----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-4207
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4207
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/hive
>    Affects Versions: 0.19.0
>            Reporter: Prasad Chakka
>            Assignee: Prasad Chakka
>            Priority: Minor
>             Fix For: 0.19.0
>
>         Attachments: derby.jar
>
>
> current derby.jar (version 10.4.1) has a bug where getting metadata of tables can hang upto few minutes. Hive metastore validates the existing tables & metadata while connecting and it can encounter this bug sometimes. The new version of derby.jar has a fix for this bug which would eliminate this hang.

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


[jira] Updated: (HADOOP-4207) update derby.jar to eliminate the one time wait of 2-3 minutes while running junit tests

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

Devaraj Das updated HADOOP-4207:
--------------------------------

    Fix Version/s:     (was: 0.19.0)

Please mark it as a blocker for 0.19 if required

> update derby.jar to eliminate the one time wait of 2-3 minutes while running junit tests
> ----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-4207
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4207
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/hive
>    Affects Versions: 0.19.0
>            Reporter: Prasad Chakka
>            Assignee: Prasad Chakka
>            Priority: Minor
>         Attachments: derby.jar
>
>
> current derby.jar (version 10.4.1) has a bug where getting metadata of tables can hang upto few minutes. Hive metastore validates the existing tables & metadata while connecting and it can encounter this bug sometimes. The new version of derby.jar has a fix for this bug which would eliminate this hang.

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