[ 
https://issues.apache.org/jira/browse/HIVE-22649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Denys Kuzmenko updated HIVE-22649:
----------------------------------
    Description: 
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}

  was:Error applying authorization policy on hive configuration: The dir: 
/tmp/hive on HDFS should be writable. Current permissions are: rwxr-xr-x


> 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
>
>
> 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)

Reply via email to