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
[SPARK-27525][SQL] Upgrade commons-httpclient to 3.1 when interacting with different versions of the HiveMetastoreClient #24423
Conversation
…f the HiveMetastoreClient
Test build #104773 has finished for PR 24423 at commit
|
Hm, you're saying this makes something not work or is that a typo? |
Test build #104831 has finished for PR 24423 at commit
|
Can you help me understand this more... shouldn't we have an entry in pom.xml to manage this version? |
Yes. 3.0.1 exist and I can't reproduce this issue on my local machine. May be it's our jenkins issue. I have tested it a few times and only once ran successfully at amp-jenkins-worker-03. |
Hm, @shaneknapp is it possible the Ivy / Maven cache is corrupted on some workers? that's the only reason that comes to mind that would explain why it thinks it can't get the dependency. Is it possible to delete them? ~/.ivy2/cache and ~/.m2/repository? |
Please check these workers: amp-jenkins-worker-06, amp-jenkins-worker-04. |
you caught me w/a little bit of downtime @ the spark summit. i'll do this now. |
marked these workers as offline and WOW! the .m2/respository dirs are massive and taking ~minutes to delete. :) |
45 minutes later, all the repos have been wiped and the workers are back up. |
test this please |
since the build system is absolutely DESERTED right now, i marked all of the other workers offline and will launch a build of this PR on either -04 or -06. |
test this please |
phew. i was starting to panic and wondering why this wasn't being triggered. :) anyways, this is building on -06. now we wait! |
argh... i may have jumped the gun on this. the ivy cache dirs are based on the executor that the build is running on for each particular worker, not in if this fails again, i'll try and get to wiping these caches later tonite, but since i'm working at the summit, most likely tomorrow. |
Sorry @shaneknapp please verify this issue on this PR: #24044. It only happens on hadoop-3.2. |
Test build #104912 has finished for PR 24423 at commit
|
@shaneknapp |
ill do my best today to get the workers fixed... the main jenkins process is misbehaving (again), and i'm also dealing w/a major sewage problem at my house right now. |
wiping these dirs on -01, -02 and -05 now. |
...and done. |
@shaneknapp Thank you |
What changes were proposed in this pull request?
Our jenkins always failed download
commons-httpclient#commons-httpclient;3.0.1
when testing with hadoop-3.2:https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/104768/testReport/org.apache.spark.sql.hive.execution/Hive_2_1_DDLSuite/SPARK_21617__ALTER_TABLE_for_non_compatible_DataSource_tables
The root cause is it evicte
commons-httpclient#commons-httpclient;3.0.1
when testing with hadoop-2.7, but hadoop-3.2 didn't(Hadoop removescommons-httpclient
since HADOOP-13382(Hadoop 2.8.0)):This pr upgrade
commons-httpclient#commons-httpclient;3.0.1
tocommons-httpclient#commons-httpclient;3.1
when interacting with different versions of the HiveMetastoreClient to fix this issue.How was this patch tested?
Exist unit tests and manual tests