You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2021/12/06 12:45:03 UTC

[GitHub] [bookkeeper] mingyifei opened a new issue #2929: No network topology script is found when using script based DNS resolver.

mingyifei opened a new issue #2929:
URL: https://github.com/apache/bookkeeper/issues/2929


   code:
   `        BookKeeper bk = new BookKeeper("127.0.0.1:2181");
   `
   version: 4.15.0-SNAPSHOT(master install)
   
   
   20:40:27.105 [main] ERROR org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicyImpl - Failed to initialize DNS Resolver org.apache.bookkeeper.net.ScriptBasedMapping, used default subnet resolver 
   java.lang.RuntimeException: No network topology script is found when using script based DNS resolver.
   	at org.apache.bookkeeper.net.ScriptBasedMapping$RawScriptBasedMapping.validateConf(ScriptBasedMapping.java:163) ~[bookkeeper-server-4.15.0-SNAPSHOT.jar:4.15.0-SNAPSHOT]
   	at org.apache.bookkeeper.net.AbstractDNSToSwitchMapping.setConf(AbstractDNSToSwitchMapping.java:81) ~[bookkeeper-server-4.15.0-SNAPSHOT.jar:4.15.0-SNAPSHOT]
   	at org.apache.bookkeeper.net.ScriptBasedMapping.setConf(ScriptBasedMapping.java:123) ~[bookkeeper-server-4.15.0-SNAPSHOT.jar:4.15.0-SNAPSHOT]
   	at org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicyImpl.initialize(RackawareEnsemblePlacementPolicyImpl.java:265) [bookkeeper-server-4.15.0-SNAPSHOT.jar:4.15.0-SNAPSHOT]
   	at org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicyImpl.initialize(RackawareEnsemblePlacementPolicyImpl.java:80) [bookkeeper-server-4.15.0-SNAPSHOT.jar:4.15.0-SNAPSHOT]
   	at org.apache.bookkeeper.client.BookKeeper.initializeEnsemblePlacementPolicy(BookKeeper.java:581) [bookkeeper-server-4.15.0-SNAPSHOT.jar:4.15.0-SNAPSHOT]
   	at org.apache.bookkeeper.client.BookKeeper.<init>(BookKeeper.java:505) [bookkeeper-server-4.15.0-SNAPSHOT.jar:4.15.0-SNAPSHOT]
   	at org.apache.bookkeeper.client.BookKeeper.<init>(BookKeeper.java:344) [bookkeeper-server-4.15.0-SNAPSHOT.jar:4.15.0-SNAPSHOT]
   	at use.BookeeperOpt.main(BookeeperOpt.java:24) [classes/:?]
   
   
   
   
   
   
   
   
   
   


-- 
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: issues-unsubscribe@bookkeeper.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [bookkeeper] mingyifei commented on issue #2929: No network topology script is found when using script based DNS resolver.

Posted by GitBox <gi...@apache.org>.
mingyifei commented on issue #2929:
URL: https://github.com/apache/bookkeeper/issues/2929#issuecomment-986743864


   what should i do?


-- 
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: issues-unsubscribe@bookkeeper.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [bookkeeper] mingyifei removed a comment on issue #2929: No network topology script is found when using script based DNS resolver.

Posted by GitBox <gi...@apache.org>.
mingyifei removed a comment on issue #2929:
URL: https://github.com/apache/bookkeeper/issues/2929#issuecomment-986743438


   ![image](https://user-images.githubusercontent.com/38995810/144848483-558ac7b5-5c0d-4d8d-a366-314a4a676316.png)
   


-- 
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: issues-unsubscribe@bookkeeper.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [bookkeeper] mingyifei commented on issue #2929: No network topology script is found when using script based DNS resolver.

Posted by GitBox <gi...@apache.org>.
mingyifei commented on issue #2929:
URL: https://github.com/apache/bookkeeper/issues/2929#issuecomment-989580848


   > It means there is no network topology script and it will going to use the default subnet resolver. I think it's just a warning and it shouldn't impact your usage.
   
   ok. I commented validateConf.


-- 
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: issues-unsubscribe@bookkeeper.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [bookkeeper] mingyifei commented on issue #2929: No network topology script is found when using script based DNS resolver.

Posted by GitBox <gi...@apache.org>.
mingyifei commented on issue #2929:
URL: https://github.com/apache/bookkeeper/issues/2929#issuecomment-986743438


   ![image](https://user-images.githubusercontent.com/38995810/144848483-558ac7b5-5c0d-4d8d-a366-314a4a676316.png)
   


-- 
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: issues-unsubscribe@bookkeeper.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [bookkeeper] mingyifei closed issue #2929: No network topology script is found when using script based DNS resolver.

Posted by GitBox <gi...@apache.org>.
mingyifei closed issue #2929:
URL: https://github.com/apache/bookkeeper/issues/2929


   


-- 
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: issues-unsubscribe@bookkeeper.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [bookkeeper] zymap commented on issue #2929: No network topology script is found when using script based DNS resolver.

Posted by GitBox <gi...@apache.org>.
zymap commented on issue #2929:
URL: https://github.com/apache/bookkeeper/issues/2929#issuecomment-987913257


   It means there is no network topology script and it will going to use the default subnet resolver. I think it's just a warning and it shouldn't impact your usage.


-- 
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: issues-unsubscribe@bookkeeper.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org