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]

Support Questions

Find answers, ask questions, and share your expertise
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!

MirrorMaker wont start due to java.lang.RuntimeException

avatar
Frequent Visitor

 

[mirrormaker-thread-0] Mirror maker thread failure due to 
java.lang.RuntimeException: { is an invalid regex.
	at kafka.utils.TopicFilter.<init>(TopicFilter.scala:38)
	at kafka.utils.Whitelist.<init>(TopicFilter.scala:46)
	at kafka.tools.MirrorMaker$ConsumerWrapper$$anonfun$init$2.apply(MirrorMaker.scala:316)
	at kafka.tools.MirrorMaker$ConsumerWrapper$$anonfun$init$2.apply(MirrorMaker.scala:314)
	at scala.Option.foreach(Option.scala:257)
	at kafka.tools.MirrorMaker$ConsumerWrapper.init(MirrorMaker.scala:314)
	at kafka.tools.MirrorMaker$MirrorMakerThread.run(MirrorMaker.scala:215)

 

please help! 

2 ACCEPTED SOLUTIONS

avatar
Master Collaborator

Hi @sakitha ,

 

What version of CDH/HDP/CDP are you using? If you are using Cloudera Manager (CM), please check the MirrorMaker parameter values for presence of any "}" characters. The error, as shown, indicates there is something wrong with Whitelist parameter or the like.

 

 

Regards,

Alex Akulov

View solution in original post

avatar
Expert Contributor

Hi @sakitha 

 

Seems to be a known issue. 

Is the topic whitelist is set to " * " ?  Can you please try with dot  - " .*" 

 

Let us know if that works for you. 

 

Regards,

 

~ If the above answers your questions. Please give a thumbs up and mark the post as accept as solution.

View solution in original post

2 REPLIES 2

avatar
Master Collaborator

Hi @sakitha ,

 

What version of CDH/HDP/CDP are you using? If you are using Cloudera Manager (CM), please check the MirrorMaker parameter values for presence of any "}" characters. The error, as shown, indicates there is something wrong with Whitelist parameter or the like.

 

 

Regards,

Alex Akulov

avatar
Expert Contributor

Hi @sakitha 

 

Seems to be a known issue. 

Is the topic whitelist is set to " * " ?  Can you please try with dot  - " .*" 

 

Let us know if that works for you. 

 

Regards,

 

~ If the above answers your questions. Please give a thumbs up and mark the post as accept as solution.