You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Quanlong Huang (Jira)" <ji...@apache.org> on 2022/06/14 06:22:00 UTC

[jira] [Commented] (IMPALA-10125) webserver.test_web_pages.TestWebPage.test_catalog failed

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

Quanlong Huang commented on IMPALA-10125:
-----------------------------------------

Saw this again in: [https://jenkins.impala.io/job/ubuntu-16.04-dockerised-tests/5845]
{noformat}
webserver/test_web_pages.py:304: in test_catalog
    self.get_and_check_status_jvm(self.CATALOG_URL, unique_database)
webserver/test_web_pages.py:195: in get_and_check_status_jvm
    ports_to_test=self.TEST_PORTS_WITHOUT_SS)
webserver/test_web_pages.py:179: in get_and_check_status
    assert string_to_search in response.text, "URL: {0} Str:'{1}'\nResp:{2}".format(
E   AssertionError: URL: http://localhost:25000/catalog Str:'test_catalog_caf8ffd1'
E     Resp:<!--
E     Licensed to the Apache Software Foundation (ASF) under one
E     or more contributor license agreements.  See the NOTICE file
E     distributed with this work for additional information
E     regarding copyright ownership.  The ASF licenses this file
E     to you under the Apache License, Version 2.0 (the
E     "License"); you may not use this file except in compliance
E     with the License.  You may obtain a copy of the License at
E     
E       http://www.apache.org/licenses/LICENSE-2.0
E     
E     Unless required by applicable law or agreed to in writing,
E     software distributed under the License is distributed on an
E     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
E     KIND, either express or implied.  See the License for the
E     specific language governing permissions and limitations
E     under the License.
E     -->
E     <!--
E     Licensed to the Apache Software Foundation (ASF) under one
E     or more contributor license agreements.  See the NOTICE file
E     distributed with this work for additional information
E     regarding copyright ownership.  The ASF licenses this file
E     to you under the Apache License, Version 2.0 (the
E     "License"); you may not use this file except in compliance
E     with the License.  You may obtain a copy of the License at
E     
E       http://www.apache.org/licenses/LICENSE-2.0
E     
E     Unless required by applicable law or agreed to in writing,
E     software distributed under the License is distributed on an
E     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
E     KIND, either express or implied.  See the License for the
E     specific language governing permissions and limitations
E     under the License.
E     -->
E     
E     <!DOCTYPE html>
E     <html>
E       <head><title>Apache Impala</title>
E         <script src='/www/jquery/jquery-3.5.1.min.js'></script>
E         <script src='/www/bootstrap/js/bootstrap-4.3.1.min.js'></script>
E         <script src='/www/scripts/util.js'></script>
E         <link rel="stylesheet" type="text/css" href="/www/datatables-1.10.18.min.css"/>
E         <script type="text/javascript" src="/www/datatables-1.10.18.min.js"></script>
E         <link href='/www/bootstrap/css/bootstrap-4.3.1.min.css' rel='stylesheet' media='screen'>
E         <link rel='icon' href='/www/favicon.ico'>
E         <style>
E           @media (min-width: 1300px) {
E             #nav-options {
E                 width: 1280px;
E             }
E           }
E     
E           body {
E             font-size: 14px;
E           }
E     
E           pre {
E             padding: 10px;
E             font-size: 12px;
E             border: 1px solid #ccc;
E           }
E     
E           /* Avoid unsightly padding around code element */
E           pre.code {
E             padding: 0;
E           }
E         </style>
E       </head>
E       <body>
E         <header class="navbar navbar-default navbar-expand bg-light navbar-static-top" id="top" role="banner">
E           <div id="nav-options" class="container">
E             <div class="navbar-header">
E               <a class='navbar-brand' href='/' id='root-link'>impalad</a>
E             </div>
E             <nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation">
E               <ul class="nav navbar-nav">
E                 
E                 <li class="navbar-item"><a class="nav-link" href="/">/</a></li>
E                 
E                 <li class="navbar-item"><a class="nav-link" href="/admission">/admission</a></li>
E                 
E                 <li class="navbar-item"><a class="nav-link" href="/backends">/backends</a></li>
E                 
E                 <li class="navbar-item"><a class="nav-link" href="/catalog">/catalog</a></li>
E                 
E                 <li class="navbar-item"><a class="nav-link" href="/hadoop-varz">/hadoop-varz</a></li>
E                 
E                 <li class="navbar-item"><a class="nav-link" href="/jmx">/jmx</a></li>
E                 
E                 <li class="navbar-item"><a class="nav-link" href="/log_level">/log_level</a></li>
E                 
E                 <li class="navbar-item"><a class="nav-link" href="/logs">/logs</a></li>
E                 
E                 <li class="navbar-item"><a class="nav-link" href="/memz">/memz</a></li>
E                 
E                 <li class="navbar-item"><a class="nav-link" href="/metrics">/metrics</a></li>
E                 
E                 <li class="navbar-item"><a class="nav-link" href="/profile_docs">/profile_docs</a></li>
E                 
E                 <li class="navbar-item"><a class="nav-link" href="/queries">/queries</a></li>
E                 
E                 <li class="navbar-item"><a class="nav-link" href="/rpcz">/rpcz</a></li>
E                 
E                 <li class="navbar-item"><a class="nav-link" href="/sessions">/sessions</a></li>
E                 
E                 <li class="navbar-item"><a class="nav-link" href="/threadz">/threadz</a></li>
E                 
E                 <li class="navbar-item"><a class="nav-link" href="/varz">/varz</a></li>
E                 
E               </ul>
E             </nav>
E           </div>
E         </header>
E     <div class='container-fluid' style='width:80%'>
E     
E     <div class="alert alert-danger">
E       <strong>Error:</strong>
E       InconsistentMetadataFetchException: Fetching DATABASE failed. Could not find TCatalogObject(type:DATABASE, catalog_version:0, db:TDatabase(db_name:test_print_header_bddf3871))
E     
E     </div>
E     
E     <script>
E     // For Apache Knox compatibility, all urls that are accessed by javascript should have
E     // their path wrapped with this.
E     function make_url(path) {
E       var root_link = document.getElementById('root-link');
E       var s  = root_link.href.split("?");
E       url = s[0] + path;
E       if (s.length > 1) {
E         if (path.includes("?")) {
E           url += "&"
E         } else {
E           url += "?";
E         }
E         url += s[1];
E       }
E       return url;
E     }
E     </script>
E     
E     
E     <h2>Catalog</h2>
E     
E     
E     
E     
E     
E     
E     
E     
E     
E     <h3>Databases</h3>
E     <ol class="breadcrumb">
E     
E     </ol>
E     
E     
E     
E     </div>
E     </body>
E     </html>
E     
E     
E   assert 'test_catalog_caf8ffd1' in '<!--\nLicensed to the Apache Software Foundation (ASF) under one\nor more contributor license agreements.  See the NOTI...\n}\n</script>\n\n\n<h2>Catalog</h2>\n\n\n\n\n\n\n\n\n\n<h3>Databases</h3>\n<ol class="breadcrumb">\n\n</ol>\n\n\n\n</div>\n</body>\n</html>\n\n'
E    +  where '<!--\nLicensed to the Apache Software Foundation (ASF) under one\nor more contributor license agreements.  See the NOTI...\n}\n</script>\n\n\n<h2>Catalog</h2>\n\n\n\n\n\n\n\n\n\n<h3>Databases</h3>\n<ol class="breadcrumb">\n\n</ol>\n\n\n\n</div>\n</body>\n</html>\n\n' = <Response [200]>.textStandard ErrorSET client_identifier=webserver/test_web_pages.py::TestWebPage::()::test_catalog;
SET sync_ddl=False;
-- executing against localhost:21000

