Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-22619 Fix unstable tests
  3. HIVE-22649

Fix TestHiveCli: scratchdir should be writable

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    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

        private Path createRootHDFSDir(HiveConf conf) throws IOException {
          Path rootHDFSDirPath = new Path(HiveConf.getVar(conf, HiveConf.ConfVars.SCRATCHDIR));
          *Utilities.ensurePathIsWritable(rootHDFSDirPath, conf);*
          return rootHDFSDirPath;
        }
      

      Attachments

        1. HIVE-22649.1.patch
          13 kB
          Denys Kuzmenko
        2. HIVE-22649.2.patch
          13 kB
          Denys Kuzmenko

        Issue Links

          Activity

            People

              dkuzmenko Denys Kuzmenko
              dkuzmenko Denys Kuzmenko
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: