Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

MirrorMaker wont start due to java.lang.RuntimeException

avatar
New Contributor

 

[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.