DROP DATABASE IF EXISTS `test_catalog_caf8ffd1` CASCADE;

-- 2022-06-14 02:36:19,800 INFO     MainThread: Started query 3a488dd07b0ef794:ae9a527600000000
SET client_identifier=webserver/test_web_pages.py::TestWebPage::()::test_catalog;
SET sync_ddl=False;
-- executing against localhost:21000

CREATE DATABASE `test_catalog_caf8ffd1`;

-- 2022-06-14 02:36:23,508 INFO     MainThread: Started query 794b15ee7ec6c3ba:40bbf7ae00000000
-- 2022-06-14 02:36:23,560 INFO     MainThread: Created database "test_catalog_caf8ffd1" for test ID "webserver/test_web_pages.py::TestWebPage::()::test_catalog"
-- executing against localhost:21000

create table test_catalog_caf8ffd1.foo (id int, val int);

-- 2022-06-14 02:36:23,567 INFO     MainThread: Started query 354880907d68d0a0:0463b25600000000
-- executing against localhost:21000

insert into test_catalog_caf8ffd1.foo values (1, 200);

-- 2022-06-14 02:36:23,641 INFO     MainThread: Started query c6476f4acdde7739:d1f810f200000000
-- executing against localhost:21000

create table test_catalog_caf8ffd1.foo_part (id int, val int) partitioned by (year int);

-- 2022-06-14 02:36:23,697 INFO     MainThread: Started query 774ceb0f38c58a5d:5a3882f500000000
-- executing against localhost:21000

insert into test_catalog_caf8ffd1.foo_part partition (year=2010) values (1, 200);

-- 2022-06-14 02:36:23,766 INFO     MainThread: Started query f4464c08346d82e7:296b725100000000
-- executing against localhost:21000

create table test_catalog_caf8ffd1.foo_kudu (id int, val int, primary key (id))  stored as kudu;

-- 2022-06-14 02:36:23,974 INFO     MainThread: Started query 2a46ef0847ad0f2c:d5d975f300000000
-- executing against localhost:21000

insert into test_catalog_caf8ffd1.foo_kudu values (1, 200);

-- 2022-06-14 02:36:25,785 INFO     MainThread: Started query 4b4380ea4e4f9a4d:ee2e20c800000000
-- executing against localhost:21000

create table test_catalog_caf8ffd1.foo_part_parquet (id int, val int) partitioned by (year int) stored as parquet;

-- 2022-06-14 02:36:25,840 INFO     MainThread: Started query c94565d7bbf587f5:3f7d099e00000000
-- executing against localhost:21000

insert into test_catalog_caf8ffd1.foo_part_parquet partition (year=2010) values (1, 200);

-- 2022-06-14 02:36:25,916 INFO     MainThread: Started query 9a4198449d9874b2:fd6d945400000000 {noformat}

> webserver.test_web_pages.TestWebPage.test_catalog failed
> --------------------------------------------------------
>
>                 Key: IMPALA-10125
>                 URL: https://issues.apache.org/jira/browse/IMPALA-10125
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Catalog
>            Reporter: Yongzhi Chen
>            Assignee: Quanlong Huang
>            Priority: Major
>              Labels: broken-build, flaky
>
> In master-core-data-load, webserver.test_web_pages.TestWebPage.test_catalog failed with
> {noformat}
> Stacktrace
> webserver/test_web_pages.py:303: in test_catalog
>     self.__test_table_metrics(unique_database, "foo_part", "alter-duration")
> webserver/test_web_pages.py:352: in __test_table_metrics
>     "?name=%s.%s" % (db_name, tbl_name), metric, ports_to_test=self.CATALOG_TEST_PORT)
> webserver/test_web_pages.py:170: in get_and_check_status
>     assert string_to_search in response.text, "URL: {0} Str:'{1}'\nResp:{2}".format(
> E   AssertionError: URL: http://localhost:25020/table_metrics?name=test_catalog_caf8ffd1.foo_part Str:'alter-duration'
> E     Resp:<!--
> E     Licensed to the Apache Software Foundation (ASF) under one
> E     or more contributor license agreements.  See the NOTICE file
> E     distributed with this work for additional information
> E     regarding copyright ownership.  The ASF licenses this file
> E     to you under the Apache License, Version 2.0 (the
> E     "License"); you may not use this file except in compliance
> E     with the License.  You may obtain a copy of the License at
> E     
> E       http://www.apache.org/licenses/LICENSE-2.0
> E     
> E     Unless required by applicable law or agreed to in writing,
> E     software distributed under the License is distributed on an
> E     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> E     KIND, either express or implied.  See the License for the
> E     specific language governing permissions and limitations
> E     under the License.
> E     -->
> E     <!--
> E     Licensed to the Apache Software Foundation (ASF) under one
> E     or more contributor license agreements.  See the NOTICE file
> E     distributed with this work for additional information
> E     regarding copyright ownership.  The ASF licenses this file
> E     to you under the Apache License, Version 2.0 (the
> E     "License"); you may not use this file except in compliance
> E     with the License.  You may obtain a copy of the License at
> E     
> E       http://www.apache.org/licenses/LICENSE-2.0
> E     
> E     Unless required by applicable law or agreed to in writing,
> E     software distributed under the License is distributed on an
> E     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> E     KIND, either express or implied.  See the License for the
> E     specific language governing permissions and limitations
> E     under the License.
> E     -->
> E     
> E     <!DOCTYPE html>
> E     <html>
> E       <head><title>Apache Impala</title>
> E         <script src='/www/jquery/jquery-3.5.1.min.js'></script>
> E         <script src='/www/bootstrap/js/bootstrap-4.3.1.min.js'></script>
> E         <script src='/www/scripts/util.js'></script>
> E         <link rel="stylesheet" type="text/css" href="/www/datatables-1.10.18.min.css"/>
> E         <script type="text/javascript" src="/www/datatables-1.10.18.min.js"></script>
> E         <link href='/www/bootstrap/css/bootstrap-4.3.1.min.css' rel='stylesheet' media='screen'>
> E         <link rel='icon' href='/www/favicon.ico'>
> E         <style>
> E           @media (min-width: 1300px) {
> E             #nav-options {
> E                 width: 1280px;
> E             }
> E           }
> E     
> E           body {
> E             font-size: 14px;
> E           }
> E     
> E           pre {
> E             padding: 10px;
> E             font-size: 12px;
> E             border: 1px solid #ccc;
> E           }
> E     
> E           /* Avoid unsightly padding around code element */
> E           pre.code {
> E             padding: 0;
> E           }
> E         </style>
> E       </head>
> E       <body>
> E         <header class="navbar navbar-default navbar-expand bg-light navbar-static-top" id="top" role="banner">
> E           <div id="nav-options" class="container">
> E             <div class="navbar-header">
> E               <a class='navbar-brand' href='/' id='root-link'>catalogd</a>
> E             </div>
> E             <nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation">
> E               <ul class="nav navbar-nav">
> E                 
> E                 <li class="navbar-item"><a class="nav-link" href="/">/</a></li>
> E                 
> E                 <li class="navbar-item"><a class="nav-link" href="/catalog">/catalog</a></li>
> E                 
> E                 <li class="navbar-item"><a class="nav-link" href="/jmx">/jmx</a></li>
> E                 
> E                 <li class="navbar-item"><a class="nav-link" href="/log_level">/log_level</a></li>
> E                 
> E                 <li class="navbar-item"><a class="nav-link" href="/logs">/logs</a></li>
> E                 
> E                 <li class="navbar-item"><a class="nav-link" href="/memz">/memz</a></li>
> E                 
> E                 <li class="navbar-item"><a class="nav-link" href="/metrics">/metrics</a></li>
> E                 
> E                 <li class="navbar-item"><a class="nav-link" href="/operations">/operations</a></li>
> E                 
> E                 <li class="navbar-item"><a class="nav-link" href="/profile_docs">/profile_docs</a></li>
> E                 
> E                 <li class="navbar-item"><a class="nav-link" href="/rpcz">/rpcz</a></li>
> E                 
> E                 <li class="navbar-item"><a class="nav-link" href="/threadz">/threadz</a></li>
> E                 
> E                 <li class="navbar-item"><a class="nav-link" href="/varz">/varz</a></li>
> E                 
> E               </ul>
> E             </nav>
> E           </div>
> E         </header>
> E     <div class='container-fluid' style='width:80%'>
> E     
> E     <script>
> E     // For Apache Knox compatibility, all urls that are accessed by javascript should have
> E     // their path wrapped with this.
> E     function make_url(path) {
> E       var root_link = document.getElementById('root-link');
> E       var s  = root_link.href.split("?");
> E       url = s[0] + path;
> E       if (s.length > 1) {
> E         if (path.includes("?")) {
> E           url += "&"
> E         } else {
> E           url += "?";
> E         }
> E         url += s[1];
> E       }
> E       return url;
> E     }
> E     </script>
> E     
> E     
> E     <pre>Metrics for table test_catalog_caf8ffd1.foo_partare not available because the table is currently modified by another operation.</pre>
> E     
> E     </div>
> E     </body>
> E     </html>
> E     
> E     
> E   assert 'alter-duration' in '<!--\nLicensed to the Apache Software Foundation (ASF) under one\nor more contributor license agreements.  See the NOTI...oo_partare not available because the table is currently modified by another operation.</pre>\n\n</div>\n</body>\n</html>\n\n'
> E    +  where '<!--\nLicensed to the Apache Software Foundation (ASF) under one\nor more contributor license agreements.  See the NOTI...oo_partare not available because the table is currently modified by another operation.</pre>\n\n</div>\n</body>\n</html>\n\n' = <Response [200]>.text
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org