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

ASF GitHub Bot logged work on BEAM-10994:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 28/Oct/20 00:21
            Start Date: 28/Oct/20 00:21
    Worklog Time Spent: 10m 
      Work Description: davidyan74 commented on a change in pull request #13210:
URL: https://github.com/apache/beam/pull/13210#discussion_r513107625



##########
File path: 
runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/HotKeyLogger.java
##########
@@ -52,7 +52,9 @@ public void logHotKeyDetection(String userStepName, Duration 
hotKeyAge) {
     LOG.warn(
         "A hot key was detected in step '{}' with age of '{}'. This is "
             + "a symptom of key distribution being skewed. To fix, please 
inspect your data and "
-            + "pipeline to ensure that elements are evenly distributed across 
your key space.",
+            + "pipeline to ensure that elements are evenly distributed across 
your key space. If "
+            + "you want to log the plain-text key to Cloud Logging please 
re-run with the "
+            + "`hotKeyLoggingEnabled` pipeline option.",

Review comment:
       LGTM. Do we also want to refer the user to the set method? 
https://github.com/apache/beam/blob/master/runners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/options/DataflowPipelineOptions.java#L207




----------------------------------------------------------------
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: 505470)
    Time Spent: 5.5h  (was: 5h 20m)

> Add Hot Key Logging in Dataflow Runner
> --------------------------------------
>
>                 Key: BEAM-10994
>                 URL: https://issues.apache.org/jira/browse/BEAM-10994
>             Project: Beam
>          Issue Type: New Feature
>          Components: runner-dataflow
>            Reporter: Sam Rohde
>            Assignee: Sam Rohde
>            Priority: P2
>          Time Spent: 5.5h
>  Remaining Estimate: 0h
>
> This adds the ability for users to enable the logging of hot key content.



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

Reply via email to