[ 
https://issues.apache.org/jira/browse/HIVE-8335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14157563#comment-14157563
 ] 

Jason Dere commented on HIVE-8335:
----------------------------------

The test is complaining about the missing method: 
org.apache.avro.Schema$Field.<init>(
Ljava/lang/String;
Lorg/apache/avro/Schema;
Ljava/lang/String;
Lorg/codehaus/jackson/JsonNode;)V

Running Class.forName("org.apache.avro.Schema$Field") and printing out the 
constructors for Schema.Field, it shows this method:

public org.apache.avro.Schema$Field(
java.lang.String,
org.apache.avro.Schema,
java.lang.String,
org.apache.hive.org.codehaus.jackson.JsonNode)

Note the difference in the package name for JsonNode between the first and 
second signature:
org.codehaus.jackson.JsonNode
org.apache.hive.org.codehaus.jackson.JsonNode

Looks like this was caused due to relocating the org.codehaus.jackson libraries 
in HIVE-8271.  [~gopalv], do you know how the method resolution is supposed to 
work then the class of one of the arguments has been relocated like this?

> TestHCatLoader/TestHCatStorer failures on pre-commit tests
> ----------------------------------------------------------
>
>                 Key: HIVE-8335
>                 URL: https://issues.apache.org/jira/browse/HIVE-8335
>             Project: Hive
>          Issue Type: Bug
>          Components: HCatalog, Tests
>            Reporter: Jason Dere
>
> Looks like a number of Hive pre-commit tests have been failing with the 
> following failures:
> {noformat}
> org.apache.hive.hcatalog.pig.TestHCatLoader.testSchemaLoadBasic[5]
> org.apache.hive.hcatalog.pig.TestHCatLoader.testConvertBooleanToInt[5]
> org.apache.hive.hcatalog.pig.TestHCatLoader.testReadDataPrimitiveTypes[5]
> org.apache.hive.hcatalog.pig.TestHCatLoader.testSchemaLoadComplex[5]
> org.apache.hive.hcatalog.pig.TestHCatLoader.testColumnarStorePushdown[5]
> org.apache.hive.hcatalog.pig.TestHCatLoader.testGetInputBytes[5]
> org.apache.hive.hcatalog.pig.TestHCatStorer.testNoAlias[5]
> org.apache.hive.hcatalog.pig.TestHCatStorer.testEmptyStore[5]
> org.apache.hive.hcatalog.pig.TestHCatStorer.testDynamicPartitioningMultiPartColsNoDataInDataNoSpec[5]
> org.apache.hive.hcatalog.pig.TestHCatStorer.testPartitionPublish[5]
> org.apache.hive.hcatalog.pig.TestHCatLoader.testSchemaLoadPrimitiveTypes[5]
> org.apache.hive.hcatalog.pig.TestHCatLoader.testReadDataBasic[5]
> org.apache.hive.hcatalog.pig.TestHCatLoader.testReadPartitionedBasic[5]
> org.apache.hive.hcatalog.pig.TestHCatLoader.testProjectionsBasic[5]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to