Skip to content

Instantly share code, notes, and snippets.

@racheliurui
Last active June 29, 2017 03:44
Show Gist options
  • Save racheliurui/6a0bfc94ebdeded381264d8dd6f555ca to your computer and use it in GitHub Desktop.
Save racheliurui/6a0bfc94ebdeded381264d8dd6f555ca to your computer and use it in GitHub Desktop.
Hortonworks-HDF
@racheliurui
Copy link
Author

========Question: to change to Kafka topic default rentation date
Depreated...
bin/kafka-topics.sh --zookeeper zk.yoursite.com --alter --topic as-access --config retention.ms=86400000

/usr/hdf/current/kafka-broker/bin/kafka-configs.sh --zookeeper zookeeperhost:2181 --alter --entity-type topics --entity-name mytopic --add-config retention.ms=86400000

Verify the config by describe the topic

@racheliurui
Copy link
Author

===Problem===
Failed to connect node to cluster because local flow is different than cluster flow.
Nifi not clean install, and got issue and throws above excepton
Solve: copy flow file onto the other out of sync server and start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment