Denys Kuzmenko created HIVE-20711: ------------------------------------- Summary: Race Condition when Multi-Threading in SessionState.createRootHDFSDir Key: HIVE-20711 URL: https://issues.apache.org/jira/browse/HIVE-20711 Project: Hive Issue Type: Bug Components: HiveServer2 Reporter: Denys Kuzmenko
java.util.concurrent.ExecutionException: java.lang.RuntimeException: The root scratch dir: /home/hiveptest/hive-ptest-cloudera-slaves-17e5-13.gce.cloudera.com-hiveptest-0/cdh-source/itests/hive-unit/target/tmp/scratchdir on HDFS should be writable. Current permissions are: rwxr-xr-x at org.apache.hadoop.hive.ql.session.SessionState.createRootHDFSDir(SessionState.java:714) at org.apache.hadoop.hive.ql.session.SessionState.createSessionDirs(SessionState.java:637) at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:567) at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:532) at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:512) at -- This message was sent by Atlassian JIRA (v7.6.3#76005)