Anne Yu created SENTRY-806:
------------------------------
Summary: 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
Key: SENTRY-806
URL: https://issues.apache.org/jira/browse/SENTRY-806
Project: Sentry
Issue Type: Bug
Reporter: Anne Yu
Assignee: Anne Yu
{code}
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)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)