[ 
https://issues.apache.org/jira/browse/HIVE-25534?focusedWorklogId=652251&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-652251
 ]

ASF GitHub Bot logged work on HIVE-25534:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 17/Sep/21 09:59
            Start Date: 17/Sep/21 09:59
    Worklog Time Spent: 10m 
      Work Description: hmangla98 commented on a change in pull request #2650:
URL: https://github.com/apache/hive/pull/2650#discussion_r710922922



##########
File path: 
shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java
##########
@@ -1131,7 +1131,7 @@ public void setStoragePolicy(Path path, 
StoragePolicyValue policy)
       }
     }
     if (needToAddPreserveOption) {
-      params.add("-pbx");
+      params.add("-pb");  //Only Block Size will be preserved.

Review comment:
       Change done.

##########
File path: 
shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java
##########
@@ -1273,8 +1272,6 @@ public boolean runDistCpWithSnapshots(String oldSnapshot, 
String newSnapshot, Li
       }
     } catch (Exception e) {
       throw new IOException("Cannot execute DistCp process: ", e);
-    } finally {
-      conf.setBoolean("mapred.mapper.new-api", false);

Review comment:
       Added




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 652251)
    Time Spent: 0.5h  (was: 20m)

> Don't preserve FileAttribute.XATTR to initialise distcp.
> --------------------------------------------------------
>
>                 Key: HIVE-25534
>                 URL: https://issues.apache.org/jira/browse/HIVE-25534
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Haymant Mangla
>            Assignee: Haymant Mangla
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Remove the preserve xattr while calling distcp.
> {code:java}
> 2021-08-23 10:06:18,485 ERROR org.apache.hadoop.tools.DistCp: 
> [HiveServer2-Background-Pool: Thread-73]: XAttrs not supported on at least 
> one file system: 
>  org.apache.hadoop.tools.CopyListing$XAttrsNotSupportedException: XAttrs not 
> supported for file system: s3a://hmangla1-dev
>  at 
> org.apache.hadoop.tools.util.DistCpUtils.checkFileSystemXAttrSupport(DistCpUtils.java:513)
>  ~[hadoop-distcp-3.1.1.7.1.6.0-297.jar:?]
>  at org.apache.hadoop.tools.DistCp.configureOutputFormat(DistCp.java:337) 
> ~[hadoop-distcp-3.1.1.7.1.6.0-297.jar:?]
>  at org.apache.hadoop.tools.DistCp.createJob(DistCp.java:304) 
> ~[hadoop-distcp-3.1.1.7.1.6.0-297.jar:?]
>  at org.apache.hadoop.tools.DistCp.createAndSubmitJob(DistCp.java:214) 
> ~[hadoop-distcp-3.1.1.7.1.6.0-297.jar:?]
>  at org.apache.hadoop.tools.DistCp.execute(DistCp.java:193) 
> ~[hadoop-distcp-3.1.1.7.1.6.0-297.jar:?]{code}
>   



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to