-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Description
I have compiled the glean from source code and built the Java Indexer. But when I index the Java proejct, it reports error:
*** Exception: basic-thriftservice does not support Tier
CallStack (from HasCallStack):
error, called at glean/util/Glean/Impl/ThriftService.hs:98:25 in glean-0.1.0.0-l-util-63572f97e9c1b8d79e35c8d87fea30a67c6904aa6152962ada96215ef7135341:Glean.Impl.ThriftService
Here is my steps:
- build the Glean (Everything works fine)
-- Installing: /root/.hsthrift/lib/cmake/rocksdb/RocksDBConfig.cmake
-- Installing: /root/.hsthrift/lib/cmake/rocksdb/RocksDBConfigVersion.cmake
-- Installing: /root/.hsthrift/lib/pkgconfig/rocksdb.pc
export LD_LIBRARY_PATH=/root/.hsthrift/lib
export PKG_CONFIG_PATH=/root/.hsthrift/lib/pkgconfig
export PATH=$PATH:/root/.hsthrift/bin
- run the Java indexer
@#cabal build exe:glean
Up to date
As above shown, the java indexer is works good.
- index the Java project(change to the project dir and run the following command):
@#glean index java-lsif ./ --db wdappser/wdappserInstance
glean: basic-thriftservice does not support Tier
CallStack (from HasCallStack):
error, called at glean/util/Glean/Impl/ThriftService.hs:98:25 in glean-0.1.0.0-l-util-63572f97e9c1b8d79e35c8d87fea30a67c6904aa6152962ada96215ef7135341:Glean.Impl.ThriftServiceor index in the shell:
@#glean shell
Glean Shell, built on 2025-07-24 11:05:44.998540937 UTC, from rev <unknown>
Using service glean.query.prod
type :help for help.
> :index java-lsif /home/www/wdappserver
*** Exception: basic-thriftservice does not support Tier
CallStack (from HasCallStack):
error, called at glean/util/Glean/Impl/ThriftService.hs:98:25 in glean-0.1.0.0-l-util-63572f97e9c1b8d79e35c8d87fea30a67c6904aa6152962ada96215ef7135341:Glean.Impl.ThriftService
>I had rebuilt the Glean but it still not works. Is there any solution or suguestion to solve this? Or why does it reports "Exception: basic-thriftservice does not support Tier"? Any help would be greatly appreciated!
bradymadden97
Metadata
Metadata
Assignees
Labels
No labels