[ https://issues.apache.org/jira/browse/HIVE-22649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17003735#comment-17003735 ]
László Bodor commented on HIVE-22649: ------------------------------------- +1 I'm about to merge this shortly, test fix looks good > Fix TestHiveCli: scratchdir should be writable > ---------------------------------------------- > > Key: HIVE-22649 > URL: https://issues.apache.org/jira/browse/HIVE-22649 > Project: Hive > Issue Type: Sub-task > Reporter: Denys Kuzmenko > Assignee: Denys Kuzmenko > Priority: Major > Attachments: HIVE-22649.1.patch, HIVE-22649.2.patch > > > Error applying authorization policy on hive configuration: The dir: /tmp/hive > on HDFS should be writable. Current permissions are: rwxr-xr-x > SessionState.java > {code} > private Path createRootHDFSDir(HiveConf conf) throws IOException { > Path rootHDFSDirPath = new Path(HiveConf.getVar(conf, > HiveConf.ConfVars.SCRATCHDIR)); > *Utilities.ensurePathIsWritable(rootHDFSDirPath, conf);* > return rootHDFSDirPath; > } > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)