[ 
https://issues.apache.org/jira/browse/BOOKKEEPER-197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13243044#comment-13243044
 ] 

Sijie Guo commented on BOOKKEEPER-197:
--------------------------------------

> My use-case is connecting to a hedwig server where zookeeper is running on a 
> remote machine. The current setup doesn't pick up the zookeeper location.

I think the bookkeeper settings are missed in default hedwig server 
configuration file. so the bookkeeper client could not pick up the right 
zookeeper location. I would try to add them in the default hedwig server 
configuration file.

> Another thing that could be done is have a separate configuration file 
> (HEDWIG_CONSOLE_CONF perhaps) altogether and pass that as an option in the 
> shell script bin/hedwig.

it is a good point. how about changing HedwigConsole to use HEDWIG_CONSOLE_CONF 
variable (by default it points to hedwig server conf)? doing it in this way, ur 
are flexible to override the variable to point either file.

I will try to add a patch about how changing it. You can take a look at it, 
whether it meets your requirements :)

                
> HedwigConsole uses the same file to load bookkeeper client config and hub 
> server config
> ---------------------------------------------------------------------------------------
>
>                 Key: BOOKKEEPER-197
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-197
>             Project: Bookkeeper
>          Issue Type: Bug
>          Components: hedwig-server
>    Affects Versions: 4.1.0
>            Reporter: Aniruddha
>            Priority: Minor
>
> In the current implementation of HedwigConsole.java, The same server-cfg file 
> (default = hedwig-server/conf/hw_server.conf) is used to load both 
> hubServerConf and bkClientConf. This seems incorrect because both have 
> different option names. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to