You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/03/04 21:42:07 UTC

[GitHub] [arrow-rs] alamb edited a comment on issue #1398: Integration Test is failing on master branch

alamb edited a comment on issue #1398:
URL: https://github.com/apache/arrow-rs/issues/1398#issuecomment-1059551674


   FYI @jorgecarleitao 
   
   I have been able to reproduce this locally.
   
   Here are some notes I have in case that is helpful:
   
   
   ```
   # check out arrow
   # install archery:
   cd arrow
   pip install -e dev/archery[docker]
   # link arrow-rs to arrow/rust
   ln -s ../arrow-rs rust
   ```
   
   ```
   # build cpp binaries
   cd arrow/cpp
   mkdir build
   cd  build
   cmake  -DARROW_BUILD_INTEGRATION=ON -DARROW_FLIGHT=ON --preset ninja-debug-minimal ..
   cd ..
   ninja
   ```
   
   Then
   ```
   # build rust:
   cd ../arrow-rs
   cargo build --all
   ```
   
   # now from arrow directory run the tests:
   ```
   archery integration --with-cpp=true --with-rust=true
   ```
   Run individual test:
   
   ```
   (arrow_dev) alamb@MacBook-Pro-2:~/Software/arrow/cpp/build$ /Users/alamb/Software/arrow/cpp/build/debug/flight-test-integration-server -port 49153
   
   Run in rust:
   /Users/alamb/Software/arrow/rust/target/debug/flight-test-integration-client --host localhost --port=49153 --path /var/folders/s3/h5hgj43j0bv83shtmz_t_w400000gn/T/arrow-integration-v7xz5285/generated_dictionary_unsigned.json
   
   Repro with this:
   cd /Users/alamb/Software/arrow-rs && RUST_LOG=debug RUST_BACKTRACE=1 CARGO_TARGET_DIR=/Users/alamb/Software/df-target cargo run --bin flight-test-integration-client -- --host localhost --port=49153 --path /var/folders/s3/h5hgj43j0bv83shtmz_t_w400000gn/T/arrow-integration-v7xz5285/generated_dictionary_unsigned.json
   
   Results in this
   E0304 16:33:43.055262000 123145352572928 hpack_parser.cc:1240]         Error parsing metadata: error=invalid value key=:scheme value=grpc
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org