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

Fix unit test failure: TestMetastoreEndToEnd.testPartionInsert, java.lang.RuntimeException: Cannot make directory: hdfs://localhost:60362/tmp/hive-jenkins/hive_2015-07-09_21-50-34_878_9035087593722312500-1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.0
    • 1.6.0
    • None
    • None

    Description

      Error Message
      
      Failed to execute "LOAD DATA LOCAL INPATH '/tmp/1436503814839-0/data/kv1.dat' INTO TABLE db_1.tab2". Driver returned 40000 Error: FAILED: RuntimeException Cannot make directory: hdfs://localhost:60362/tmp/hive-jenkins/hive_2015-07-09_21-50-34_878_9035087593722312500-1
      Stacktrace
      
      java.io.IOException: Failed to execute "LOAD DATA LOCAL INPATH '/tmp/1436503814839-0/data/kv1.dat' INTO TABLE db_1.tab2". Driver returned 40000 Error: FAILED: RuntimeException Cannot make directory: hdfs://localhost:60362/tmp/hive-jenkins/hive_2015-07-09_21-50-34_878_9035087593722312500-1
      	at org.apache.sentry.tests.e2e.metastore.AbstractMetastoreTestWithStaticConfiguration$1.run(AbstractMetastoreTestWithStaticConfiguration.java:198)
      	at org.apache.sentry.tests.e2e.metastore.AbstractMetastoreTestWithStaticConfiguration$1.run(AbstractMetastoreTestWithStaticConfiguration.java:191)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at javax.security.auth.Subject.doAs(Subject.java:415)
      	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1614)
      	at org.apache.sentry.tests.e2e.metastore.AbstractMetastoreTestWithStaticConfiguration.execHiveSQLwithOverlay(AbstractMetastoreTestWithStaticConfiguration.java:191)
      	at org.apache.sentry.tests.e2e.metastore.AbstractMetastoreTestWithStaticConfiguration.execHiveSQL(AbstractMetastoreTestWithStaticConfiguration.java:211)
      	at org.apache.sentry.tests.e2e.metastore.TestMetastoreEndToEnd.testPartionInsert(TestMetastoreEndToEnd.java:518)
      

      Attachments

        1. SENTRY-806-3.patch
          2 kB
          Anne Yu
        2. SENTRY-806-2.patch
          2 kB
          Anne Yu
        3. SENTRY-806-1.patch
          2 kB
          Anne Yu
        4. SENTRY-806-0.patch
          2 kB
          Anne Yu

        Activity

          People

            anneyu Anne Yu
            anneyu Anne Yu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: