Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-10125

webserver.test_web_pages.TestWebPage.test_catalog failed

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Catalog
    • Labels:
      None
    • Epic Color:
      ghx-label-5

      Description

      In master-core-data-load, webserver.test_web_pages.TestWebPage.test_catalog failed with

      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
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ychena Yongzhi Chen
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: