jihoonson commented on a change in pull request #6383: Prevent failed 
KafkaConsumer creation from blocking overlord startup
URL: https://github.com/apache/incubator-druid/pull/6383#discussion_r222504169
 
 

 ##########
 File path: 
indexing-service/src/main/java/org/apache/druid/indexing/common/task/RealtimeIndexTask.java
 ##########
 @@ -89,7 +89,7 @@
 
   private static final int TASK_ID_BITS_PER_SYMBOL = 4;
   private static final int TASK_ID_SYMBOL_MASK = (1 << 
TASK_ID_BITS_PER_SYMBOL) - 1;
-  private static final int TASK_ID_LENGTH = Integer.BYTES / 
TASK_ID_BITS_PER_SYMBOL;
+  private static final int TASK_ID_LENGTH = (Integer.BYTES * 8) / 
TASK_ID_BITS_PER_SYMBOL;
 
 Review comment:
   nit: `Integer.SIZE` returns 32.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to