-
Notifications
You must be signed in to change notification settings - Fork 21
Accumulo Proxy build with Accumulo 2.1.3 #84
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
Changes from all commits
d02bb6c
6ddfdcd
08512f0
32bdf14
5011608
0ffb211
6432df2
81c6633
521df74
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -222,6 +222,7 @@ public ProxyServer(Properties props) { | |
| } | ||
|
|
||
| protected AccumuloClient getClient(String sharedSecret) throws Exception { | ||
|
|
||
| if (sharedSecret.equals(this.sharedSecret)) { | ||
| return client; | ||
| } else { | ||
|
|
@@ -2118,7 +2119,9 @@ public String createConditionalWriter(String sharedSecret, String tableName, | |
| try { | ||
| ConditionalWriterConfig cwc = new ConditionalWriterConfig(); | ||
| if (options.getMaxMemory() != 0) { | ||
| // TODO | ||
| // TODO - This was left blank, I'm not sure why it's here. For now, it will log the max | ||
| // memory | ||
|
Comment on lines
+2122
to
+2123
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looking at ConditionalWriterConfig, there is no variable to assign for maxMemory. I'm not sure why that is in the proxy.thrift as I don't see a maxMemory value in accumulo at all. This can probably be removed in a follow up PR that modifies the proxy.thrift code and regenerates the thrift generated java code. |
||
| logger.info("Max memory: " + options.getMaxMemory()); | ||
| } | ||
| if (options.isSetThreads() && options.getThreads() != 0) { | ||
| cwc.setMaxWriteThreads(options.getThreads()); | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggest creating an issue ticket for adding a metrics Info object.