clairemcginty commented on code in PR #26557:
URL: https://github.com/apache/beam/pull/26557#discussion_r1202516058


##########
sdks/java/io/hadoop-format/src/main/java/org/apache/beam/sdk/io/hadoop/format/HadoopFormatIO.java:
##########
@@ -702,6 +702,15 @@ public void populateDisplayData(DisplayData.Builder 
builder) {
                     "mapreduce.job.inputformat.class",
                     hadoopConfig.get("mapreduce.job.inputformat.class"))
                 .withLabel("InputFormat Class"));
+        final String inputDir = 
hadoopConfig.get("mapreduce.input.fileinputformat.inputdir");
+        if (inputDir != null) {
+          builder.add(
+              DisplayData.item(
+                      "mapreduce.input.fileinputformat.inputdir",
+                      String.format(
+                          "%s...", inputDir.substring(0, 
Math.min(inputDir.length(), 250))))

Review Comment:
   ah nice! done.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to