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

Isilon build fails due to lack of permission

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • Impala 2.8.0
    • None
    • Infrastructure
    • ghx-label-2

    Description

      The following failure happens intermittently and has happened 2 times so far. This type of error happened when executing a different test each time.

      authorization/test_grant_revoke.py .
      ../../Impala-auxiliary-tests/tests/aux_custom_cluster_tests/test_ldap.py xxxxx
      
       generated xml file: /data/jenkins/workspace/impala-umbrella-build-and-test-isilon/repos/Impala/logs/custom_cluster_tests/results/TEST-impala-custom-cluster.xml 
      =================================== FAILURES ===================================
      _______ TestInsertBehaviourCustomCluster.test_insert_inherit_permission ________
      
      self = <test_insert_behaviour.TestInsertBehaviourCustomCluster object at 0x7f7c90018f50>
      
          @SkipIfLocal.hdfs_client
          @SkipIfLocal.root_path
          @pytest.mark.execute_serially
          @CustomClusterTestSuite.with_args("--insert_inherit_permissions=true")
          def test_insert_inherit_permission(self):
            """Create a table with three partition columns to test permission inheritance"""
            client = self._get_impala_client()
            try:
      >       self.hdfs_client.chmod("test-warehouse/%s/p1=1/" % TEST_TBL, "777")
      
      custom_cluster/test_insert_behaviour.py:86: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      util/hdfs_util.py:59: in chmod
          _raise_pywebhdfs_exception(response.status_code, response.text)
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      resp_code = 403
      message = '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
      <html><head>
      <title>403 Forbidden</title>
      </head><body>
      <h1>Forbidden</h1>
      <p>You don\'t have permission to access /v1/html/500Text.html
      on this server.</p>
      </body></html>
      '
      
          def _raise_pywebhdfs_exception(resp_code, message=None):
          
              if resp_code == http_client.BAD_REQUEST:
                  raise errors.BadRequest(msg=message)
              elif resp_code == http_client.UNAUTHORIZED:
                  raise errors.Unauthorized(msg=message)
              elif resp_code == http_client.NOT_FOUND:
                  raise errors.FileNotFound(msg=message)
              elif resp_code == http_client.METHOD_NOT_ALLOWED:
                  raise errors.MethodNotAllowed(msg=message)
              else:
      >           raise errors.PyWebHdfsException(msg=message)
      E           PyWebHdfsException: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
      E           <html><head>
      E           <title>403 Forbidden</title>
      E           </head><body>
      E           <h1>Forbidden</h1>
      E           <p>You don't have permission to access /v1/html/500Text.html
      E           on this server.</p>
      E           </body></html>
      
      ../infra/python/env/lib/python2.6/site-packages/pywebhdfs/webhdfs.py:477: PyWebHdfsException
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            tarasbob Taras Bobrovytsky
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: