Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Community Articles

Find and share helpful community-sourced technical articles.
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!
Labels (1)
avatar
Contributor

This video article provides the steps on how to use Reassign Partitions Tool:

 

Open YouTube video here

 

Create a file named topics-to-move.json with the following content:

{
"topics": [{"topic":"<partitionName>"}],
 
"version":1
}
  1. Run the following command:
    ./kafka-reassign-partitions.sh --zookeeper master:2181 
    --topics-to-move-json-file topics-to-move.json --broker-list "<brokerID>" 
    --generate
  2. Take the output from previous Proposed partition reassignment configuration and create another json file reassign-partition.json.
  3. Run the following command: 
    ./kafka-reassign-partitions.sh --zookeeper master:2181 
    --reassignment-json-file reassign-partition.json --execute
1,873 Views
0 Kudos
Version history
Last update:
‎01-04-2021 04:58 AM
Updated by:
Rising Star Rising Star
Contributors