Skip to content

Conversation

@morningman
Copy link
Contributor

Proposed changes

This is because the report version is not set correctly in the tablet report request.

Also modify the download url of libevent Fix #4689 Fix #4691

Types of changes

  • Bugfix (non-breaking change which fixes an issue)

Checklist

@morningman morningman added the kind/fix Categorizes issue or PR as related to a bug. label Sep 30, 2020
@morningman morningman self-assigned this Sep 30, 2020
Also modify the download url of libevent
yangzhg
yangzhg previously approved these changes Sep 30, 2020
Copy link
Member

@yangzhg yangzhg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Copy link
Member

@yangzhg yangzhg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@morningman morningman merged commit ed09ea9 into apache:master Oct 9, 2020
@Semon120
Copy link

Semon120 commented Feb 3, 2021

@morningman Hello,I have download the libevent from this url:https://doris-thirdparty-repo.bj.bcebos.com/thirdparty/libevent-20180622-24236aed01798303745470e6c498bf606e88724a.zip.But when I run build.sh,it seems when compile this 'be/src/http/ev_http_server.cpp' file,it occurs an error: "../src/http/ev_http/ev_http_server.cpp:252:69: error: 'evhttp_request_set_on_free_cb' was not decalred in this scope".It seems like that libevent do not have definition of function 'evhttp_request_set_on_free_cb'.Then I read the source code of libevent,and I do not find this function definition in file 'event2/http.h'.So ,did I get wrong version of libevent(but I did download from that url above)?My Doris version is 0.13.15-release. Do you have any idea?Thanks.

@Semon120
Copy link

Semon120 commented Feb 4, 2021

@morningman Hello,I have download the libevent from this url:https://doris-thirdparty-repo.bj.bcebos.com/thirdparty/libevent-20180622-24236aed01798303745470e6c498bf606e88724a.zip.But when I run build.sh,it seems when compile this 'be/src/http/ev_http_server.cpp' file,it occurs an error: "../src/http/ev_http/ev_http_server.cpp:252:69: error: 'evhttp_request_set_on_free_cb' was not decalred in this scope".It seems like that libevent do not have definition of function 'evhttp_request_set_on_free_cb'.Then I read the source code of libevent,and I do not find this function definition in file 'event2/http.h'.So ,did I get wrong version of libevent(but I did download from that url above)?My Doris version is 0.13.15-release. Do you have any idea?Thanks.

It seems that evhttp free callback was added
in this libevent/libevent@63a6193 commit. But it was not merge to master.So,please make sure this source https://doris-thirdparty-repo.bj.bcebos.com/thirdparty/libevent-20180622-24236aed01798303745470e6c498bf606e88724a.zip contain this commit.

@morningman
Copy link
Contributor Author

@morningman Hello,I have download the libevent from this url:https://doris-thirdparty-repo.bj.bcebos.com/thirdparty/libevent-20180622-24236aed01798303745470e6c498bf606e88724a.zip.But when I run build.sh,it seems when compile this 'be/src/http/ev_http_server.cpp' file,it occurs an error: "../src/http/ev_http/ev_http_server.cpp:252:69: error: 'evhttp_request_set_on_free_cb' was not decalred in this scope".It seems like that libevent do not have definition of function 'evhttp_request_set_on_free_cb'.Then I read the source code of libevent,and I do not find this function definition in file 'event2/http.h'.So ,did I get wrong version of libevent(but I did download from that url above)?My Doris version is 0.13.15-release. Do you have any idea?Thanks.

It seems that evhttp free callback was added
in this libevent/libevent@63a6193 commit. But it was not merge to master.So,please make sure this source https://doris-thirdparty-repo.bj.bcebos.com/thirdparty/libevent-20180622-24236aed01798303745470e6c498bf606e88724a.zip contain this commit.

We had a patch here: thirdparty/patches/libevent_on_free_cb.patch
When you run sh build-thirdparty.sh, this patch should be applied automatically.

@Semon120
Copy link

Semon120 commented Feb 4, 2021

