Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-4991

hive build with 0.20 is broken

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.12.0
    • Fix Version/s: 0.12.0
    • Component/s: None
    • Labels:

      Description

      As reported in HIVE-4911
      ant clean package -Dhadoop.mr.rev=20
      Fails with -

      compile:
           [echo] Project: ql
          [javac] Compiling 898 source files to /Users/malakar/code/oss/hive/build/ql/classes
          [javac] /Users/malakar/code/oss/hive/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java:35: package org.apache.commons.io does not exist
          [javac] import org.apache.commons.io.FileUtils;
          [javac]                             ^
          [javac] /Users/malakar/code/oss/hive/ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java:743: cannot find symbol
          [javac] symbol  : variable FileUtils
          [javac] location: class org.apache.hadoop.hive.ql.session.SessionState
          [javac]         FileUtils.deleteDirectory(resourceDir);
          [javac]         ^
          [javac] Note: Some input files use or override a deprecated API.
          [javac] Note: Recompile with -Xlint:deprecation for details.
          [javac] Note: Some input files use unchecked or unsafe operations.
          [javac] Note: Recompile with -Xlint:unchecked for details.
          [javac] 2 errors
      

        Attachments

        1. HIVE-4991.patch.txt
          0.7 kB
          Edward Capriolo
        2. HIVE-4991.3.patch.txt
          2 kB
          Thejas Nair
        3. HIVE-4991.2.patch.txt
          2 kB
          Edward Capriolo

          Activity

            People

            • Assignee:
              appodictic Edward Capriolo
              Reporter:
              thejas Thejas Nair
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: