Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TonyClient and startTHS.sh should read tony-site.xml config file from TONY_CONF_DIR #97

Closed
erwa opened this issue Nov 20, 2018 · 1 comment
Assignees

Comments

@erwa
Copy link
Contributor

erwa commented Nov 20, 2018

TonY clients and the TonY History Server need to use the same value for the location of the history files. The client needs to tell the TonY AM to write to that location and the history server needs to read from that location.

We should define this location in a tony-site.xml file and expect it to be in the directory pointed to by the environment variable TONY_CONF_DIR, which can be set before running TonY clients or the history server.

See #81 (comment) for more context.

@pdtran3k6
Copy link
Contributor

With that being said, my assumption would be that on both client host and history server host, there would be an environment variable TONY_CONF_DIR that points to a tony-site.xml with respect to that host. (The client host doesn't need other history config like keytab, principal, etc., but if that increases the maintenance overhead of tony-site.xml, then we could make them the same for now).

@erwa erwa closed this as completed Dec 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants