-
Notifications
You must be signed in to change notification settings - Fork 398
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
Bwilliams fix for topics with dot #73
Bwilliams fix for topics with dot #73
Conversation
…for separation, and fix extraction of parts
Can one of the admins verify this patch? |
Hey @bwilliams42, It looks like you haven't signed our Contributor License Agreement, yet.
You can read and sign our full Contributor License Agreement here. Once you've signed reply with Appreciation of efforts, clabot |
[clabot:check] |
@confluentinc It looks like @bwilliams42 just signed our Contributor License Agreement. 👍 Always at your service, clabot |
@bwilliams42 This looks like it might be a duplicate of #70? |
@ewencp you are correct. Seeing that thats already merged, i'll close this. Thanks. |
We took the latest master and built and ran it, we still seem to get issue if the topic has dots in its name: 2016-10-06 14:37:29,966 - ERROR [pool-1-thread-1:WorkerSinkTask@401] - Task avro-hdfs-connector-1-2 threw an uncaught and unrecoverable exception |
Looks like something simple like altering these methods in HiveMetaStore.java to replace the "." with "_" would make hive happy. |
@michaelandrepearce humm..did you try this fork? |
Sorry, no we had seen this is duplicate of #70 which got merged to truck which we tried that from the master as noted. Comment probably is better fitted to that. Saying that looking at the code in this branch also it doesn't seem to address issue that the table name cannot have dot's in it hcatalog/hive cannot have a table name with dots. (e.g. currently table name = topic name) We've supplied our current work around for this which is simply making the table name in catalog/hive be the same as the topic name but with "." replaced with "_" #137 |
If a topic name has a
.
this breaks when attempting to extract the offset. I've refactored the extract logic to first remove the extension and then split by+
which is used to create the file name.