Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-3106

Hive query - local mapreduce task failure on CDH-5.4

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: Explore
    • Labels:
      None
    • Rank:
      1|hzywlj:

      Description

      we were facing issues with hive running local mapred task, and we fixed that here, https://github.com/caskdata/cdap/pull/3270.

      we add hive-exec.jar to the explore classpath for running local mapreduce task.

      we use

       new HiveConf().getJar() 

      to get the hive-exec.jar

      this was tested in cdh-5.3 and works, however in cdh-5.4 the same statement gives hive-jdbc-1.1.0-cdh5.4.4-standalone.jar instead of hive-exec.jar

      we have to understand why and get hive-exec.jar instead in the classpath, that should fix the issue.

        Attachments

        1. program.log
          60 kB
        2. stderr
          43 kB
        3. stdout
          1.06 MB

          Issue Links

            Activity

              People

              • Assignee:
                alvin Alvin Wang
                Reporter:
                shankar Shankar Selvam
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: