Comments (18)
Working this ticket instead of 1180
from accumulo-proxy.
This can be closed.
https://github.com/apache/accumulo-proxy
from accumulo-proxy.
@cjmctague thanks!
from accumulo-proxy.
Nope sorry, this is partially done. Still some proxy tests that need to be migrated.
from accumulo-proxy.
Yeah, sorry, the new repo was created, but the old proxy code is still there. It needs to be removed, and cross-referenced with the new repo, to make sure everything made it over before it is removed. I think some tests were still dependent on the proxy, maybe some minicluster features were using it also. Not sure.
from accumulo-proxy.
@cjmctague Are you interested in working on this?
from accumulo-proxy.
@milleruntime Yea sure. So tests need to be moved over and the current tests using the proxy need to be ported to use the new repo?
from accumulo-proxy.
@milleruntime Yea sure. So tests need to be moved over and the current tests using the proxy need to be ported to use the new repo?
Tests which test the proxy should be moved over. Tests which aren't testing the proxy shouldn't be using the proxy. The proxy repo should depend on the main Accumulo repo, but not the other way around.
from accumulo-proxy.
Status: Updated accumulo-proxy project from the accumulo proxy module including version updates and was able to get it to build and test runs. Now I'll look into using the jar with the accumulo project instead of proxy module.
from accumulo-proxy.
@ctubbsii the accumulo-proxy contrib subdirectory has a create-release-candidate.sh script which does not exist in the accumulo project. I'm not sure what it does and why it is there. Just curious.
from accumulo-proxy.
Running a verify gave me this [ERROR] Exception is caught when Exception is not thrown in org.apache.accumulo.proxy.ProxyServer.updateRowsConditionally(String, Map) [org.apache.accumulo.proxy.ProxyServer] At ProxyServer.java:[line 2207] REC_CATCH_EXCEPTION
the code line is
} catch (Exception e) {
handleException(e);
return null;
}
This apparently verifies okay in the accumulo project so why is it failing here - I'm not savvy with verify. I changed the catch to the following and it verifies but not sure if you have better suggestions.
} catch (Throwable e) {
handleException(new Exception(e));
return null;
}
from accumulo-proxy.
@hkeebler I transferred this issue from apache/accumulo#454 to this accumulo-proxy project, because all the work needed to be done is in this repository.
from accumulo-proxy.
@ctubbsii the accumulo-proxy contrib subdirectory has a create-release-candidate.sh script which does not exist in the accumulo project. I'm not sure what it does and why it is there. Just curious.
Accumulo has a script to prepare release candidates for voting. Moving this to its own repository means it would be released separately. So, that file was added to make it more convenient to release new versions of the proxy.
from accumulo-proxy.
@ctubbsii I assume you want the integrated tests in this project. I'm having trouble getting them to run. They seem to hang logging into the client - ByteBuffer login = client.login("root", properties);
When trying the debug process I lose the drill down. Any ideas off the top of your head?
from accumulo-proxy.
Re-phrasing the last question. It is hanging because the Tserver cannot use the accumulo native libs. If I set cfg.setProperty(Property.TSERV_NATIVEMAP_ENABLED, "false");
then it runs. BUT I probably should figure out how to get the native lib to build in the test scenario. Looking into that now.
from accumulo-proxy.
Actually I am going with leaving the native libs as false unless someone thinks otherwise. Additionally, It ooks like the "thrift" generated code is checked into the git repository. Should it be?
from accumulo-proxy.
Without the native libs is fine. These ITs don't need to assume the native libs exist.
from accumulo-proxy.
Generally, we check in the thrift code during development, because they don't change very often, and not all developers have thrift installed (because it's a pain to build from source, and most distros don't have the right version in an RPM/DEB). We tend to regenerate them whenever we make a thrift change, or when we do releases.
I'm not sure if we check in the generated code for the proxy during normal development, or if we only build those for the tarball when we release.
from accumulo-proxy.
Related Issues (20)
- Thousands of ProxyServer updates get silently lost if BatchWriter is closed right after the last update has been sent HOT 6
- Update to use accumulo version 2.1 HOT 2
- Update to JUnit 5 HOT 2
- Bump dependency versions in pom HOT 2
- Use assertThrows() instead of try-catch in tests HOT 1
- Failing test - testCompactionStrategy()
- Failing test - ProxyDurabilityIT.testDurability()
- Failing test - testSiteConfiguration() HOT 2
- Failing test - userAuthentication() HOT 4
- Logging does not work HOT 1
- Update compaction techniques HOT 1
- Update ruby steps in README
- Add cpp example client file HOT 1
- Automate the addition of licence headers to files
- Update docker config to work with 2.1
- Example clients no longer work
- Assess usage of Kerberos
- SimpleProxyBase.testCompactionSelector should not be passing
- Missing TableOperations method implementations HOT 2
- Add test coverage for CompactionConfigurer
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from accumulo-proxy.