@morningman Hello,I have download the libevent from this url:https://doris-thirdparty-repo.bj.bcebos.com/thirdparty/libevent-20180622-24236aed01798303745470e6c498bf606e88724a.zip.But when I run build.sh,it seems when compile this 'be/src/http/ev_http_server.cpp' file,it occurs an error: "../src/http/ev_http/ev_http_server.cpp:252:69: error: 'evhttp_request_set_on_free_cb' was not decalred in this scope".It seems like that libevent do not have definition of function 'evhttp_request_set_on_free_cb'.Then I read the source code of libevent,and I do not find this function definition in file 'event2/http.h'.So ,did I get wrong version of libevent(but I did download from that url above)?My Doris version is 0.13.15-release. Do you have any idea?Thanks.

It seems that evhttp free callback was added
in this libevent/libevent@63a6193 commit. But it was not merge to master.So,please make sure this source https://doris-thirdparty-repo.bj.bcebos.com/thirdparty/libevent-20180622-24236aed01798303745470e6c498bf606e88724a.zip contain this commit.

We had a patch here: thirdparty/patches/libevent_on_free_cb.patch
When you run sh build-thirdparty.sh, this patch should be applied automatically.

Oh!!!Thanks!

@yangzhg yangzhg mentioned this pull request Feb 9, 2021
yiguolei pushed a commit to yiguolei/incubator-doris that referenced this pull request Sep 28, 2025
…no prior authentication was performed. (apache#4695)

```
2025-09-22 16:22:25,246 ERROR (mysql-nio-pool-54|211) [TSaslTransport.open():315] SASL negotiation failure
javax.security.sasl.SaslException: GSS initiate failed
	at com.sun.security.sasl.gsskerb.GssKrb5Client.evaluateChallenge(GssKrb5Client.java:228) ~[jdk.security.jgss:?]
	at shade.doris.hive.org.apache.thrift.transport.TSaslClientTransport.handleSaslStartMessage(TSaslClientTransport.java:94) ~[hive-catalog-shade-2.1.4-olap-juicefs-SNAPSHOT.jar:2.1.4-olap-juicefs-SNAPSHOT]
	at shade.doris.hive.org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:271) ~[hive-catalog-shade-2.1.4-olap-juicefs-SNAPSHOT.jar:2.1.4-olap-juicefs-SNAPSHOT]
	at shade.doris.hive.org.apache.thrift.transport.TSaslClientTransport.open(TSaslClientTransport.java:37) ~[hive-catalog-shade-2.1.4-olap-juicefs-SNAPSHOT.jar:2.1.4-olap-juicefs-SNAPSHOT]
	at org.apache.hadoop.hive.metastore.security.TUGIAssumingTransport$1.run(TUGIAssumingTransport.java:51) ~[hive-catalog-shade-2.1.4-olap-juicefs-SNAPSHOT.jar:2.1.4-olap-juicefs-SNAPSHOT]
	at org.apache.hadoop.hive.metastore.security.TUGIAssumingTransport$1.run(TUGIAssumingTransport.java:48) ~[hive-catalog-shade-2.1.4-olap-juicefs-SNAPSHOT.jar:2.1.4-olap-juicefs-SNAPSHOT]
	at java.security.AccessController.doPrivileged(AccessController.java:712) ~[?:?]
	at javax.security.auth.Subject.doAs(Subject.java:439) ~[?:?]
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1899) ~[hadoop-common-3.3.6.jar:?]
	at org.apache.hadoop.hive.metastore.security.TUGIAssumingTransport.open(TUGIAssumingTransport.java:48) ~[hive-catalog-shade-2.1.4-olap-juicefs-SNAPSHOT.jar:2.1.4-olap-juicefs-SNAPSHOT]
	at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.open(HiveMetaStoreClient.java:730) ~[doris-fe.jar:2.1.4-olap-juicefs-SNAPSHOT]

```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/fix Categorizes issue or PR as related to a bug.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Tablet report from BE alway be out of date libevent 下载失败 403错误 The thirdparty repository url is broken.

4 participants