Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-7295

automatically set ownership of new files/dirs to Administrators group instead of individual user

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 0.13.0
    • None
    • None
    • Windows Server 2008 R2

    Description

      Unit test in TestHdfsAuthorizationProvider, e.g. org.apache.hcatalog.security.TestHdfsAuthorizationProvider.testTableOps. fails to run.

      Running org.apache.hcatalog.security.TestHdfsAuthorizationProvider
      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 15.799 sec <<< FAILURE! - in org.apache.hcatalog.security.TestHdfsAuthorizationProvider
      testTableOps(org.apache.hcatalog.security.TestHdfsAuthorizationProvider) Time elapsed: 15.546 sec <<< FAILURE!
      junit.framework.AssertionFailedError: FAILED: AuthorizationException org.apache.hadoop.security.AccessControlException: action WRITE not permitted on path pfile:/Users/xz
      hou/hworks/workspace/hwx-hive-ws/hive/hcatalog/core/target/warehouse for user xzhou expected:<0> but was:<40000>
      at junit.framework.Assert.fail(Assert.java:50)
      at junit.framework.Assert.failNotEquals(Assert.java:287)
      at junit.framework.Assert.assertEquals(Assert.java:67)
      at junit.framework.Assert.assertEquals(Assert.java:199)
      at org.apache.hcatalog.security.TestHdfsAuthorizationProvider.exec(TestHdfsAuthorizationProvider.java:172)
      at org.apache.hcatalog.security.TestHdfsAuthorizationProvider.testTableOps(TestHdfsAuthorizationProvider.java:307)

      Attachments

        Activity

          People

            Unassigned Unassigned
            xiaobingo Xiaobing Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: