yifan-c commented on code in PR #209:
URL: 
https://github.com/apache/cassandra-analytics/pull/209#discussion_r3328328658


##########
cassandra-analytics-common/src/main/java/org/apache/cassandra/spark/data/partitioner/TokenPartitioner.java:
##########
@@ -116,17 +116,17 @@ private void calculateTokenRangeMap()
         validateCompleteRangeCoverage();
         validateRangesDoNotOverlap();
 
-        LOGGER.info("Number of partitions {}", reversePartitionMap.size());
-        LOGGER.info("Partition map " + partitionMap);
-        LOGGER.info("Reverse partition map " + reversePartitionMap);
+        LOGGER.debug("Number of partitions {}", reversePartitionMap.size());

Review Comment:
   One option to reduce the verbosity is to only log at the driver instance. 
Currently the 3 messages are logged by every spark task. To remove the log 
messages from the executor nodes, we can skip logging in the code path of 
`org.apache.cassandra.spark.data.partitioner.TokenPartitioner.Serializer#read`
   
   I'd strongly suggest keeping the log messages at the info level. They are 
useful when debugging. 



-- 
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]


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

Reply via email to