hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yussuf Shaikh (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-16843) PrimaryToReplicaResourceFunctionTest.createDestinationPath fails with AssertionError
Date Wed, 07 Jun 2017 12:11:18 GMT

     [ https://issues.apache.org/jira/browse/HIVE-16843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Yussuf Shaikh updated HIVE-16843:
---------------------------------
    Fix Version/s: 3.0.0
           Status: Patch Available  (was: In Progress)

Attaching a patch with the changes in test method.

> PrimaryToReplicaResourceFunctionTest.createDestinationPath fails with AssertionError
> ------------------------------------------------------------------------------------
>
>                 Key: HIVE-16843
>                 URL: https://issues.apache.org/jira/browse/HIVE-16843
>             Project: Hive
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 3.0.0
>         Environment: # cat /etc/lsb-release
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=14.04
> DISTRIB_CODENAME=trusty
> DISTRIB_DESCRIPTION="Ubuntu 14.04.5 LTS"
> # uname -a
> Linux 9efcdb4d8880 3.19.0-37-generic #42-Ubuntu SMP Fri Nov 20 18:22:05 UTC 2015 x86_64
x86_64 x86_64 GNU/Linux
>            Reporter: Yussuf Shaikh
>            Assignee: Yussuf Shaikh
>            Priority: Minor
>             Fix For: 3.0.0
>
>         Attachments: HIVE-16843.patch
>
>
> Stacktrace:
> java.lang.AssertionError: 
> Expected: is "hdfs://somehost:9000/someBasePath/withADir/replicaDbName/somefunctionname/9223372036854775807/ab.jar"
>      but: was "hdfs://somehost:9000/someBasePath/withADir/replicadbname/somefunctionname/0/ab.jar"
> 	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
> 	at org.junit.Assert.assertThat(Assert.java:865)
> 	at org.junit.Assert.assertThat(Assert.java:832)
> 	at org.apache.hadoop.hive.ql.parse.repl.load.message.PrimaryToReplicaResourceFunctionTest.createDestinationPath(PrimaryToReplicaResourceFunctionTest.java:82)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:498)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message