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

Wei Zheng commented on HIVE-16131:
----------------------------------

Looks good. Do you think for TypedBytesWritableOutput.java if the following 
change is more compact?
{code}
-  public void writeSortedMap(SortedMapWritable smw) throws IOException {
+  public void writeSortedMap(SortedMapWritable<?> smw) throws IOException {
     out.writeMapHeader(smw.size());
-    for (Map.Entry<WritableComparable, Writable> entry : smw.entrySet()) {
+    for (Map.Entry<? extends WritableComparable<?>, Writable> entry : 
smw.entrySet()) {
       write(entry.getKey());
       write(entry.getValue());
     }
{code}

> Hive building with Hadoop 3 - additional stuff broken recently
> --------------------------------------------------------------
>
>                 Key: HIVE-16131
>                 URL: https://issues.apache.org/jira/browse/HIVE-16131
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HIVE-16131.patch
>
>




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

Reply via email to