I've modified common/ivy file slightly (HIVE-2999+a) and it worked for me. But I don't know exact meaning of it.
-navis 2012/8/8 Namit Jain <nj...@fb.com> > > > I was trying to add a test case which only works for hadoop 23. > However, I got some errors when I tried to compile: > > I tried the following: > > ant -Dhadoop.version=0.23.0 -Dhadoop.security.version=0.23.0 > -Dhadoop.security.version.prefix=0.23 package > ant -Dhadoop.version=0.23.0 package > > > looking at: > > https://issues.apache.org/jira/browse/HIVE-2468 > > Do I need to do anything else ? > > Thanks, > -namit >
<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <ivy-module version="2.0"> <info organisation="${hive.ivy.org}" module="hive-common" revision="${version}"> <license name="The Apache Software License, Version 2.0" url="http://www.apache.org/licenses/LICENSE-2.0.txt" /> <description homepage="http://hive.apache.org"> The Apache Hive (TM) data warehouse software facilitates querying and managing large datasets residing in distributed storage. https://cwiki.apache.org/confluence/display/Hive/Home </description> </info> <configurations> <include file="${ivy.conf.dir}/common-configurations.xml"/> </configurations> <dependencies> <dependency org="org.apache.hadoop" name="hadoop-common" rev="${hadoop-0.23.version}" conf="hadoop23.compile->default" transitive="false"> <include type="jar"/> <exclude org="commons-daemon" module="commons-daemon"/><!--bad POM--> <exclude org="org.apache.commons" module="commons-daemon"/><!--bad POM--> </dependency> <dependency org="org.apache.hadoop" name="hadoop-auth" rev="${hadoop-0.23.version}" conf="hadoop23.compile->default" transitive="false"> <include type="jar"/> <exclude org="commons-daemon" module="commons-daemon"/><!--bad POM--> <exclude org="org.apache.commons" module="commons-daemon"/><!--bad POM--> </dependency> <dependency org="org.apache.hadoop" name="hadoop-mapreduce-client-core" rev="${hadoop-0.23.version}" conf="hadoop23.compile->default" transitive="false"> <include type="jar"/> <exclude org="commons-daemon" module="commons-daemon"/><!--bad POM--> <exclude org="org.apache.commons" module="commons-daemon"/><!--bad POM--> </dependency> <dependency org="org.apache.hadoop" name="hadoop-archives" rev="${hadoop-0.23.version}" conf="hadoop23.compile->default" transitive="false"> <include type="jar"/> <exclude org="commons-daemon" module="commons-daemon"/><!--bad POM--> <exclude org="org.apache.commons" module="commons-daemon"/><!--bad POM--> </dependency> <dependency org="org.apache.avro" name="avro" rev="${avro.version}" conf="hadoop23.compile->default" transitive="false" /> <dependency org="org.apache.hadoop" name="hadoop-core" rev="${hadoop-0.20.version}" conf="hadoop20.compile->default" transitive="false"> <include type="jar"/> <exclude org="commons-daemon" module="commons-daemon"/><!--bad POM--> <exclude org="org.apache.commons" module="commons-daemon"/><!--bad POM--> </dependency> <dependency org="org.apache.hadoop" name="hadoop-test" rev="${hadoop-0.20.version}" conf="hadoop20.compile->default" transitive="false"> <include type="jar"/> <exclude org="commons-daemon" module="commons-daemon"/><!--bad POM--> <exclude org="org.apache.commons" module="commons-daemon"/><!--bad POM--> </dependency> <dependency org="org.apache.hadoop" name="hadoop-tools" rev="${hadoop-0.20.version}" conf="hadoop20.compile->default" transitive="false"> <include type="jar"/> <exclude org="commons-daemon" module="commons-daemon"/><!--bad POM--> <exclude org="org.apache.commons" module="commons-daemon"/><!--bad POM--> </dependency> <dependency org="org.apache.hive" name="hive-shims" rev="${version}" conf="compile->default" transitive="false" /> <dependency org="commons-cli" name="commons-cli" rev="${commons-cli.version}"/> <dependency org="org.apache.commons" name="commons-compress" rev="${commons-compress.version}"/> <dependency org="commons-lang" name="commons-lang" rev="${commons-lang.version}"/> <dependency org="commons-logging" name="commons-logging" rev="${commons-logging.version}" transitive="false"/> <dependency org="commons-logging" name="commons-logging-api" rev="${commons-logging-api.version}" transitive="false"/> <dependency org="log4j" name="log4j" rev="${log4j.version}" transitive="false"/> </dependencies> </ivy-module>