-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Update to Phoenix 5.2.0 and HBase 2.5 #21569
Conversation
718bade
to
ab0c5fa
Compare
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.
LGTM % comment
@kokosing I tried what that test does locally with the PR applied, also tried many more rows with parallel writers, etc. It all works here. |
Maybe the new version requires more resources that CI runner provides? |
@kokosing doubt that, it stales on my local machine randomly as wel |
Closing. I won't invest more time to this. There is no interest in the community to keep this connector alive. |
@virajjasani , @stoty, is that so? You guys don't care? |
We have meeting tomorrow, @stoty and I would like to join https://github.com/trinodb/trino/wiki/Contributor-meetings#trino-contributor-call-24-apr-2024 |
We can definitely help with test failures too, just need a bit more context. @lhofhansl @wendigo how are you running all Phoenix tests locally? Let me also run and confirm how things look. |
I am going to run |
@lhofhansl do we run
I can debug this further, but not sure about the location of the logs. For now, i am just trying to get the test running (without upgrading Phoenix to 5.2.0) on IDE. |
Minicluster startup failures are usually caused by using HBase artifacts not built for Hadoop 3. |
Oh, it might all work for me because I happen to have an HBase version built against Hadoop 3 in my local Maven repo. @wendigo Have some patience with us, I know this is frustrating. |
On the product test environment I can see an exception that I think is related to a test being stuck @stoty @lhofhansl:
|
ab0c5fa
to
3e460fe
Compare
Yep, startup issue. Added a wait condition and it passed for me locally couple of times. |
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.
This is awesome! Looks good.
Should we potentially update the docs to require Pheonix 5.2.0 as suggested in the sync meeting by @virajjasani and @stoty ?
1eda92e
to
787aae2
Compare
(just rebased) |
Just to clarify @kokosing - Trino and this PR here is using docker containers. The Hbase and Phoenix project are not .. so if anything they can look at that on their end. This PR basically uncovered something new for them. So a successful collaboration.. |
I think the suggestion to merge this and improve aftewards is a good idea. The PR is already getting us a huge improvement of the prior state. Merging it potentially also allows others to send separate smaller PRs that will be faster to review and merge. |
@mosabua right now these tests are flaky so there is no point in merging broken tests |
If there is no workaround we would need to wait for the next HBase release basically. |
I think the proposal here is to disable PhoenixTest for now and merge this, and come back later after next HBase patch release and re-enable the test. |
787aae2
to
4ec0338
Compare
98740eb
to
5dcbd67
Compare
@vincentpoon Nice one. You still have it! |
I'm fine with having only ConnectorTest but not PT for a time being @mosabua. Let's merge it and move forward. |
@martint for a final approval |
Agreed. Let's do that. |
Thank you very much for the hugely successful collaboration @wendigo @lhofhansl @virajjasani @stoty @vincentpoon ! |
@lhofhansl @vincentpoon @stoty why is the |
Hmm. However, if you want to use your own Hbase and Hadoop, you should use the phoenix-mapreduce-byo-shaded-hbase artifact. |
If you are using unshaded hbase JARs, then use phoenix-server (the only difference between phoenix-server and phoenix-mapreduce-byo-shaded-hbase is whether it uses shaded or standard Protobuf 2.5.0. ) |
I've just checked, and I cannot see phoenix-client-lite-hbase-2.5 depending on anything. Do you mean that it has dependencies shaded in ? |
@stoty yes |
No description provided.