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

Hive QA commented on HIVE-20888:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12947987/HIVE-20888.01.patch

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 15534 tests 
executed
*Failed tests:*
{noformat}
TestMiniDruidCliDriver - did not produce a TEST-*.xml file (likely timed out) 
(batchId=195)
        
[druidmini_dynamic_partition.q,druidmini_test_ts.q,druidmini_expressions.q,druidmini_test_alter.q,druidmini_test_insert.q]
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[cbo_limit] 
(batchId=182)
{noformat}

Test results: 
https://builds.apache.org/job/PreCommit-HIVE-Build/14913/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/14913/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-14913/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 2 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12947987 - PreCommit-HIVE-Build

> TxnHandler: sort() called on immutable lists
> --------------------------------------------
>
>                 Key: HIVE-20888
>                 URL: https://issues.apache.org/jira/browse/HIVE-20888
>             Project: Hive
>          Issue Type: Bug
>          Components: Transactions
>            Reporter: Gopal V
>            Assignee: Igor Kryvenko
>            Priority: Major
>         Attachments: HIVE-20888.01.patch
>
>
> {code}
>         } else {
>           assert (!rqst.isSetSrcTxnToWriteIdList());
>           assert (rqst.isSetTxnIds());
>           txnIds = rqst.getTxnIds();
>         }
>         Collections.sort(txnIds); //easier to read logs and for assumption 
> done in replication flow
> {code}
> when the input comes from
> {code}
>   @Override
>   public long allocateTableWriteId(long txnId, String dbName, String 
> tableName) throws TException {
>     return allocateTableWriteIdsBatch(Collections.singletonList(txnId), 
> dbName, tableName).get(0).getWriteId();
>   }
> {code}
> {code}
> java.lang.UnsupportedOperationException: null
>     at java.util.AbstractList.set(AbstractList.java:132) ~[?:1.8.0]
>     at java.util.AbstractList$ListItr.set(AbstractList.java:426) ~[?:1.8.0]
>     at java.util.Collections.sort(Collections.java:170) ~[?:1.8.0]
>     at 
> org.apache.hadoop.hive.metastore.txn.TxnHandler.allocateTableWriteIds(TxnHandler.java:1523)
>  ~[hive-standalone-metastore-server-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT]
>     at 
> org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.allocate_table_write_ids(HiveMetaStore.java:7349)
>  ~[hive-standalone-metastore-server-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT]
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to