-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Regression 0.9.2 -> 0.10.1 in segments merging #4977
Comments
These are full logs from server https://gist.github.com/l15k4/ff4e61376bf5367e707ddfd1fc15c287 |
I compared the logs at 0.9.2 and 0.10.1 and they are identical ... the Could this be caused by different hadoop-client versions |
The problem here is, that the
But I'm getting this now :
|
Adding
Doesn't help either, it is not picked up... |
For this S3N configuration:
I think you'd need to set "fs.s3n.awsAccessKeyId" instead of "fs.s3n.access.key" and "fs.s3n.awsSecretAccessKey" instead of "fs.s3n.secret.key" |
Thanks @jon-wei, I will try it out. But why doesn't it pick up the |
@jon-wei it works, although it is not grabbed from the |
@l15k4 Cool, good to hear that's working for you at least. Thanks for the report on the tuningConfig issue. To confirm, there is no remote hadoop cluster in your use case? I remember testing 0.10.1 against several hadoop clusters, using S3 deep storage, and didn't see this issue, but don't think I've tried a case where there was no hadoop cluster, I wonder if something changed there. |
@jon-wei No hadoop cluster, no. We use s3 only + built-in druid hadoop for hadoop-indexing-tasks ... |
Sorry I miss clicked and closed the issue ... |
+1 observing this error |
I experience it as well. |
To sum up the problem, looks like the above configuration works only with |
@moscowart thanks for the summary -- sounds like the explanation of why some people have this issue and others don't is that some people are in aws v4 regions and some are not. Has anyone in this thread had a chance to try recompiling Druid with adjusted versions of aws-java-sdk and/or Hadoop? Hadoop 2.8.2 is out now, and it is built against aws-java-sdk 1.10.6 so it may link better with the 1.10.77 that Druid is built with. If this works, then upgrading Druid to Hadoop 2.8.2 could be a viable option. |
@gianm I'm going to try as I have a strict requirement having bucket in v4 region (Frankfurt). I'll let you know once I have any results. Btw did it work in previous versions? Like 0.9.2? |
So I was not able to update Hadoop in Druid due to resources constraint. I found a workaround, using Hadoop 2.7.3 from HDP 2.5.3 distribution. It is patched with aws-java-sdk-*:1.10.6 and works perfectly with it. So I replaced hadoop and aws jars and was able to use S3 v4 as a deep storage. I know it's a dirty hack but this is all I can do now. |
I am facing the same issue with the latest release of druid-0.11 as well. |
I was able to get it working by doing the following:
Following error was gone:
The code change can be seen here - https://github.com/amalakar/druid/pull/1/files |
@gianm I compiled druid 0.11.0 against hadoop 2.8.3 and both hdfs deep storage and hadoop indexing (local) finally seem to work fine with s3a using a v4 endpoint. Here are my changes: 0.11.0...hoesler:feature/hadoop2.8 Do you think that it is feasible to upgrade hadoop dependencies in 0.12.0? Do you want me to send a pull request? If so, which branch should I use? |
This issue has been marked as stale due to 280 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@druid.apache.org list. Thank you for your contributions. |
This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time. |
I'm now sure that this a bug :
https://groups.google.com/forum/#!topic/druid-user/2nq9KZlYdt8
There is no other way for me to pass the AWS credentials so we cannot upgrade to druid 0.10.1.
The text was updated successfully, but these errors were encountered: