phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-2822) Tests that extend BaseHBaseManagedTimeIT are very slow
Date Fri, 08 Apr 2016 22:10:25 GMT

    [ https://issues.apache.org/jira/browse/PHOENIX-2822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15233048#comment-15233048
] 

Hudson commented on PHOENIX-2822:
---------------------------------

FAILURE: Integrated in Phoenix-master #1189 (See [https://builds.apache.org/job/Phoenix-master/1189/])
PHOENIX-2822 Tests that extend BaseHBaseManagedTimeIT are very (samarth: rev 6d147896f5856e728c454e4a1fa47575d9690aa7)
* phoenix-core/src/it/java/org/apache/phoenix/end2end/StoreNullsIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/QueryMoreIT.java
* phoenix-core/src/it/java/org/apache/phoenix/iterate/PhoenixQueryTimeoutIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/AlterSessionIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/salted/SaltedTableVarLengthRowKeyIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/RTrimFunctionIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/AutoCommitIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/AbsFunctionEnd2EndIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/DynamicFamilyIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/salted/SaltedTableUpsertSelectIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/LikeExpressionIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/PrimitiveTypeIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/index/DropViewIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/ServerExceptionIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/ArrayToStringFunctionIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/GetSetByteBitFunctionEnd2EndIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/PowerFunctionEnd2EndIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/RegexpSplitFunctionIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/UpsertSelectAutoCommitIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/MinMaxAggregateFunctionIT.java
* phoenix-core/src/test/java/org/apache/phoenix/memory/MemoryManagerTest.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/TimezoneOffsetFunctionIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/ArraysWithNullsIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/ReverseFunctionIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/MD5FunctionIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/MappingTableDataTypeIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/CbrtFunctionEnd2EndIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/ConvertTimezoneFunctionIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/BaseHBaseManagedTimeIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/ArrayFillFunctionIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/ReadOnlyIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/OctetLengthFunctionEnd2EndIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/SortOrderIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/ArithmeticQueryIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/DecodeFunctionIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/StatementHintsIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/RoundFloorCeilFunctionsEnd2EndIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/BaseHBaseManagedTimeTableReuseIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/StringToArrayFunctionIT.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/SignFunctionEnd2EndIT.java
* phoenix-core/src/test/java/org/apache/phoenix/query/BaseTest.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/NthValueFunctionIT.java
* phoenix-core/src/main/java/org/apache/phoenix/memory/GlobalMemoryManager.java
* phoenix-core/src/it/java/org/apache/phoenix/end2end/FirstValueFunctionIT.java


> Tests that extend BaseHBaseManagedTimeIT are very slow
> ------------------------------------------------------
>
>                 Key: PHOENIX-2822
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2822
>             Project: Phoenix
>          Issue Type: Improvement
>    Affects Versions: 4.8.0
>            Reporter: churro morales
>            Assignee: churro morales
>              Labels: HBASEDEPENDENCIES
>         Attachments: PHOENIX-2822-98.patch, PHOENIX-2822.patch
>
>
> Since I am trying to refactor out all the hbase private dependencies, I have to constantly
run tests to make sure I didn't break anything.  The tests that extend BaseHBaseManagedTimeIT
are very slow as they have to delete all non-system tables after every test case.  This takes
around 5-10 seconds to accomplish.  This adds significant time to the test suite. 
> I created a new class named: BaseHBaseManagedTimeTableReuseIT and it creates a random
table name such that we dont have collisions for tests.  It also doesn't do any cleanup after
each test case or class because these table names should be unique.  I moved about 30-35 tests
out from BaseHBaseManagedTimeIT to BaseHBaseManagedTimeTableReuseIT and it significantly improved
the overall time it takes to run tests.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message