You are viewing a plain text version of this content. The canonical link for it is here.
Posted to devnull@infra.apache.org by "milleruntime (GitHub)" <gi...@apache.org> on 2018/08/21 15:50:13 UTC
[GitHub] [accumulo] milleruntime opened pull request #609: Pass
ServerContext to RFile. Closes #584
* This allows init of crypto in tserver, eliminating static instance in
CryptoServiceFactory
[ Full content available at: https://github.com/apache/accumulo/pull/609 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org
[GitHub] [accumulo] milleruntime commented on pull request #609: Pass
ServerContext to RFile. Closes #584
Posted by "milleruntime (GitHub)" <gi...@apache.org>.
The impl of RFile.withTableProperties() will just take whatever key values are passed and put them in a map. It is almost as if this method should be renamed to "withProperties" since we allow more than just table properties. Since it is already released as public API maybe we can just elaborate more in the javadoc. I will create a follow on issue to investigate this.
I don't think there is anything I can do for this PR though since we don't want to put the crypto stuff in the public API while its still experimental.
[ Full content available at: https://github.com/apache/accumulo/pull/609 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org
[GitHub] [accumulo] milleruntime commented on pull request #609: Pass
ServerContext to RFile. Closes #584
Posted by "milleruntime (GitHub)" <gi...@apache.org>.
Nevermind, crypto won't actually work with the summaries API as-is.
[ Full content available at: https://github.com/apache/accumulo/pull/609 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org
[GitHub] [accumulo] milleruntime commented on pull request #609: Pass
ServerContext to RFile. Closes #584
Posted by "milleruntime (GitHub)" <gi...@apache.org>.
Created #611
[ Full content available at: https://github.com/apache/accumulo/pull/609 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org
[GitHub] [accumulo] mikewalch commented on pull request #609: Pass
ServerContext to RFile. Closes #584
Posted by "mikewalch (GitHub)" <gi...@apache.org>.
`acuconf` is table configuration
[ Full content available at: https://github.com/apache/accumulo/pull/609 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org
[GitHub] [accumulo] milleruntime closed pull request #609: Pass
ServerContext to RFile. Closes #584
Posted by "milleruntime (GitHub)" <gi...@apache.org>.
[ pull request closed by milleruntime ]
[ Full content available at: https://github.com/apache/accumulo/pull/609 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org
[GitHub] [accumulo] milleruntime commented on pull request #609: Pass
ServerContext to RFile. Closes #584
Posted by "milleruntime (GitHub)" <gi...@apache.org>.
Opened #612 to fix this.
[ Full content available at: https://github.com/apache/accumulo/pull/609 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org
[GitHub] [accumulo] mikewalch commented on pull request #609: Pass
ServerContext to RFile. Closes #584
Posted by "mikewalch (GitHub)" <gi...@apache.org>.
not sure if this needs to be synchronized
[ Full content available at: https://github.com/apache/accumulo/pull/609 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org
[GitHub] [accumulo] milleruntime commented on pull request #609: Pass
ServerContext to RFile. Closes #584
Posted by "milleruntime (GitHub)" <gi...@apache.org>.
I will add a cli option to pass in the crypto service.
[ Full content available at: https://github.com/apache/accumulo/pull/609 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org
[GitHub] [accumulo] mikewalch commented on pull request #609: Pass
ServerContext to RFile. Closes #584
Posted by "mikewalch (GitHub)" <gi...@apache.org>.
Not sure if tableConf can be used here. Will it have your crypto configuration?
[ Full content available at: https://github.com/apache/accumulo/pull/609 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org
[GitHub] [accumulo] mikewalch commented on pull request #609: Pass
ServerContext to RFile. Closes #584
Posted by "mikewalch (GitHub)" <gi...@apache.org>.
`acuconf` is default configuration. you should pass in your crypto configuration
[ Full content available at: https://github.com/apache/accumulo/pull/609 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org
[GitHub] [accumulo] milleruntime commented on pull request #609: Pass
ServerContext to RFile. Closes #584
Posted by "milleruntime (GitHub)" <gi...@apache.org>.
We are in the same boat here as RFileScanner
[ Full content available at: https://github.com/apache/accumulo/pull/609 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org
[GitHub] [accumulo] milleruntime commented on pull request #609: Pass
ServerContext to RFile. Closes #584
Posted by "milleruntime (GitHub)" <gi...@apache.org>.
I wasn't sure. The scenario I was thinking was when something tries to get the CryptoService before tserver was started but I don't think making this method sychronized would help with that anyway. I will remove it.
[ Full content available at: https://github.com/apache/accumulo/pull/609 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org
[GitHub] [accumulo] milleruntime commented on pull request #609: Pass
ServerContext to RFile. Closes #584
Posted by "milleruntime (GitHub)" <gi...@apache.org>.
Same situation as RFileScanner but here we could rename the internal method no problem. For consistency though, I will keep it to match the public method name until the above issue is resolved.
[ Full content available at: https://github.com/apache/accumulo/pull/609 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org
[GitHub] [accumulo] mikewalch commented on pull request #609: Pass
ServerContext to RFile. Closes #584
Posted by "mikewalch (GitHub)" <gi...@apache.org>.
Nice to remove this
[ Full content available at: https://github.com/apache/accumulo/pull/609 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org
[GitHub] [accumulo] mikewalch commented on pull request #609: Pass
ServerContext to RFile. Closes #584
Posted by "mikewalch (GitHub)" <gi...@apache.org>.
aconf is default configuration
[ Full content available at: https://github.com/apache/accumulo/pull/609 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org