Coder Social home page Coder Social logo

Comments (18)

hkeebler avatar hkeebler commented on June 3, 2024 1

Working this ticket instead of 1180

from accumulo-proxy.

cjmctague avatar cjmctague commented on June 3, 2024

This can be closed.
https://github.com/apache/accumulo-proxy

from accumulo-proxy.

milleruntime avatar milleruntime commented on June 3, 2024

@cjmctague thanks!

from accumulo-proxy.

milleruntime avatar milleruntime commented on June 3, 2024

Nope sorry, this is partially done. Still some proxy tests that need to be migrated.

from accumulo-proxy.

ctubbsii avatar ctubbsii commented on June 3, 2024

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.

milleruntime avatar milleruntime commented on June 3, 2024

@cjmctague Are you interested in working on this?

from accumulo-proxy.

cjmctague avatar cjmctague commented on June 3, 2024

@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.

ctubbsii avatar ctubbsii commented on June 3, 2024

@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.

hkeebler avatar hkeebler commented on June 3, 2024

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.

hkeebler avatar hkeebler commented on June 3, 2024

@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.

hkeebler avatar hkeebler commented on June 3, 2024

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.

ctubbsii avatar ctubbsii commented on June 3, 2024

@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 avatar ctubbsii commented on June 3, 2024

@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.

hkeebler avatar hkeebler commented on June 3, 2024

@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.

hkeebler avatar hkeebler commented on June 3, 2024

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.

hkeebler avatar hkeebler commented on June 3, 2024

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.

ctubbsii avatar ctubbsii commented on June 3, 2024

Without the native libs is fine. These ITs don't need to assume the native libs exist.

from accumulo-proxy.

ctubbsii avatar ctubbsii commented on June 3, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.