Fix build issue with KafkaDataset#17418
Conversation
This fix tries to address the issue raised in 17210 where error of `NotFoundError: Op type not registered 'KafkaDataset' in binary.` returned from kafka ops. The issue was that the inclusion of kafka ops was removed due to the conflict merge from the other PR. This fix fixes the issue. This fix fixes 17210. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
due to the changes in some other places. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
tensorflow/core/kernels/BUILD
Outdated
| deps = [":lookup"], | ||
| ) | ||
|
|
||
| cc_library( |
There was a problem hiding this comment.
This new library shouldn't be necessary. The dataset.h header is now in tensorflow/core/framework and can be included via the //tensorflow/core:framework_headers_lib target.
You might want to check out the targets in //tensorflow/contrib/data/... that build dataset implementations as custom op libraries. This has changed in the last month or so, as we've refactored things to make separate compilation possible for dataset implementations.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
mrry
left a comment
There was a problem hiding this comment.
Neat! Thanks for making those changes. LGTM.
|
Thanks @mrry for the help 👍 . Some of the tests are failing. Seems to be some difference between clang and gcc (it runs fine on my local machine with gcc + ubuntu 16.04). I am looking into the issue now. |
eddcba0 to
3f19308
Compare
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
3f19308 to
7bd4881
Compare
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
6699684 to
a3e4a55
Compare
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
a3e4a55 to
c1eaba4
Compare
|
The reason of the previous test failure was that, All tests passed now 🎉 |
* Fix build issue with KafkaDataset This fix tries to address the issue raised in 17210 where error of `NotFoundError: Op type not registered 'KafkaDataset' in binary.` returned from kafka ops. The issue was that the inclusion of kafka ops was removed due to the conflict merge from the other PR. This fix fixes the issue. This fix fixes 17210. Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Change `import readers.Dataset` to `import dataset_ops.Dataset`, due to the changes in some other places. Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Fix library dependency issues in bazel Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Add dependency to bazel rules Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Add license to lib and pip package Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Remove unneeded changes in bazel Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Address review feedback Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Fix sanity check Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Add zlib dependency and include path Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Add copts in bazel to address the discrepancy in clang and gcc Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This fix tries to address the issue raised in #17210 where error of
NotFoundError: Op type not registered 'KafkaDataset' in binary.returned from kafka ops.The issue was that the inclusion of kafka ops was removed due to the conflict merge from the other PR. This fix fixes the issue.
This fix fixes #17210.
Signed-off-by: Yong Tang yong.tang.github@outlook.com