You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by "abhishekrb19 (via GitHub)" <gi...@apache.org> on 2023/04/18 04:37:06 UTC

[GitHub] [druid] abhishekrb19 commented on a diff in pull request #14106: KillTask should return empty inputSource resources

abhishekrb19 commented on code in PR #14106:
URL: https://github.com/apache/druid/pull/14106#discussion_r1169478812


##########
indexing-service/src/main/java/org/apache/druid/indexing/common/task/HadoopIndexTask.java:
##########
@@ -202,7 +202,7 @@ public String getType()
   @Override
   public Set<ResourceAction> getInputSourceResources()
   {
-    return Collections.singleton(new ResourceAction(new Resource(ResourceType.EXTERNAL, "hadoop"), Action.READ));
+    return Collections.singleton(new ResourceAction(new Resource( "hadoop", ResourceType.EXTERNAL), Action.READ));

Review Comment:
   Nit: there's an extra whitespace:
   ```suggestion
       return Collections.singleton(new ResourceAction(new Resource("hadoop", ResourceType.EXTERNAL), Action.READ));
   ```



-- 
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: commits-unsubscribe@druid.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org