Uploaded image for project: 'Sentry (Retired)'
  1. Sentry (Retired)
  2. SENTRY-609

[Unit Test] Many tests failing with error "The root scratch dir: /tmp/hive on HDFS should be writable. Current permissions are: rwxr-xr-x"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 1.5.0
    • 1.5.0
    • None
    • None

    Description

      26 tests are failing in this run: https://builds.apache.org/job/Sentry-jdk-1.7/196/org.apache.sentry$sentry-binding-hive/testReport/ with the following error:

      Error Message
      
      java.lang.RuntimeException: The root scratch dir: /tmp/hive on HDFS should be writable. Current permissions are: rwxr-xr-x
      Stacktrace
      
      java.lang.RuntimeException: java.lang.RuntimeException: The root scratch dir: /tmp/hive on HDFS should be writable. Current permissions are: rwxr-xr-x
      	at org.apache.hadoop.hive.ql.session.SessionState.createRootHDFSDir(SessionState.java:535)
      	at org.apache.hadoop.hive.ql.session.SessionState.createSessionDirs(SessionState.java:484)
      	at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:436)
      	at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:392)
      	at org.apache.sentry.binding.hive.TestSentryHiveAuthorizationTaskFactory.setup(TestSentryHiveAuthorizationTaskFactory.java:80)
      

      Attachments

        1. SENTRY-609.001.patch
          1 kB
          Dapeng Sun
        2. SENTRY-609.002.patch
          1 kB
          Dapeng Sun
        3. SENTRY-609.003.patch
          2 kB
          Dapeng Sun
        4. SENTRY-609.004.patch
          4 kB
          Dapeng Sun
        5. SENTRY-609.005.patch
          6 kB
          Dapeng Sun
        6. SENTRY-609.006.patch
          6 kB
          Dapeng Sun
        7. SENTRY-609.007.patch
          9 kB
          Dapeng Sun
        8. SENTRY-609.008.patch
          9 kB
          Dapeng Sun
        9. SENTRY-609.009.patch
          1 kB
          Dapeng Sun
        10. SENTRY-609.010.patch
          7 kB
          Dapeng Sun

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

              dapengsun Dapeng Sun
              lskuff Lenni Kuff
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: