You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by denys kuzmenko via Review Board <no...@reviews.apache.org> on 2018/10/09 07:51:46 UTC

Review Request 68960: Race Condition when Multi-Threading in SessionState.createRootHDFSDir

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/68960/
-----------------------------------------------------------

Review request for hive, Jason Dere and Peter Vary.


Bugs: HIVE-20711
    https://issues.apache.org/jira/browse/HIVE-20711


Repository: hive-git


Description
-------

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


Diffs
-----

  itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/exec/spark/TestSparkSessionTimeout.java c887297bc2 
  ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java 76a30eb912 


Diff: https://reviews.apache.org/r/68960/diff/1/


Testing
-------

TestSparkSessionTimeout


Thanks,

denys kuzmenko