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

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

                Author: ASF GitHub Bot
            Created on: 01/Mar/20 18:37
            Start Date: 01/Mar/20 18:37
    Worklog Time Spent: 10m 
      Work Description: aasha commented on pull request #911: HIVE-22865 
Include data in replication staging directory
URL: https://github.com/apache/hive/pull/911#discussion_r386130216
 
 

 ##########
 File path: 
ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/AbstractEventHandler.java
 ##########
 @@ -71,4 +85,31 @@ public long fromEventId() {
   public long toEventId() {
     return event.getEventId();
   }
+
+  public void writeFileEntry(String dbName, Table table, String file, 
BufferedWriter fileListWriter,
+                             Context withinContext) throws IOException, 
LoginException {
+    HiveConf hiveConf = withinContext.hiveConf;
+    String distCpDoAsUser = 
hiveConf.getVar(HiveConf.ConfVars.HIVE_DISTCP_DOAS_USER);
+    if (Utils.shouldDumpMetaDataOnly(table, withinContext.hiveConf)) {
 
 Review comment:
   If its metadata only, why are we dumping data
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

    Worklog Id:     (was: 395658)
    Time Spent: 3h  (was: 2h 50m)

> Include data in replication staging directory
> ---------------------------------------------
>
>                 Key: HIVE-22865
>                 URL: https://issues.apache.org/jira/browse/HIVE-22865
>             Project: Hive
>          Issue Type: Task
>            Reporter: PRAVIN KUMAR SINHA
>            Assignee: PRAVIN KUMAR SINHA
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-22865.1.patch, HIVE-22865.2.patch, 
> HIVE-22865.3.patch, HIVE-22865.4.patch, HIVE-22865.5.patch, HIVE-22865.6.patch
>
>          Time Spent: 3h
>  Remaining Estimate: 0h
>




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

Reply via email to