-
Notifications
You must be signed in to change notification settings - Fork 288
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
Add Apache ORC build sequence with a sample reader file #1373
Conversation
…ct.. desperating /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -fno-canonical-system-headers -Wno-builtin-macro-redefined -D__DATE__="redacted" -D__TIMESTAMP__="redacted" -D__TIME__="redacted" -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 -std=c++11 -Wall -Wno-unknown-pragmas -Wconversion -g -std=c++11 -Wall -Wno-unknown-pragmas -Wconversion -O3 -DNDEBUG -fuse-ld=gold -Wl,-no-as-needed -Wl,-z,relro,-z,now -B/usr/bin -pass-exit-codes -lstdc++ -lm -rdynamic tools/src/CMakeFiles/orc-statistics.dir/FileStatistics.cc.o -o orc-statistics -Wl,-rpath,/usr/local/lib: c++/src/liborc.a c++/libs/thirdparty/libhdfspp_ep-install/lib/libhdfspp_static.a -lprotobuf -pthread c++/libs/thirdparty/zlib_ep-install/lib/libz.a c++/libs/thirdparty/snappy_ep-install/lib/libsnappy.a c++/libs/thirdparty/lz4_ep-install/lib/liblz4.a c++/libs/thirdparty/zstd_ep-install/lib/libzstd.a /usr/local/lib/libsasl2.so
Seems failing in CI 🤔 but passes locally
|
I will take a look at my local env. |
Thanks.. let me know. |
@oliverhu It looks like cmake+bazel is quite complex on macOS, and given that liborc depends on zstd, lib, snappy and several other dependencies which already exists inside tensorflow_io's third_party libraries, it may not be the best choice to use cmake+bazel. I have instead converted a bazel BUILD file for liborc. I think if you add the changes from: then build will work. |
Impressive, thanks! @yongtang gonna take a look at it today |
@yongtang updated PR |
I created a skeleton implementation PR (similar to PCAP reader) in https://github.com/oliverhu/io/pull/1/files, only made it work with the unit test asset... but some progress to check if interested. |
@oliverhu Maybe you can move https://github.com/oliverhu/io/pull/1/files here? I think a PR with unit test covered would be good enough for the first initial PR. |
@yongtang I was thinking separate them into a few PRs. (1) add build scripts (2) add basic functionalities with basic unit tests (similar to pcap) (3) add similar support similar to JSON IO (4) tutorials and documentations (5) other necessary features. what do you think? |
@oliverhu The plan sounds good to me. The only issue with current PR is the file |
@yongtang sg, updated |
CICD error is not related:
|
@oliverhu The CI error seems to be transient. Can you try bump the commit to trigger again? |
Sure, triggered a build |
@yongtang all tests passed except for a windows check 🤔 do we want to trigger the build again? |
@oliverhu The windows failure seems to be caused by different versions of protobuf (or grpc) as one is from tensorflow and another is from orc dependency. There might be some discrepancies that may needs to be resolved. |
I see.. seems related
How do you guys repro windows related issues or test windows build locally ? |
@yongtang updated the next PR as well: https://github.com/oliverhu/io/pull/1/files#diff-d4fa822d9271aeb06aa7aea41f509ba0bcc00e3cbbec14b300671df2375df9beR41 , the functionality should be similar to JSON IO as well (the keras model test passes). |
Build step for #1372