Chengxiang Li created HIVE-9048: ----------------------------------- Summary: Hive build failed on hadoop-1 after HIVE-8828. Key: HIVE-9048 URL: https://issues.apache.org/jira/browse/HIVE-9048 Project: Hive Issue Type: Bug Reporter: Chengxiang Li Assignee: Chengxiang Li
HIVE-8828 introduce org.apache.hadoop.tools.HadoopArchives which included in hadoop-tools(in hadoop-1)/hadoop-archives(in hadoop-2), while hadoop-tools is not added into hadoop-1 dependency. This lead to the following compile error: {noformat} [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project hive-exec: Compilation failure: Compilation failure: [ERROR] /home/cxli/sources/github/chengxiangli/hive/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java:[175,30] error: package org.apache.hadoop.tools does not exist [ERROR] /home/cxli/sources/github/chengxiangli/hive/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java:[1322,8] error: cannot find symbol [ERROR] class DDLTask [ERROR] /home/cxli/sources/github/chengxiangli/hive/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java:[1322,33] error: cannot find symbol [ERROR] -> [Help 1] {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)