GithubHelp home page GithubHelp logo

Comments (6)

Millione avatar Millione commented on June 11, 2024 1

Update your pilota-build to 0.9.11 version, it should be fixed already.

from volo.

Millione avatar Millione commented on June 11, 2024

It looks like your idl wrote in a wrong way. It should be:

2:NoSuchObjectException o2, 3:MetaException o3)

from volo.

Xuanwo avatar Xuanwo commented on June 11, 2024

This IDL is not written by me. It's copied from upstream https://github.com/apache/hive/blob/master/standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift

There are some updates from the upstream, let me try again.

from volo.

Millione avatar Millione commented on June 11, 2024

https://github.com/Xuanwo/hive_metastore_rs/blob/main/thrift_idl/hms.thrift#L2170

https://github.com/apache/hive/blob/master/standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift#L3184

It looks different:)

from volo.

Xuanwo avatar Xuanwo commented on June 11, 2024

Failed with updated thrift files: https://github.com/Xuanwo/hive_metastore_rs/blob/45038dfd00a999d34f43c223390b9c9429dbfb38/thrift_idl/hms.thrift

(we don't need fb303 support, so removed. No other changes.)

error: failed to run custom build command for `hive_metastore v0.0.1 (/home/xuanwo/Code/xuanwo/hive_metastore_rs)`

Caused by:
  process didn't exit successfully: `/home/xuanwo/Code/xuanwo/hive_metastore_rs/target/debug/build/hive_metastore-a5b404aa2f23a9f2/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-changed=/home/xuanwo/Code/xuanwo/hive_metastore_rs/thrift_idl/hms.thrift

  --- stderr
  thread 'main' panicked at /home/xuanwo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pilota-build-0.9.10/src/middle/context.rs:781:18:
  unexpected literal Int(1) with ty U8
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

from volo.

Xuanwo avatar Xuanwo commented on June 11, 2024

Update your pilota-build to 0.9.11 version, it should be fixed already.

Perfect!

from volo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.