You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Thomas Tauber-Marshall (JIRA)" <ji...@apache.org> on 2017/12/11 21:53:00 UTC

[jira] [Resolved] (IMPALA-6298) failure in test_profile_fragment_instances

     [ https://issues.apache.org/jira/browse/IMPALA-6298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Tauber-Marshall resolved IMPALA-6298.
--------------------------------------------
       Resolution: Fixed
    Fix Version/s: Impala 2.11.0

commit b4cf5f2174b338c097e42d43c32b494a6e0b46c0
Author: Thomas Tauber-Marshall <tm...@cloudera.com>
Date:   Mon Dec 11 10:02:45 2017 -0800

    IMPALA-6298: Skip test_profile_fragment_instances on local filesystem
    
    test_profile_fragment_instances was recently added to verify that the
    final runtime profile for a query has the expected fragments and exec
    nodes. The test fails on local filesystem builds, though, as it
    assumes there will be 3 impalads and therefore 3 fragment instances,
    but there is only 1 impalad on local filesystem builds.
    
    The fix is to disable the test on local filesystem builds.
    
    Change-Id: I2c98f160406081626f17709809b8efee9eae1450
    Reviewed-on: http://gerrit.cloudera.org:8080/8809
    Reviewed-by: Michael Brown <mi...@cloudera.com>
    Reviewed-by: Philip Zeyliger <ph...@cloudera.com>
    Tested-by: Impala Public Jenkins

>  failure in test_profile_fragment_instances 
> --------------------------------------------
>
>                 Key: IMPALA-6298
>                 URL: https://issues.apache.org/jira/browse/IMPALA-6298
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Infrastructure
>    Affects Versions: Impala 2.11.0
>            Reporter: Pranay Singh
>            Assignee: Thomas Tauber-Marshall
>            Priority: Blocker
>             Fix For: Impala 2.11.0
>
>
> End-end test fails with the below message, this function was added as a part of changes in IMPALA-6081
> Details follows:
> ----------------
> [gw3] FAILED query_test/test_observability.py::TestObservability::test_profile_fragment_instances 
> .
> .
> FAIL query_test/test_observability.py::TestObservability::()::test_profile_fragment_instances
> =================================== FAILURES ===================================
>  ______________ TestObservability.test_profile_fragment_instances _______________
>  [gw3] linux2 -- Python 2.6.6 /data/jenkins/workspace/impala-asf-master-core-local/repos/Impala/bin/../infra/python/env/bin/python
>  query_test/test_observability.py:122: in test_profile_fragment_instances
>     assert results.runtime_profile.count("HDFS_SCAN_NODE") == 12
>  E   assert 6 == 12
>  E    +  where 6 = <built-in method count of str object at 0x4fb0160>('HDFS_SCAN_NODE')
>  E    +    where <built-in method count of str object at 0x4fb0160> = 'Query (id=bd4f6d86eaac3127:20f9932500000000):\n  DEBUG MODE WARNING: Query profile created while running a DEBUG buil...extSwitches: 0 (0)\n           - TotalRawHdfsReadTime(*): 818.004ms\n           - TotalReadThroughput: 128.19 MB/sec\n'.count
>  E    +      where 'Query (id=bd4f6d86eaac3127:20f9932500000000):\n  DEBUG MODE WARNING: Query profile created while running a DEBUG buil...extSwitches: 0 (0)\n           - TotalRawHdfsReadTime(*): 818.004ms\n           - TotalReadThroughput: 128.19 MB/sec\n' = <tests.beeswax.impala_beeswax.ImpalaBeeswaxResult object at 0xaa8ec10>.runtime_profile
> ----------------------------- Captured stderr call -----------------------------
> -- executing against localhost:21000
>       with l as (select * from tpch.lineitem UNION ALL select * from tpch.lineitem)
>        select STRAIGHT_JOIN count(*) from (select * from tpch.lineitem a LIMIT 1) a
>         join (select * from l LIMIT 2000000) b on a.l_orderkey = -b.l_orderkey;;



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)