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

add distcp to classpath by default, because hive depends on it.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.3.0
    • Beeline, CLI
    • None

    Description

      when i run hive queries, i get errors as follow
      java.lang.NoClassDefFoundError: org/apache/hadoop/tools/DistCpOptions
      ...

      I dig into code, and find that hive depends on distcp ,but distcp is not in classpath by default.

      I think if adding distcp to hadoop classpath by default in hadoop project, but hadoop committers will not do that. discussions in HADOOP-13865 . They propose that Resolving this problem on HIVE

      So i add distcp to classpath on HIVE

      Attachments

        1. HIVE-15407.1.patch
          2 kB
          Hui Fei
        2. HIVE-15407.2.patch
          0.5 kB
          Hui Fei

        Activity

          People

            ferhui Hui Fei
            ferhui Hui Fei
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: